-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add home
crate to cargo crates
#11359
Commits on Jul 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 25592d9 - Browse repository at this point
Copy the full SHA 25592d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a9fe1 - Browse repository at this point
Copy the full SHA b1a9fe1View commit details
Commits on Jul 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cf5dd41 - Browse repository at this point
Copy the full SHA cf5dd41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 759a15b - Browse repository at this point
Copy the full SHA 759a15bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c643270 - Browse repository at this point
Copy the full SHA c643270View commit details
Commits on Jul 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for abf65ad - Browse repository at this point
Copy the full SHA abf65adView commit details
Commits on Mar 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c10b8d2 - Browse repository at this point
Copy the full SHA c10b8d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1825f0a - Browse repository at this point
Copy the full SHA 1825f0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfaf1f1 - Browse repository at this point
Copy the full SHA bfaf1f1View commit details
Commits on Mar 19, 2018
-
Merge pull request rust-lang#3 from Eijebong/bump
Update dependencies and bump version
Configuration menu - View commit details
-
Copy full SHA for d4d9ac8 - Browse repository at this point
Copy the full SHA d4d9ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5673c9a - Browse repository at this point
Copy the full SHA 5673c9aView commit details
Commits on May 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 152407f - Browse repository at this point
Copy the full SHA 152407fView commit details -
Merge pull request rust-lang#4 from andjo403/master
Depend on only one version of winapi
Configuration menu - View commit details
-
Copy full SHA for 2e01bd4 - Browse repository at this point
Copy the full SHA 2e01bd4View commit details
Commits on May 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5744640 - Browse repository at this point
Copy the full SHA 5744640View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0520b0 - Browse repository at this point
Copy the full SHA a0520b0View commit details
Commits on Jan 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4f887cf - Browse repository at this point
Copy the full SHA 4f887cfView commit details
Commits on Jun 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f5dd969 - Browse repository at this point
Copy the full SHA f5dd969View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71afeb2 - Browse repository at this point
Copy the full SHA 71afeb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fb21b - Browse repository at this point
Copy the full SHA 41fb21bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4ac15 - Browse repository at this point
Copy the full SHA 2a4ac15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d8872 - Browse repository at this point
Copy the full SHA 72d8872View commit details -
Configuration menu - View commit details
-
Copy full SHA for f39302f - Browse repository at this point
Copy the full SHA f39302fView commit details
Commits on Aug 6, 2019
-
Merge pull request rust-lang#6 from lzutao/bump-scopeguard
Bump scopeguard to 1.0.0
Configuration menu - View commit details
-
Copy full SHA for 51ec02e - Browse repository at this point
Copy the full SHA 51ec02eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97baa41 - Browse repository at this point
Copy the full SHA 97baa41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 645457e - Browse repository at this point
Copy the full SHA 645457eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a6db2 - Browse repository at this point
Copy the full SHA b4a6db2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f74993 - Browse repository at this point
Copy the full SHA 2f74993View commit details
Commits on Aug 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 64de940 - Browse repository at this point
Copy the full SHA 64de940View commit details
Commits on Aug 8, 2019
-
Merge pull request rust-lang#8 from lzutao/fix-windows-ci
Fix windows build failure
Configuration menu - View commit details
-
Copy full SHA for ddad9bf - Browse repository at this point
Copy the full SHA ddad9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2a4f95 - Browse repository at this point
Copy the full SHA c2a4f95View commit details
Commits on Aug 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 38ba4ef - Browse repository at this point
Copy the full SHA 38ba4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c718c9 - Browse repository at this point
Copy the full SHA 2c718c9View commit details
Commits on Aug 16, 2019
-
Because Apache-2.0 requires text license to be present along with source.
Configuration menu - View commit details
-
Copy full SHA for 2002aee - Browse repository at this point
Copy the full SHA 2002aeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e658ff7 - Browse repository at this point
Copy the full SHA e658ff7View commit details -
Merge pull request rust-lang#10 from lzutao/ci/add-mac-winnt-builds
ci: Add Mac and Windows builds
Configuration menu - View commit details
-
Copy full SHA for 865e4b9 - Browse repository at this point
Copy the full SHA 865e4b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae79f9f - Browse repository at this point
Copy the full SHA ae79f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d14ba - Browse repository at this point
Copy the full SHA e9d14baView commit details -
* Correct impl of rustup_home when RUSTUP_HOME is absolute directory. * Correct impl of cargo_home when CARGO_HOME is absolute directory.
Configuration menu - View commit details
-
Copy full SHA for 7bb09dd - Browse repository at this point
Copy the full SHA 7bb09ddView commit details
Commits on Aug 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 180b334 - Browse repository at this point
Copy the full SHA 180b334View commit details -
Merge pull request rust-lang#11 from lzutao/cleanup
* chore: Split Windows impl to a separate module * Add home_dir impl for Windows UWP platforms * Remove multirust support - Correct impl of rustup_home when RUSTUP_HOME is absolute directory. - Correct impl of cargo_home when CARGO_HOME is absolute directory. * Add more examples to show how API works
Configuration menu - View commit details
-
Copy full SHA for 623419d - Browse repository at this point
Copy the full SHA 623419dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46003d5 - Browse repository at this point
Copy the full SHA 46003d5View commit details -
Merge pull request rust-lang#12 from lzutao/bump-v0.5.0
Bump home to 0.5.0
Configuration menu - View commit details
-
Copy full SHA for 2f0fe8a - Browse repository at this point
Copy the full SHA 2f0fe8aView commit details
Commits on Aug 22, 2019
-
Merge pull request rust-lang#9 from lzutao/add-license
Add LICENSE text file
Configuration menu - View commit details
-
Copy full SHA for e40e332 - Browse repository at this point
Copy the full SHA e40e332View commit details
Commits on Aug 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 08eec12 - Browse repository at this point
Copy the full SHA 08eec12View commit details
Commits on Sep 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3e824d2 - Browse repository at this point
Copy the full SHA 3e824d2View commit details
Commits on Oct 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f44f3f2 - Browse repository at this point
Copy the full SHA f44f3f2View commit details -
Merge pull request rust-lang#15 from mati865/scopeguard
Disable unnecessary features for scopeguard
Configuration menu - View commit details
-
Copy full SHA for 6e7ea32 - Browse repository at this point
Copy the full SHA 6e7ea32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f94c5a - Browse repository at this point
Copy the full SHA 3f94c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef18523 - Browse repository at this point
Copy the full SHA ef18523View commit details
Commits on Oct 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cfc445e - Browse repository at this point
Copy the full SHA cfc445eView commit details
Commits on Oct 21, 2019
-
build(travis): fix build stuck issue on Windows build jobs
Because `minimal` is not a supported language on Windows OS.
Configuration menu - View commit details
-
Copy full SHA for 29d9c3c - Browse repository at this point
Copy the full SHA 29d9c3cView commit details
Commits on Dec 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1886c07 - Browse repository at this point
Copy the full SHA 1886c07View commit details
Commits on Jan 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 38c2d2b - Browse repository at this point
Copy the full SHA 38c2d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23bc439 - Browse repository at this point
Copy the full SHA 23bc439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 854cbf9 - Browse repository at this point
Copy the full SHA 854cbf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1ffd6e - Browse repository at this point
Copy the full SHA d1ffd6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77ea3e8 - Browse repository at this point
Copy the full SHA 77ea3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a596a75 - Browse repository at this point
Copy the full SHA a596a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d01112 - Browse repository at this point
Copy the full SHA 0d01112View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdca596 - Browse repository at this point
Copy the full SHA fdca596View commit details
Commits on Jan 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1c5772b - Browse repository at this point
Copy the full SHA 1c5772bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12645bc - Browse repository at this point
Copy the full SHA 12645bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fbb290 - Browse repository at this point
Copy the full SHA 2fbb290View commit details -
Configuration menu - View commit details
-
Copy full SHA for d23fd46 - Browse repository at this point
Copy the full SHA d23fd46View commit details -
Configuration menu - View commit details
-
Copy full SHA for c03a7bc - Browse repository at this point
Copy the full SHA c03a7bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69258b0 - Browse repository at this point
Copy the full SHA 69258b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6cccd5 - Browse repository at this point
Copy the full SHA f6cccd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61576ab - Browse repository at this point
Copy the full SHA 61576abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a52e71 - Browse repository at this point
Copy the full SHA 0a52e71View commit details
Commits on Jan 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 410d426 - Browse repository at this point
Copy the full SHA 410d426View commit details -
Configuration menu - View commit details
-
Copy full SHA for c97f8f0 - Browse repository at this point
Copy the full SHA c97f8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d9393e - Browse repository at this point
Copy the full SHA 1d9393eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd7d425 - Browse repository at this point
Copy the full SHA fd7d425View commit details
Commits on Jan 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cd27296 - Browse repository at this point
Copy the full SHA cd27296View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a577f7 - Browse repository at this point
Copy the full SHA 5a577f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4607d98 - Browse repository at this point
Copy the full SHA 4607d98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6eccd - Browse repository at this point
Copy the full SHA 3a6eccdView commit details
Commits on Jun 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for af762b0 - Browse repository at this point
Copy the full SHA af762b0View commit details -
Improve CI caching by add Cargo.lock
But do not add Cargo.lock to cargo package
Configuration menu - View commit details
-
Copy full SHA for 32044e5 - Browse repository at this point
Copy the full SHA 32044e5View commit details
Commits on Sep 19, 2022
-
Revert "Improve CI caching by add Cargo.lock"
This reverts commit 32044e5.
Configuration menu - View commit details
-
Copy full SHA for 0719a86 - Browse repository at this point
Copy the full SHA 0719a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for deefa5a - Browse repository at this point
Copy the full SHA deefa5aView commit details -
Merge pull request rust-lang#28 from brson/lucio/update-ci
chore: Update CI and remove lockfile
Configuration menu - View commit details
-
Copy full SHA for 21df461 - Browse repository at this point
Copy the full SHA 21df461View commit details -
Add
_from
variants to support threaded testsThese permit abstracting over some common global process state and allow the use of home in project where in-process threaded tests are desirable, and where rustup / cargo state is changed during the tests.
Configuration menu - View commit details
-
Copy full SHA for 0467bc2 - Browse repository at this point
Copy the full SHA 0467bc2View commit details -
This needs to be public to allow rustup to cleanly call the from family of functions but still benefit from the Windows specific codepath.
Configuration menu - View commit details
-
Copy full SHA for 660ccbc - Browse repository at this point
Copy the full SHA 660ccbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c77b640 - Browse repository at this point
Copy the full SHA c77b640View commit details -
Add mockable home fn and
Env
traitThis PR follows up and replaces on rust-lang#23 which intended to add mockable functions to the `home` crate. This PR follows in similar vain except for a few changes. - All mockable fn and the `Env` trait moved into a new `env` module to keep the docs clean from all the extra methods that are usually not required for most users of the crate. - Rename the functions to be `with_env` instead of just having `_from`. The goal of this PR is to enable `rustup` and hopefully `cargo` in the future to be able to write tests which mockout the environment while still going through the core logic of this crate.
Configuration menu - View commit details
-
Copy full SHA for e3e570d - Browse repository at this point
Copy the full SHA e3e570dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c610a - Browse repository at this point
Copy the full SHA 38c610aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eed5978 - Browse repository at this point
Copy the full SHA eed5978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d79d95 - Browse repository at this point
Copy the full SHA 6d79d95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f6aad6 - Browse repository at this point
Copy the full SHA 0f6aad6View commit details -
Merge pull request rust-lang#30 from brson/refactor-ci
chore: Improve CI
Configuration menu - View commit details
-
Copy full SHA for 9afbd90 - Browse repository at this point
Copy the full SHA 9afbd90View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb34fe9 - Browse repository at this point
Copy the full SHA fb34fe9View commit details
Commits on Oct 10, 2022
-
Merge pull request rust-lang#29 from brson/lucio/env
Add mockable home fn and Env trait
Configuration menu - View commit details
-
Copy full SHA for de6dd85 - Browse repository at this point
Copy the full SHA de6dd85View commit details -
Configuration menu - View commit details
-
Copy full SHA for e697b7b - Browse repository at this point
Copy the full SHA e697b7bView commit details
Commits on Oct 11, 2022
-
Merge pull request rust-lang#31 from brson/lucio/prepare-0.5.4
chore: Prepare `v0.5.4`
Configuration menu - View commit details
-
Copy full SHA for f0d2362 - Browse repository at this point
Copy the full SHA f0d2362View commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dbb8dad - Browse repository at this point
Copy the full SHA dbb8dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a1a9ed - Browse repository at this point
Copy the full SHA 6a1a9edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a3d4e - Browse repository at this point
Copy the full SHA 98a3d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9da4b - Browse repository at this point
Copy the full SHA ac9da4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for faa9b31 - Browse repository at this point
Copy the full SHA faa9b31View commit details
Commits on Dec 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 18a06cc - Browse repository at this point
Copy the full SHA 18a06ccView commit details