mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Refactor: Extract new crate binstalk-registry
(#1289)
To speedup codegen of `binstalk` and enable it to be reused. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6c801a97ae
commit
623f7ff4ed
20 changed files with 373 additions and 127 deletions
42
crates/binstalk-registry/Cargo.toml
Normal file
42
crates/binstalk-registry/Cargo.toml
Normal file
|
@ -0,0 +1,42 @@
|
|||
[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"
|
||||
tempfile = "3.5.0"
|
||||
thiserror = "1.0.40"
|
||||
tokio = { version = "1.30.0", features = ["rt", "sync", "time"], 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 = ["binstalk-downloader/git"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
Loading…
Add table
Add a link
Reference in a new issue