# 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 = "clap-adapters" version = "0.2.2" description = "Neat adapters for parsing config files with clap" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/nicholastmosher/clap-adapters" [[example]] name = "reloading" path = "examples/reloading.rs" required-features = [ "reloading", "tokio/full", ] [dependencies.anyhow] version = "1.0.75" [dependencies.clap] version = "4.4.11" features = [ "derive", "env", ] [dependencies.notify] version = "6.1.1" optional = true [dependencies.serde] version = "1.0.193" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.serde_yaml] version = "0.9.27" [dependencies.tokio] version = "1.34.0" features = ["sync"] optional = true [dependencies.tokio-stream] version = "0.1.14" features = ["sync"] optional = true [dependencies.toml] version = "0.8.8" [dependencies.tracing] version = "0.1.40" [dev-dependencies.anyhow] version = "1.0.75" [dev-dependencies.tempfile] version = "3.8.1" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = ["full"] full = [ "reloading", "periodic", ] periodic = [ "tokio", "tokio-stream", ] reloading = [ "tokio/rt", "tokio-stream", "notify", ]