tanzim-validate 0.8.0

Validate and coerce tanzim-value configuration trees
Documentation
# 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 = "2024"
name = "tanzim-validate"
version = "0.8.0"
build = false
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "README.md",
    "../../LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Validate and coerce tanzim-value configuration trees"
homepage = "https://crates.io/crates/tanzim-validate"
documentation = "https://docs.rs/tanzim-validate"
readme = "README.md"
keywords = [
    "config",
    "validation",
    "schema",
    "validate",
]
categories = ["config"]
license = "BSD-3-Clause"
repository = "https://github.com/pouriya/tanzim"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
boolean = []
bytesize = ["dep:bytesize"]
cidr = ["dep:ipnet"]
datetime = ["dep:jiff"]
default = [
    "boolean",
    "either",
    "enumeration",
    "float",
    "integer",
    "list",
    "net",
    "non_empty",
    "number",
    "path",
    "percentage",
    "static_map",
    "string",
    "dynamic_map",
]
duration = ["dep:humantime"]
dynamic_map = []
either = []
encoding = ["dep:base64"]
enumeration = []
float = ["number"]
full = [
    "boolean",
    "either",
    "enumeration",
    "float",
    "integer",
    "list",
    "net",
    "non_empty",
    "number",
    "path",
    "percentage",
    "static_map",
    "string",
    "dynamic_map",
    "regex",
    "url",
    "cidr",
    "uuid",
    "semver",
    "encoding",
    "duration",
    "bytesize",
    "datetime",
    "schema",
]
integer = ["number"]
list = []
logging = ["dep:log"]
net = ["integer"]
non_empty = []
number = []
path = []
percentage = []
regex = ["dep:regex"]
schema = ["dep:serde"]
semver = ["dep:semver"]
static_map = []
string = []
tracing = ["dep:tracing"]
url = ["dep:url"]
uuid = ["dep:uuid"]

[lib]
name = "tanzim_validate"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.bytesize]
version = "1"
optional = true

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.humantime]
version = "2"
optional = true

[dependencies.ipnet]
version = "2"
optional = true

[dependencies.jiff]
version = "0.1"
optional = true

[dependencies.log]
version = "0.4.20"
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.semver]
version = "1"
optional = true

[dependencies.serde]
version = "1"
optional = true

[dependencies.tanzim-value]
version = "0.8.0"

[dependencies.tracing]
version = "0.1.40"
optional = true

[dependencies.url]
version = "2"
optional = true

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.serde_json]
version = "1"