{"id":19230506,"url":"https://github.com/ctron/hide","last_synced_at":"2026-01-29T22:01:54.151Z","repository":{"id":208248212,"uuid":"721199095","full_name":"ctron/hide","owner":"ctron","description":"Hide credentials from debug output","archived":false,"fork":false,"pushed_at":"2024-05-21T12:07:40.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T10:16:53.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-20T14:59:21.000Z","updated_at":"2024-05-21T12:07:31.000Z","dependencies_parsed_at":"2024-11-09T15:42:26.607Z","dependency_job_id":"0873b00e-8224-4c8d-bb71-0b9ffdf17d43","html_url":"https://github.com/ctron/hide","commit_stats":null,"previous_names":["ctron/hide"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ctron/hide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctron","download_url":"https://codeload.github.com/ctron/hide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fhide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28886881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T15:39:38.137Z","updated_at":"2026-01-29T22:01:54.135Z","avatar_url":"https://github.com/ctron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hide (from debug)\n\n[![crates.io](https://img.shields.io/crates/v/hide.svg)](https://crates.io/crates/hide)\n[![docs.rs](https://docs.rs/hide/badge.svg)](https://docs.rs/hide)\n\nHide secrets from logs.\n\n## Seriously?\n\nYou might ask: \"A crate, for a simple feature like this?\". Yes, maybe this type will be shared between crates. Compared\nto multiple different types in different crates.\n\n## Add to your project\n\n```tom\nhide = \"0.1\n```\n\n## Usage\n\n```rust\nuse hide::Hide;\n\n#[derive(Debug)]\npub struct MyStruct {\n    username: String,\n    password: Hide\u003cString\u003e,\n}\n\nfn example1() {\n    let data = MyStruct {\n        username: \"user\".to_string(),\n        password: \"password\".to_string().into(),\n    };\n    println!(\"{data:#?}\");\n}\n```\n\nWill give you:\n\n```\nMyStruct {\n    username: \"user\",\n    password: ***,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fhide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctron%2Fhide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fhide/lists"}