cargo-binstall/crates/binstalk-registry/Cargo.toml
Jiahao XU 397fa7200f
Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0 (#1655)
* Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0

reqwest 0.11.27 is still used in gix, but it will be upgraded in
next gix release.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix feature selection: Forward tls feature to `simple-git`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-02 21:26:39 +00:00

57 lines
1.7 KiB
TOML

[package]
name = "binstalk-registry"
version = "0.7.0"
edition = "2021"
rust-version = "1.65.0"
description = "The binstall toolkit for fetching package from arbitrary registry"
repository = "https://github.com/cargo-bins/cargo-binstall"
documentation = "https://docs.rs/binstalk-registry"
authors = ["Jiahao_XU@outlook <Jiahao_XU@outlook.com>"]
license = "Apache-2.0 OR MIT"
[dependencies]
async-trait = "0.1.68"
base16 = "0.2.1"
binstalk-downloader = { version = "0.10.1", path = "../binstalk-downloader", default-features = false, features = [
"json",
] }
binstalk-types = { version = "0.7.0", path = "../binstalk-types" }
cargo-toml-workspace = { version = "5.0.0", path = "../cargo-toml-workspace" }
compact_str = { version = "0.7.0", features = ["serde"] }
leon = "3.0.0"
miette = "7.0.0"
normalize-path = { version = "0.2.1", path = "../normalize-path" }
once_cell = "1.18.0"
semver = { version = "1.0.17", features = ["serde"] }
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.107"
sha2 = "0.10.7"
simple-git = { version = "0.2.4", optional = true }
tempfile = "3.5.0"
thiserror = "1.0.52"
tokio = { version = "1.35.0", features = [
"rt",
"sync",
], default-features = false }
tracing = "0.1.39"
url = "2.3.1"
[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
toml_edit = { version = "0.22.4", features = ["serde"] }
binstalk-downloader = { version = "0.10.1", path = "../binstalk-downloader", default-features = false, features = [
"rustls",
] }
[features]
git = ["simple-git"]
rustls = ["simple-git?/rustls"]
native-tls = ["simple-git?/native-tls"]
crates_io_api = []
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true