[package] name = "registry-backup" authors = ["Jonathan Strong "] version = "0.4.1" edition = "2021" #publish = ["shipyard-rs-public"] readme = "README.md" repository = "https://git.shipyard.rs/jstrong/registry-backup" homepage = "https://git.shipyard.rs/jstrong/registry-backup" documentation = "https://git.shipyard.rs/jstrong/registry-backup" license-file = "LICENSE" description = "CLI tool for backup/export of .crate files from a registry server" [[bin]] name = "registry-backup" path = "src/main.rs" [[bin]] name = "publish" path = "src/publish.rs" [[bin]] name = "generate-readme" path = "src/generate-readme.rs" required-features = ["docs"] [dependencies] clap = { version = "3.1", default-features = false, features = ["std", "derive", "cargo", "color"] } serde = { version = "1", features = ["derive"] } serde_json = "1.0.69" toml = "0.5.9" tempdir = "0.3.7" tracing = "0.1.29" tracing-subscriber = { version = "0.2.18", features = ["env-filter", "registry"] } tokio = { version = "1.21", features = ["full"] } reqwest = { version = "0.11", default-features = false, features = ["json", "stream", "rustls-tls", "cookies", "multipart", "gzip", "brotli", "deflate", "trust-dns"] } futures = "0.3.7" walkdir = "2.3" num_cpus = "1.3" governor = "0.4.2" pretty_toa = "1" tera = { version = "1", optional = true } chrono = { version = "0.4.22, < 0.4.23", features = ["serde"], optional = true } regex = "1.6" url = { version = "2", features = ["serde"] } semver = { version = "1", features = ["serde"] } tar = "0.4.38" anyhow = "1" dotenvy = "0.15" flate2 = "1" tempfile = { version = "3.8.1", optional = true } rayon = { version = "1.8", optional = true } csv = { version = "1", optional = true } convert_case = { version = "0.6", optional = true } toml_edit = { version = "0.21", optional = true } [features] default = ["publish"] docs = ["tera", "chrono"] publish = [ "csv", "chrono", "tempfile", "rayon", "convert_case", "toml_edit", ]