# 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" rust-version = "1.80" name = "zvariant" version = "5.1.0" authors = ["Zeeshan Ali Khan "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "D-Bus & GVariant encoding & decoding" readme = "README.md" keywords = [ "D-Bus", "DBus", "IPC", "GVariant", ] categories = [ "data-structures", "encoding", "parsing", ] license = "MIT" repository = "https://github.com/dbus2/zbus/" [package.metadata.docs.rs] all-features = true [lib] name = "zvariant" path = "src/lib.rs" bench = false [[bench]] name = "benchmarks" path = "benches/benchmarks.rs" harness = false [dependencies.arrayvec] version = "0.7.4" features = ["serde"] optional = true [dependencies.camino] version = "1.1.9" optional = true [dependencies.chrono] version = "0.4.38" features = ["serde"] optional = true default-features = false [dependencies.endi] version = "1.1.0" [dependencies.enumflags2] version = "0.7.9" features = ["serde"] optional = true [dependencies.heapless] version = "0.8.0" features = ["serde"] optional = true [dependencies.serde] version = "1.0.200" features = ["derive"] [dependencies.serde_bytes] version = "0.11.14" optional = true [dependencies.static_assertions] version = "1.1.0" [dependencies.time] version = "0.3.36" features = ["serde"] optional = true [dependencies.url] version = "2.5.0" features = ["serde"] optional = true [dependencies.uuid] version = "1.8.0" features = ["serde"] optional = true [dependencies.winnow] version = "0.6" [dependencies.zvariant_derive] version = "=5.1.0" [dependencies.zvariant_utils] version = "3.0.0" [dev-dependencies.chrono] version = "0.4.38" features = [ "serde", "alloc", ] default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.glib] version = "0.20.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0.116" [dev-dependencies.serde_repr] version = "0.1.19" [features] camino = ["dep:camino"] default = [] gvariant = [ "zvariant_derive/gvariant", "zvariant_utils/gvariant", ] option-as-array = [] ostree-tests = ["gvariant"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tokio_unstable)"]