# 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 = "encrypt_config" version = "1.0.7" authors = ["Louis <836250617@qq.com>"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust crate to manage, persist and encrypt your configurations." documentation = "https://docs.rs/encrypt-config" readme = "README.md" keywords = [ "config", "encryption", ] license = "MIT" repository = "https://github.com/kingwingfly/encrypt-config" [package.metadata.docs.rs] features = [ "full", "mock", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "encrypt_config" path = "src/lib.rs" [dependencies.dirs] version = "5.0.1" optional = true [dependencies.encrypt_config_derive] version = "1.0.5" optional = true default-features = false [dependencies.rand] version = "0.8.5" optional = true [dependencies.rom_cache] version = "0.0.12" [dependencies.rsa] version = "0.9.6" features = ["serde"] optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.snafu] version = "0.7.5" [features] default = [] default_config_dir = [ "dep:dirs", "encrypt_config_derive?/default_config_dir", ] derive = ["dep:encrypt_config_derive"] full = [ "persist", "secret", "derive", ] mock = [] persist = ["encrypt_config_derive?/persist"] secret = [ "dep:rsa", "dep:rand", "dep:keyring", "persist", "encrypt_config_derive?/secret", ] [target.'cfg(target_os = "freebsd")'.dependencies.keyring] version = "3.0.5" features = ["linux-native"] optional = true default-features = false [target.'cfg(target_os = "ios")'.dependencies.keyring] version = "3.0.5" features = ["apple-native"] optional = true default-features = false [target.'cfg(target_os = "linux")'.dependencies.keyring] version = "3.0.5" features = ["linux-native"] optional = true default-features = false [target.'cfg(target_os = "macos")'.dependencies.keyring] version = "3.0.5" features = ["apple-native"] optional = true default-features = false [target.'cfg(target_os = "openbsd")'.dependencies.keyring] version = "3.0.5" features = ["linux-native"] optional = true default-features = false [target.'cfg(target_os = "windows")'.dependencies.keyring] version = "3.0.5" features = ["windows-native"] optional = true default-features = false