mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-17 16:16:37 +00:00
Fix compilation error and deprecations
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
03c520e7ce
commit
2bd9c1efee
3 changed files with 18 additions and 18 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"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue