mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-04 09:56:37 +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>
43 lines
1.5 KiB
TOML
43 lines
1.5 KiB
TOML
[package]
|
|
name = "binstalk-registry"
|
|
version = "0.0.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.7.0", path = "../binstalk-downloader", default-features = false, features = ["json"] }
|
|
binstalk-types = { version = "0.5.0", path = "../binstalk-types" }
|
|
cargo-toml-workspace = { version = "0.0.0", path = "../cargo-toml-workspace" }
|
|
compact_str = { version = "0.7.0", features = ["serde"] }
|
|
leon = { version = "2.0.1", path = "../leon" }
|
|
miette = "5.9.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.99"
|
|
sha2 = "0.10.7"
|
|
simple-git = { version = "0.0.0", path = "../simple-git", optional = true }
|
|
tempfile = "3.5.0"
|
|
thiserror = "1.0.40"
|
|
tokio = { version = "1.30.0", features = ["rt", "sync"], default-features = false }
|
|
tracing = "0.1.37"
|
|
url = "2.3.1"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
|
toml_edit = { version = "0.19.11", features = ["serde"] }
|
|
|
|
[features]
|
|
git = ["simple-git"]
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|