mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Optimize TargetTriple
: Use Cow<'static, str>
(#1161)
instead of `CompactString` since `target_lexicon::{OperatingSystem, Architecture, Environment}::into_str()` will return a `&'static str` most of the time. Also updated `SUPPORT.md`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
abecd9ae14
commit
138112cd6e
4 changed files with 23 additions and 13 deletions
|
@ -30,7 +30,7 @@ once_cell = "1.18.0"
|
|||
semver = { version = "1.0.17", features = ["serde"] }
|
||||
serde = { version = "1.0.163", features = ["derive"] }
|
||||
strum = "0.25.0"
|
||||
target-lexicon = { version = "0.12.7", features = ["std"] }
|
||||
target-lexicon = { version = "0.12.8", features = ["std"] }
|
||||
tempfile = "3.5.0"
|
||||
thiserror = "1.0.40"
|
||||
# parking_lot for `tokio::sync::OnceCell::const_new`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue