{"id":46537472,"url":"https://github.com/guibranco/viacep-sdk-rs","last_synced_at":"2026-03-16T14:14:14.923Z","repository":{"id":57671650,"uuid":"236539303","full_name":"guibranco/viacep-sdk-rs","owner":"guibranco","description":"🇧🇷 📍 ViaCEP client wrapper for Rust projects","archived":false,"fork":false,"pushed_at":"2026-03-07T01:57:18.000Z","size":154,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-07T02:03:59.094Z","etag":null,"topics":["address","api","cep","code","correios","fazenda","gia","hacktoberfest","ibge","mf","postal","postalcode","viacep","webservice","ws","zip","zipcode"],"latest_commit_sha":null,"homepage":"http://guilherme.stracini.com.br/viacep-rs/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guibranco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-27T16:42:51.000Z","updated_at":"2026-03-06T21:33:15.000Z","dependencies_parsed_at":"2026-03-07T02:04:02.359Z","dependency_job_id":null,"html_url":"https://github.com/guibranco/viacep-sdk-rs","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.11363636363636365","last_synced_commit":"1cb9738f7c37da7c942f5388542a8ce8dd4f6698"},"previous_names":["guibranco/viacep-sdk-rs","guibranco/viacep-rs"],"tags_count":532,"template":false,"template_full_name":null,"purl":"pkg:github/guibranco/viacep-sdk-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guibranco%2Fviacep-sdk-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guibranco%2Fviacep-sdk-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guibranco%2Fviacep-sdk-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guibranco%2Fviacep-sdk-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guibranco","download_url":"https://codeload.github.com/guibranco/viacep-sdk-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guibranco%2Fviacep-sdk-rs/sbom","scorecard":{"id":448386,"data":{"date":"2025-08-11","repo":{"name":"github.com/guibranco/viacep-rs","commit":"43fab2c0128126769fb6b40ad8021348b3c8ed69"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/linter.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/linter.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/size-label.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/size-label.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sonar-cloud.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/sonar-cloud.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sonar-cloud.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/sonar-cloud.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sonar-cloud.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/guibranco/viacep-rs/sonar-cloud.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/linter.yml:1","Warn: no topLevel permission defined: .github/workflows/size-label.yml:1","Warn: no topLevel permission defined: .github/workflows/sonar-cloud.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/guibranco/.github/SECURITY.md:1","Info: Found linked content: github.com/guibranco/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/guibranco/.github/SECURITY.md:1","Info: Found text in security policy: github.com/guibranco/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T07:30:19.314Z","repository_id":57671650,"created_at":"2025-08-19T07:30:19.314Z","updated_at":"2025-08-19T07:30:19.314Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30279765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["address","api","cep","code","correios","fazenda","gia","hacktoberfest","ibge","mf","postal","postalcode","viacep","webservice","ws","zip","zipcode"],"created_at":"2026-03-07T00:10:40.734Z","updated_at":"2026-03-09T01:01:51.635Z","avatar_url":"https://github.com/guibranco.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ViaCEP Rust client\n\n🇧🇷📍 [ViaCEP](https://viacep.com.br) client wrapper for Rust projects.\n\n![GitHub last commit (branch)](https://img.shields.io/github/last-commit/guibranco/viacep-rs/main)\n![Crates.io](https://img.shields.io/crates/d/viacep-rs)\n[![wakatime](https://wakatime.com/badge/github/guibranco/viacep-rs.svg)](https://wakatime.com/badge/github/guibranco/viacep-rs)\n\n| Service     | Status |\n| -------     | :----: |\n| AppVeyor CI | [![Build status](https://ci.appveyor.com/api/projects/status/w1di231c9hr2tyhy/branch/main?svg=true)](https://ci.appveyor.com/project/guibranco/viacep-rs/branch/main) |\n| crates.io   | [![crates.io](https://img.shields.io/crates/v/viacep-rs.svg)](https://crates.io/crates/viacep-rs) |\n\nPure Rust bindings to the [ViaCEP API](https://viacep.com.br).\n\n## Dependencies and support\n\n`viacep-rs` is intended to work on all tier 1 supported Rust systems:\n\n- macOS\n- Linux\n- Windows\n\n## Minimum Compiler Version\n\n`viacep-rs` requires `rustc` version **1.56 or higher** (Rust 2021 edition).\n\n## Getting Started\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nviacep_rs = \"0.2.0\"\ntokio = { version = \"1\", features = [\"rt-multi-thread\", \"macros\"] }\n```\n\nThen in your `lib.rs` or `main.rs` file:\n\n```rust\nuse viacep_rs::ViaCepClient;\n\nlet client = ViaCepClient::new();\n\n// Single Zip Code lookup\nmatch client.get_zipcode(\"03177010\") {\n    Err(e) =\u003e eprintln!(\"{:?}\", e),\n    Ok(data) =\u003e {\n        let cep = data.unwrap();\n        println!(\n            \"IBGE: {} | Address: {} | Neighborhood: {} | City: {} | UF: {}\",\n            cep.ibge, cep.address, cep.neighborhood, cep.city, cep.state_initials\n        );\n    }\n}\n\n// Search by address\nmatch client.search(\"SP\", \"São Paulo\", \"Paulista\") {\n    Err(e) =\u003e eprintln!(\"{:?}\", e),\n    Ok(data) =\u003e {\n        let addresses = data.unwrap();\n        for address in addresses {\n            println!(\n                \"IBGE: {} | Address: {} | City: {} | Zip: {}\",\n                address.ibge, address.address, address.city, address.zip\n            );\n        }\n    }\n}\n```\n\n## License\n\nLicensed under the MIT license ([LICENSE](https://github.com/guibranco/viacep-rs/blob/main/LICENSE) or [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguibranco%2Fviacep-sdk-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguibranco%2Fviacep-sdk-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguibranco%2Fviacep-sdk-rs/lists"}