zvariant 5.10.0

D-Bus & GVariant encoding & decoding
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"
rust-version = "1.87"
name = "zvariant"
version = "5.10.0"
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
build = false
autolib = 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/z-galaxy/zbus/"

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

[features]
camino = ["dep:camino"]
default = []
gvariant = [
    "zvariant_derive/gvariant",
    "zvariant_utils/gvariant",
]
option-as-array = []
ostree-tests = ["gvariant"]

[lib]
name = "zvariant"
path = "src/lib.rs"
bench = false

[[test]]
name = "array_string_value"
path = "tests/array_string_value.rs"

[[test]]
name = "array_value"
path = "tests/array_value.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "derive"
path = "tests/derive.rs"

[[test]]
name = "dict_compare"
path = "tests/dict_compare.rs"

[[test]]
name = "dict_value"
path = "tests/dict_value.rs"

[[test]]
name = "enums"
path = "tests/enums.rs"

[[test]]
name = "fd_value"
path = "tests/fd_value.rs"

[[test]]
name = "heapless_string_value"
path = "tests/heapless_string_value.rs"

[[test]]
name = "issues"
path = "tests/issues.rs"

[[test]]
name = "numbers"
path = "tests/numbers.rs"

[[test]]
name = "object_path_value"
path = "tests/object_path_value.rs"

[[test]]
name = "ostree_de"
path = "tests/ostree_de.rs"

[[test]]
name = "recursion_limits"
path = "tests/recursion_limits.rs"

[[test]]
name = "serde_bytes"
path = "tests/serde_bytes.rs"

[[test]]
name = "serde_bytes_gvariant"
path = "tests/serde_bytes_gvariant.rs"

[[test]]
name = "serialized_size"
path = "tests/serialized_size.rs"

[[test]]
name = "signature"
path = "tests/signature.rs"

[[test]]
name = "str_value"
path = "tests/str_value.rs"

[[test]]
name = "struct_byte_array"
path = "tests/struct_byte_array.rs"

[[test]]
name = "struct_ref"
path = "tests/struct_ref.rs"

[[test]]
name = "struct_value"
path = "tests/struct_value.rs"

[[test]]
name = "struct_with_hashmap"
path = "tests/struct_with_hashmap.rs"

[[test]]
name = "unit"
path = "tests/unit.rs"

[[test]]
name = "unit_fds"
path = "tests/unit_fds.rs"

[[test]]
name = "value_value"
path = "tests/value_value.rs"

[[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.9.0"
features = ["serde"]
optional = true

[dependencies.serde]
version = "1.0.200"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11.14"
optional = true

[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.7"

[dependencies.zvariant_derive]
version = "5.10.0"

[dependencies.zvariant_utils]
version = "3.3.0"

[dev-dependencies.chrono]
version = "0.4.38"
features = [
    "serde",
    "serde",
    "alloc",
]
default-features = false

[dev-dependencies.criterion]
version = "4.0.4"
package = "codspeed-criterion-compat"

[dev-dependencies.fastrand]
version = "2.3.0"

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

[dev-dependencies.serde_repr]
version = "0.1.19"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]