[package] name = "cargo-clone-crate" version = "0.1.9" authors = ["Eric Huss "] description = "Cargo subcommand to clone a repo from the registry." homepage = "https://github.com/ehuss/cargo-clone-crate" repository = "https://github.com/ehuss/cargo-clone-crate" readme = "README.md" categories = ["development-tools::cargo-plugins"] keywords = ["cargo"] license = "MIT" edition = "2021" include = ["/src"] [dependencies] anyhow = "1.0.37" clap = { version = "4.4.6", optional = true, features = ["cargo"] } env_logger = { version = "0.10.0", optional = true } flate2 = "1.0.19" log = "0.4.11" regex = "1.4.2" reqwest = { version = "0.11.0", features = ["blocking", "json"], default-features = false } semver = "1" serde_json = "1.0.61" tar = { version = "0.4.30", default-features = false } [dev-dependencies] tempfile = "3.1.0" [features] bin = ["dep:clap", "dep:env_logger"] default = ["bin", "reqwest/default-tls"] rustls = ["reqwest/rustls-tls"] [lib] name = "cargo_clone" test = false [[bin]] name = "cargo-clone" path = "src/main.rs" test = false required-features = ["default"]