Skip to content
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

Merged
merged 101 commits into from
Dec 14, 2022
Merged

Commits on Jul 18, 2017

  1. Initial

    brson committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    25592d9 View commit details
    Browse the repository at this point in the history
  2. Link to upstream issue

    brson committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b1a9fe1 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. Add .gitignore

    brson committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    cf5dd41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    759a15b View commit details
    Browse the repository at this point in the history
  3. Add cargo compat code

    brson committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    c643270 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2017

  1. Redox OS

    ids1024 committed Jul 30, 2017
    Configuration menu
    Copy the full SHA
    abf65ad View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2018

  1. Bump scopeguard to 0.3

    Eijebong committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    c10b8d2 View commit details
    Browse the repository at this point in the history
  2. Bump winapi to 0.3

    Eijebong committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    1825f0a View commit details
    Browse the repository at this point in the history
  3. Bump version number

    Eijebong committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    bfaf1f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. Merge pull request rust-lang#3 from Eijebong/bump

    Update dependencies and bump version
    alexcrichton committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    d4d9ac8 View commit details
    Browse the repository at this point in the history
  2. Bump to 0.3.2

    alexcrichton committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    5673c9a View commit details
    Browse the repository at this point in the history

Commits on May 10, 2018

  1. Configuration menu
    Copy the full SHA
    152407f View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#4 from andjo403/master

    Depend on only one version of winapi
    alexcrichton committed May 10, 2018
    Configuration menu
    Copy the full SHA
    2e01bd4 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2018

  1. Bump to 0.3.3

    andjo403 committed May 11, 2018
    Configuration menu
    Copy the full SHA
    5744640 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#5 from andjo403/bump

    Bump to 0.3.3
    alexcrichton committed May 11, 2018
    Configuration menu
    Copy the full SHA
    a0520b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2019

  1. Merge pull request rust-lang#1 from ids1024/redox

    Redox OS
    brson committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    4f887cf View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2019

  1. Configuration menu
    Copy the full SHA
    f5dd969 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71afeb2 View commit details
    Browse the repository at this point in the history
  3. Update to 2018 edition

    tesuji committed Jun 1, 2019
    Configuration menu
    Copy the full SHA
    41fb21b View commit details
    Browse the repository at this point in the history
  4. Lazy ok_or_else

    tesuji committed Jun 1, 2019
    Configuration menu
    Copy the full SHA
    2a4ac15 View commit details
    Browse the repository at this point in the history
  5. Lazy calculate user_home

    tesuji committed Jun 1, 2019
    Configuration menu
    Copy the full SHA
    72d8872 View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    tesuji committed Jun 1, 2019
    Configuration menu
    Copy the full SHA
    f39302f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Merge pull request rust-lang#6 from lzutao/bump-scopeguard

    Bump scopeguard to 1.0.0
    brson committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    51ec02e View commit details
    Browse the repository at this point in the history
  2. Bump to 0.4

    brson committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    97baa41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    645457e View commit details
    Browse the repository at this point in the history
  4. Mention dirs crate

    brson committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    b4a6db2 View commit details
    Browse the repository at this point in the history
  5. Bump to 0.4.1

    brson committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    2f74993 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2019

  1. Fix windows build failure

    tesuji committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    64de940 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. Merge pull request rust-lang#8 from lzutao/fix-windows-ci

    Fix windows build failure
    brson committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    ddad9bf View commit details
    Browse the repository at this point in the history
  2. Bump to 0.4.2

    brson committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    c2a4f95 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2019

  1. Add travis config

    brson committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    38ba4ef View commit details
    Browse the repository at this point in the history
  2. Add Cargo.lock to gitignore

    brson committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    2c718c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2019

  1. Add LICENSE text file

    Because Apache-2.0 requires text license to be present along
    with source.
    tesuji committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    2002aee View commit details
    Browse the repository at this point in the history
  2. ci: Add Mac and Windows builds

    tesuji committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    e658ff7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#10 from lzutao/ci/add-mac-winnt-builds

    ci: Add Mac and Windows builds
    tesuji committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    865e4b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae79f9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9d14ba View commit details
    Browse the repository at this point in the history
  6. 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.
    tesuji committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    7bb09dd View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. Configuration menu
    Copy the full SHA
    180b334 View commit details
    Browse the repository at this point in the history
  2. 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
    tesuji committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    623419d View commit details
    Browse the repository at this point in the history
  3. Bump home to 0.5.0

    tesuji committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    46003d5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request rust-lang#12 from lzutao/bump-v0.5.0

    Bump home to 0.5.0
    tesuji committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    2f0fe8a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2019

  1. Merge pull request rust-lang#9 from lzutao/add-license

    Add LICENSE text file
    brson committed Aug 22, 2019
    Configuration menu
    Copy the full SHA
    e40e332 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Configuration menu
    Copy the full SHA
    08eec12 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

  1. Configuration menu
    Copy the full SHA
    3e824d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2019

  1. Configuration menu
    Copy the full SHA
    f44f3f2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#15 from mati865/scopeguard

    Disable unnecessary features for scopeguard
    tesuji committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    6e7ea32 View commit details
    Browse the repository at this point in the history
  3. Remove redundant closure

    tesuji committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    3f94c5a View commit details
    Browse the repository at this point in the history
  4. Bump new version: v0.5.1

    tesuji committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    ef18523 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Configuration menu
    Copy the full SHA
    cfc445e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. build(travis): fix build stuck issue on Windows build jobs

    Because `minimal` is not a supported language on Windows OS.
    tesuji committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    29d9c3c View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. ci: Try github actions

    Use minimal profile
    tesuji committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    1886c07 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Configuration menu
    Copy the full SHA
    38c2d2b View commit details
    Browse the repository at this point in the history
  2. Add why we cannot use Miri

    tesuji committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    23bc439 View commit details
    Browse the repository at this point in the history
  3. Run clippy on Windows only

    tesuji committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    854cbf9 View commit details
    Browse the repository at this point in the history
  4. Add default .rustfmt.toml

    tesuji committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    d1ffd6e View commit details
    Browse the repository at this point in the history
  5. Correct links

    tesuji committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    77ea3e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a596a75 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0d01112 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fdca596 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2020

  1. actions: Cache CARGO_HOME

    tesuji committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    1c5772b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12645bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2fbb290 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d23fd46 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c03a7bc View commit details
    Browse the repository at this point in the history
  6. Remove needless cfg gate

    tesuji committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    69258b0 View commit details
    Browse the repository at this point in the history
  7. Bump to 0.5.2

    tesuji committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    f6cccd5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    61576ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0a52e71 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Configuration menu
    Copy the full SHA
    410d426 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c97f8f0 View commit details
    Browse the repository at this point in the history
  3. Use README in crates.io

    tesuji committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    1d9393e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd7d425 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Configuration menu
    Copy the full SHA
    cd27296 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a577f7 View commit details
    Browse the repository at this point in the history
  3. Bump to 0.5.3

    tesuji committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    4607d98 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a6eccd View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2020

  1. Remove redundant CI scripts

    tesuji committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    af762b0 View commit details
    Browse the repository at this point in the history
  2. Improve CI caching by add Cargo.lock

    But do not add Cargo.lock to cargo package
    tesuji committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    32044e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Revert "Improve CI caching by add Cargo.lock"

    This reverts commit 32044e5.
    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    0719a86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    deefa5a View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#28 from brson/lucio/update-ci

    chore: Update CI and remove lockfile
    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    21df461 View commit details
    Browse the repository at this point in the history
  4. Add _from variants to support threaded tests

    These 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.
    rbtcollins authored and LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    0467bc2 View commit details
    Browse the repository at this point in the history
  5. Publically export OS_ENV

    This needs to be public to allow rustup to cleanly call the from family
    of functions but still benefit from the Windows specific codepath.
    rbtcollins authored and LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    660ccbc View commit details
    Browse the repository at this point in the history
  6. Review feedback

    rbtcollins authored and LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    c77b640 View commit details
    Browse the repository at this point in the history
  7. Add mockable home fn and Env trait

    This 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.
    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    e3e570d View commit details
    Browse the repository at this point in the history
  8. update changelog

    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    38c610a View commit details
    Browse the repository at this point in the history
  9. chore: Improve CI

    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    eed5978 View commit details
    Browse the repository at this point in the history
  10. remove unwanted ci tests

    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    6d79d95 View commit details
    Browse the repository at this point in the history
  11. remove code cov

    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    0f6aad6 View commit details
    Browse the repository at this point in the history
  12. Merge pull request rust-lang#30 from brson/refactor-ci

    chore: Improve CI
    LucioFranco committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    9afbd90 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fb34fe9 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Merge pull request rust-lang#29 from brson/lucio/env

    Add mockable home fn and Env trait
    LucioFranco committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    de6dd85 View commit details
    Browse the repository at this point in the history
  2. chore: Prepare v0.5.4

    LucioFranco committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    e697b7b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Merge pull request rust-lang#31 from brson/lucio/prepare-0.5.4

    chore: Prepare `v0.5.4`
    LucioFranco committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    f0d2362 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Add crate

    LucioFranco committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    dbb8dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a1a9ed View commit details
    Browse the repository at this point in the history
  3. Add home crate to CI

    LucioFranco committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    98a3d4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac9da4b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    faa9b31 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    18a06cc View commit details
    Browse the repository at this point in the history