# 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 = "envstruct" version = "1.0.10" authors = ["Alfatm <alfatm@gmail.com>"] description = "Convert the environment variables into a structured configuration" documentation = "https://docs.rs/envstruct" keywords = [ "config", "env", "macro", "configuration", "environment", ] categories = ["config"] license = "MPL-2.0" repository = "https://github.com/volkagames/envstruct.git" resolver = "2" [[example]] name = "usage" path = "example/usage.rs" [[example]] name = "basic" path = "example/basic.rs" [dependencies.bytesize] version = "1" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.envstruct_derive] version = "1.0" [dependencies.humantime] version = "2" optional = true [dependencies.paste] version = "1.0.15" [dependencies.prettytable-rs] version = "0.10" [dependencies.regex] version = "1" optional = true [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "2" [dependencies.url] version = "2" optional = true [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serial_test] version = "3.2.0" [dev-dependencies.strum] version = "0.26" features = ["derive"] [dev-dependencies.trybuild] version = "1.0.103" [features] bytesize = ["dep:bytesize"] chrono = ["dep:chrono"] default = [ "bytesize", "chrono", "humantime", "regex", "serde_json", "url", "env_uppercase", ] env_uppercase = [] humantime = ["dep:humantime"] regex = ["dep:regex"] serde_json = [ "dep:serde_json", "dep:serde", ] url = ["dep:url"]