File: Cargo.toml.orig

package info (click to toggle)
rust-zvariant 5.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 668 kB
  • sloc: makefile: 2
file content (67 lines) | stat: -rw-r--r-- 1,929 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "zvariant"
version = "5.2.0"
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
edition = "2021"
rust-version = { workspace = true }

description = "D-Bus & GVariant encoding & decoding"
repository = "https://github.com/dbus2/zbus/"
keywords = ["D-Bus", "DBus", "IPC", "GVariant"]
license = "MIT"
categories = ["data-structures", "encoding", "parsing"]
readme = "README.md"

[features]
default = []
# FIXME: Also allow disabling D-Bus support
gvariant = ["zvariant_derive/gvariant", "zvariant_utils/gvariant"]
ostree-tests = ["gvariant"]
# Enables ser/de of `Option<T>` as an array of 0 or 1 elements.
option-as-array = []
camino = ["dep:camino"]

[dependencies]
zvariant_derive = { version = "=5.2.0", path = "../zvariant_derive" }
zvariant_utils = { version = "3.1.0", path = "../zvariant_utils" }
endi = "1.1.0"
serde = { version = "1.0.200", features = ["derive"] }
static_assertions = "1.1.0"
winnow = "0.6"

# Optional dependencies

arrayvec = { version = "0.7.4", features = ["serde"], optional = true }
enumflags2 = { version = "0.7.9", features = ["serde"], optional = true }
serde_bytes = { version = "0.11.14", optional = true }
uuid = { version = "1.8.0", features = ["serde"], optional = true }
url = { version = "2.5.0", features = ["serde"], optional = true }
time = { version = "0.3.36", features = ["serde"], optional = true }
chrono = { version = "0.4.38", features = [
    "serde",
], default-features = false, optional = true }
heapless = { version = "0.8.0", features = ["serde"], optional = true }
camino = { version = "1.1.9", optional = true }

[dev-dependencies]
serde_json = "1.0.116"
serde_repr = "0.1.19"
rand = "0.8.5"
criterion = "0.5.1"
chrono = { version = "0.4.38", features = [
    "serde",
    "alloc",
], default-features = false }

[lib]
bench = false

[[bench]]
name = "benchmarks"
harness = false

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

[lints]
workspace = true