g3/lib/g3-yaml/Cargo.toml
2023-05-30 10:21:20 +08:00

51 lines
1.7 KiB
TOML

[package]
name = "g3-yaml"
version = "0.4.0"
license.workspace = true
edition.workspace = true
rust-version = "1.66.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow.workspace = true
yaml-rust.workspace = true
humanize-rs.workspace = true
idna.workspace = true
ascii.workspace = true
chrono.workspace = true
url.workspace = true
rand.workspace = true
ip_network = { workspace = true, optional = true }
regex = { workspace = true, optional = true }
rustls = { workspace = true, optional = true }
rustls-pemfile = { workspace = true, optional = true }
openssl = { workspace = true, optional = true }
http = { workspace = true, optional = true }
g3-types.workspace = true
g3-syslog = { workspace = true, optional = true }
g3-fluentd = { workspace = true, optional = true }
g3-statsd = { workspace = true, optional = true }
g3-ftp-client = { workspace = true, optional = true }
g3-runtime = { workspace = true, optional = true }
g3-compat = { workspace = true, optional = true }
g3-dpi = { workspace = true, optional = true }
g3-tls-cert = { workspace = true, optional = true }
g3-icap-client = { workspace = true, optional = true }
[features]
default = []
syslog = ["g3-syslog"]
fluentd = ["g3-fluentd", "openssl"]
statsd = ["g3-statsd"]
resolve = ["g3-types/resolve"]
rustls = ["g3-types/rustls", "dep:rustls", "dep:rustls-pemfile"]
openssl = ["g3-types/openssl", "dep:openssl"]
http = ["g3-types/http", "dep:http"]
proxy = ["g3-types/proxy"]
acl-rule = ["g3-types/acl-rule", "dep:ip_network", "dep:regex", "proxy"]
route = ["g3-types/route"]
ftp-client = ["g3-ftp-client"]
sched = ["g3-runtime", "g3-compat"]
dpi = ["g3-dpi", "g3-tls-cert"]
icap = ["g3-icap-client", "http"]