# 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" rust-version = "1.75" name = "bgpfu-netconf" version = "0.1.0" authors = ["Ben Maddison "] description = "A toolset for working with IRR data" readme = "README.md" keywords = [ "irr", "rpsl", "bgp", ] categories = [ "network-programming", "database", ] license = "MIT" repository = "https://github.com/bgpfu/bgpfu-rs" [lib] name = "netconf" [[example]] name = "ssh" required-features = ["ssh"] [[example]] name = "tls" required-features = ["tls"] [[example]] name = "ephemeral" required-features = [ "tls", "junos", ] [dependencies.async-trait] version = "^0.1" [dependencies.bytes] version = "^1.0" [dependencies.chrono] version = "^0.4" optional = true [dependencies.iri-string] version = "^0.7" [dependencies.memchr] version = "^2.0" [dependencies.paste] version = "^1.0" optional = true [dependencies.quick-xml] version = "^0.31" [dependencies.russh] version = "^0.39" optional = true [dependencies.russh-keys] version = "^0.38" optional = true [dependencies.rustls-pki-types] version = "^1.0" optional = true [dependencies.thiserror] version = "^1.0" [dependencies.tokio] version = "^1.0" default-features = false [dependencies.tokio-rustls] version = "^0.25" optional = true [dependencies.tracing] version = "^0.1" features = ["log"] [dependencies.uuid] version = "^1.0" features = [ "v4", "fast-rng", ] [dev-dependencies.anyhow] version = "^1.0" [dev-dependencies.clap] version = "^4.0" features = ["derive"] [dev-dependencies.clap-verbosity-flag] version = "^2.0" [dev-dependencies.rustls-pemfile] version = "^2.0" [dev-dependencies.tokio] version = "^1.0" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tracing-log] version = "^0.2" [dev-dependencies.tracing-subscriber] version = "^0.3" [dev-dependencies.version-sync] version = "^0.9" [features] default = [ "ssh", "tls", ] junos = [ "dep:chrono", "dep:paste", "tokio/process", ] ssh = [ "dep:russh", "dep:russh-keys", ] tls = [ "dep:tokio-rustls", "dep:rustls-pki-types", "tokio/sync", "tokio/io-util", "tokio/macros", "tokio/net", ]