[package] name = "cargo-sanitize" version = "0.2.0" authors = ["Rob Patro"] edition = "2021" repository = "https://github.com/rob-p/cargo-sanitize" description = "Sanitize a Cargo.toml file to remove dependencies outside of the default registry" documentation = "https://rob-p.github.io/cargo-sanitize/" readme = "README.md" homepage = "https://rob-p.github.io/cargo-sanitize/" license-file = "LICENSE" keywords = ["cargo", "toml", "commands", "sanitize"] categories = ["command-line-utilities", "development-tools::cargo-plugins"] include = ["/src", "README.md", "!mkdocs.yml", "!/docs"] [dependencies] anyhow = "1.0.86" clap = { version = "4.5.8", features = ["derive"] } serde_json = "1.0.120" toml_edit = "0.22.14" ureq = { version = "2.10.0", optional = true, features = ["json"] } semver = { version = "1.0.23", optional = true } simple_logger = { version = "5.0.0", features = ["stderr"] } log = "0.4.22" #crates_io_api = { version = "0.11.0", features = ["rustls"], optional = true } [features] validate_crates = ["dep:ureq", "dep:semver"] # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" lto = "thin" # Config for 'cargo dist' [workspace.metadata.dist] # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) cargo-dist-version = "0.16.0" # CI backends to support ci = "github" # The installers to generate for each app installers = ["shell"] # Target platforms to build apps for (Rust target-triple syntax) targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"] # Publish jobs to run in CI pr-run-mode = "plan" # Whether to install an updater program install-updater = true