# 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 = "cidr-calculator" version = "0.2.0" description = "CIDR addition / subtraction calculator. Maybe useful for setting route tables when metrics are not available (e.g. wireguard next-hop)" readme = "README.md" license = "MIT" repository = "https://github.com/CircuitCoder/cidr-calc" [[bin]] name = "cidr-calculator" required-features = ["cli"] [dependencies.anyhow] version = "1.0.75" [dependencies.clap] version = "4.4.6" features = ["derive"] optional = true [dependencies.im] version = "15.1.0" [dependencies.pest] version = "2.7.4" [dependencies.pest_derive] version = "2.7.4" [dependencies.rustyline] version = "12.0.0" optional = true [features] cli = [ "dep:rustyline", "dep:clap", ] default = ["cli"]