1 | [package] |
2 | name = "zvariant" |
3 | version = "3.15.2" |
4 | authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>" ] |
5 | edition = "2018" |
6 | rust-version = "1.64" |
7 | |
8 | description = "D-Bus & GVariant encoding & decoding" |
9 | repository = "https://github.com/dbus2/zbus/" |
10 | keywords = ["D-Bus" , "DBus" , "IPC" , "GVariant" ] |
11 | license = "MIT" |
12 | categories = ["data-structures" , "encoding" , "parsing" ] |
13 | readme = "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. |
20 | default = ["gvariant" ] |
21 | # Also allow disabling D-Bus support |
22 | gvariant = [] |
23 | ostree-tests = ["gvariant" ] |
24 | |
25 | [dependencies] |
26 | byteorder = "1.4.3" |
27 | serde = { version = "1.0" , features = ["derive" ] } |
28 | arrayvec = { version = "0.7.2" , features = ["serde" ], optional = true } |
29 | enumflags2 = { version = "0.7.7" , features = ["serde" ], optional = true } |
30 | zvariant_derive = { version = "=3.15.2" , path = "../zvariant_derive" } |
31 | serde_bytes = { version = "0.11" , optional = true } |
32 | static_assertions = "1.1.0" |
33 | libc = "0.2.137" |
34 | uuid = { version = "1.2.1" , features = ["serde" ], optional = true } |
35 | url = { version = "2.3.1" , features = ["serde" ], optional = true } |
36 | time = { version = "0.3.16" , features = ["serde" ], optional = true } |
37 | chrono = { version = "0.4.23" , features = ["serde" ], default-features = false, optional = true } |
38 | |
39 | [dev-dependencies] |
40 | serde_json = "1.0" |
41 | serde_repr = "0.1.9" |
42 | glib = "0.17.9" |
43 | rand = "0.8.5" |
44 | criterion = "0.4" |
45 | |
46 | [lib] |
47 | bench = false |
48 | |
49 | [[bench]] |
50 | name = "benchmarks" |
51 | harness = false |
52 | |
53 | [package.metadata.docs.rs] |
54 | all-features = true |
55 | |