{"id":16189969,"url":"https://github.com/brson/home","last_synced_at":"2025-08-30T15:31:52.573Z","repository":{"id":44422876,"uuid":"97652325","full_name":"brson/home","owner":"brson","description":"Canonical definitions of home_dir, CARGO_HOME, and RUSTUP_HOME","archived":false,"fork":false,"pushed_at":"2023-02-18T18:47:06.000Z","size":73,"stargazers_count":63,"open_issues_count":2,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-24T02:50:25.473Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-18T23:28:33.000Z","updated_at":"2024-10-03T11:40:58.000Z","dependencies_parsed_at":"2022-07-13T00:31:08.521Z","dependency_job_id":null,"html_url":"https://github.com/brson/home","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fhome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fhome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fhome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fhome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brson","download_url":"https://codeload.github.com/brson/home/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231501580,"owners_count":18386285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-10T07:37:50.174Z","updated_at":"2024-12-27T14:53:44.867Z","avatar_url":"https://github.com/brson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation](https://docs.rs/home/badge.svg)](https://docs.rs/home)\n[![Crates.io](https://img.shields.io/crates/v/home.svg)](https://crates.io/crates/home)\n\n__NOTE:__ This repository has been moved into [rust-lang/cargo].\n\n[rust-lang/cargo]: https://github.com/rust-lang/cargo/tree/master/crates/home\n\nCanonical definitions of `home_dir`, `cargo_home`, and `rustup_home`.\n\nThis provides the definition of `home_dir` used by Cargo and rustup,\nas well functions to find the correct value of `CARGO_HOME` and\n`RUSTUP_HOME`.\n\nThe definition of `home_dir` provided by the standard library is\nincorrect because it considers the `HOME` environment variable on\nWindows. This causes surprising situations where a Rust program will\nbehave differently depending on whether it is run under a Unix\nemulation environment like Cygwin or MinGW. Neither Cargo nor rustup\nuse the standard libraries definition - they use the definition here.\n\nThis crate further provides two functions, `cargo_home` and\n`rustup_home`, which are the canonical way to determine the location\nthat Cargo and rustup store their data.\n\nSee [rust-lang/rust#43321].\n\n[rust-lang/rust#43321]: https://github.com/rust-lang/rust/issues/43321\n\n## License\n\nMIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fhome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrson%2Fhome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fhome/lists"}