mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
build(deps): bump compact_str from 0.7.1 to 0.8.0 in the deps group (#1817)
* build(deps): bump compact_str from 0.7.1 to 0.8.0 in the deps group Bumps the deps group with 1 update: [compact_str](https://github.com/ParkMyCar/compact_str). Updates `compact_str` from 0.7.1 to 0.8.0 - [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md) - [Commits](https://github.com/ParkMyCar/compact_str/commits) --- updated-dependencies: - dependency-name: compact_str dependency-type: direct:production update-type: version-update:semver-minor dependency-group: deps ... Signed-off-by: dependabot[bot] <support@github.com> * Fix compilation error and deprecations Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Use `CompactString::const_new` when possible Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a92ad4952f
commit
0fe605f7f0
15 changed files with 45 additions and 58 deletions
|
@ -210,7 +210,7 @@ root = "/some/path" # `cargo install` destination directory
|
|||
);
|
||||
|
||||
let http = config.http.unwrap();
|
||||
assert_eq!(http.proxy.unwrap(), CompactString::new_inline("host:port"));
|
||||
assert_eq!(http.proxy.unwrap(), CompactString::const_new("host:port"));
|
||||
assert_eq!(http.timeout.unwrap(), 30);
|
||||
assert_eq!(http.cainfo.unwrap(), Path::new("root").join("cert.pem"));
|
||||
|
||||
|
@ -218,7 +218,7 @@ root = "/some/path" # `cargo install` destination directory
|
|||
assert_eq!(env.len(), 3);
|
||||
assert_eq!(
|
||||
env.get("ENV_VAR_NAME").unwrap(),
|
||||
&Env::Value(CompactString::new("value"))
|
||||
&Env::Value(CompactString::const_new("value"))
|
||||
);
|
||||
assert_eq!(
|
||||
env.get("ENV_VAR_NAME_2").unwrap(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue