mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 21:18:42 +00:00

`binstalk-downloader` contains stuff about http(s) before the git code is moved into it and now it becomes http and git. While git indeed uses http stuff, which is why I decided to put it into binstalk-downloader, it is more than just downloading since it is stateful (can be cached locally and updated) where as http is stateless. Also `binstalk-downloader`'s codegen time now increases dramatically and it also creates extra dependencies for binstalk-fetchers, delaying its execution. The git code also don't use anything from `binstalk-downloader` at all, it makes sense to be an independent crate. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
29 lines
817 B
TOML
29 lines
817 B
TOML
[package]
|
|
name = "simple-git"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
description = "The simple git interface for gix suitable for async context (with tokio)"
|
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
|
documentation = "https://docs.rs/simple-git"
|
|
rust-version = "1.65.0"
|
|
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
|
|
license = "Apache-2.0 OR MIT"
|
|
|
|
[dependencies]
|
|
compact_str = "0.7.0"
|
|
derive_destructure2 = "0.1"
|
|
gix = { version = "0.51.0", features = ["blocking-http-transport-reqwest"] }
|
|
thiserror = "1.0.40"
|
|
tokio = { version = "1.30.0", features = ["rt", "time"], default-features = false }
|
|
tracing = "0.1.37"
|
|
|
|
[features]
|
|
rustls = [
|
|
"gix/blocking-http-transport-reqwest-rust-tls",
|
|
]
|
|
native-tls = [
|
|
"gix/blocking-http-transport-reqwest-native-tls",
|
|
]
|
|
|
|
git-max-perf = ["gix/max-performance"]
|