# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "flake-edit" version = "0.0.2" authors = ["Alexander Kenji Berthold"] include = [ "src/**/*", "LICENSE", "README.md", "build.rs", ] description = "Edit your flake inputs with ease." homepage = "https://github.com/a-kenji/flake-edit" documentation = "https://github.com/a-kenji/flake-edit" readme = "README.md" keywords = [ "nix", "flake", "terminal", "cli", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/a-kenji/flake-edit" [profile.dev] lto = "thin" debug = 0 incremental = true [profile.dev.package.backtrace] opt-level = 3 [profile.dev.package.insta] opt-level = 3 [profile.dev.package.similar] opt-level = 3 [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true [[bin]] name = "flake-edit" [[bench]] name = "benches" path = "benches/benches.rs" harness = false [[bench]] name = "divan" path = "benches/divan.rs" harness = false [dependencies.anyhow] version = "1.0.92" optional = true [dependencies.clap] version = "4.5.20" features = ["derive"] optional = true [dependencies.color-eyre] version = "0.6.3" [dependencies.diffy] version = "0.4.0" optional = true [dependencies.directories] version = "5.0.1" [dependencies.nix-uri] version = "0.1.8" [dependencies.reqwest] version = "0.12.9" features = ["blocking"] [dependencies.rnix] version = "0.11.0" [dependencies.ropey] version = "1.6.1" optional = true [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.214" [dependencies.serde_json] version = "1.0.132" optional = true [dependencies.thiserror] version = "1.0.65" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "time", "std", "fmt", "env-filter", ] optional = true [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.divan] version = "0.1.3" [dev-dependencies.insta] version = "1.41.1" features = ["yaml"] [build-dependencies.clap] version = "4.5.20" features = ["derive"] optional = true [build-dependencies.clap_complete] version = "4.5.36" features = [] optional = true [build-dependencies.clap_complete_nushell] version = "4.5.4" optional = true [build-dependencies.clap_mangen] version = "0.2.24" features = [] optional = true [build-dependencies.roff] version = "0.2.2" optional = true [features] application = [ "clap", "write", "assets", "anyhow", "diffy", "tracing-subscriber", "serde_json", ] assets = [ "clap_complete", "clap_complete_nushell", "roff", "clap_mangen", ] default = ["application"] write = ["ropey"]