1[package]
2name = "zvariant"
3version = "3.15.2"
4authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
5edition = "2018"
6rust-version = "1.64"
7
8description = "D-Bus & GVariant encoding & decoding"
9repository = "https://github.com/dbus2/zbus/"
10keywords = ["D-Bus", "DBus", "IPC", "GVariant"]
11license = "MIT"
12categories = ["data-structures", "encoding", "parsing"]
13readme = "README.md"
14
15[features]
16# If you want to completely avoid compiling glib even when compiling tests or
17# examples, disable the gvariant default feature and comment out the glib
18# dev-dependency below. Dev-dependencies can't be made optional, and hence can't
19# be disabled with a feature so you have to do it manually.
20default = ["gvariant"]
21# Also allow disabling D-Bus support
22gvariant = []
23ostree-tests = ["gvariant"]
24
25[dependencies]
26byteorder = "1.4.3"
27serde = { version = "1.0", features = ["derive"] }
28arrayvec = { version = "0.7.2", features = ["serde"], optional = true }
29enumflags2 = { version = "0.7.7", features = ["serde"], optional = true }
30zvariant_derive = { version = "=3.15.2", path = "../zvariant_derive" }
31serde_bytes = { version = "0.11", optional = true }
32static_assertions = "1.1.0"
33libc = "0.2.137"
34uuid = { version = "1.2.1", features = ["serde"], optional = true }
35url = { version = "2.3.1", features = ["serde"], optional = true }
36time = { version = "0.3.16", features = ["serde"], optional = true }
37chrono = { version = "0.4.23", features = ["serde"], default-features = false, optional = true }
38
39[dev-dependencies]
40serde_json = "1.0"
41serde_repr = "0.1.9"
42glib = "0.17.9"
43rand = "0.8.5"
44criterion = "0.4"
45
46[lib]
47bench = false
48
49[[bench]]
50name = "benchmarks"
51harness = false
52
53[package.metadata.docs.rs]
54all-features = true
55