-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (70 loc) · 2.13 KB
/
Cargo.toml
File metadata and controls
75 lines (70 loc) · 2.13 KB
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
68
69
70
71
72
73
74
75
[package]
name = "oo7-daemon"
authors = ["Bilal Elmoussaoui", "Dhanuka Warusadura"]
description = "Server side implementation of the freedesktop Secret Service"
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[[bin]]
name = "oo7-daemon"
path = "src/main.rs"
[lib]
name = "oo7_daemon"
path = "src/lib.rs"
test = false
[dependencies]
ashpd = { workspace = true, features = ["backend", "secret", "tracing"] }
base64 = { version = "0.22", optional = true }
clap.workspace = true
enumflags2 = "0.7"
formatx = "0.2"
gettext-rs = { version = "0.7", features = ["gettext-system"] }
hkdf = { workspace = true, optional = true }
kwallet-parser = { version = "0.6.0-alpha", path = "../kwallet/parser", optional = true }
libc.workspace = true
num.workspace = true
num-bigint-dig.workspace = true
oo7 = { workspace = true, features = ["tokio"] }
openssl = { workspace = true, optional = true }
rpassword.workspace = true
rustix = { version = "1.1", default-features = false, features = ["process", "std", "thread", "mm"] }
serde.workspace = true
serde_repr.workspace = true
sha2 = { workspace = true, optional = true }
tempfile = { workspace = true, optional = true }
tokio = { workspace = true, features = ["full"] }
tokio-stream = "0.1"
tracing.workspace = true
tracing-subscriber.workspace = true
zbus = { workspace = true, features = ["p2p"] }
zeroize.workspace = true
[features]
test-util = ["dep:tempfile"]
default = ["native_crypto", "kwallet_migration"]
native_crypto = ["gnome_native_crypto", "plasma_native_crypto"]
openssl_crypto = ["gnome_openssl_crypto", "plasma_openssl_crypto"]
kwallet_migration = ["dep:kwallet-parser"]
gnome_native_crypto = [
"dep:base64",
"dep:hkdf",
"dep:sha2",
"oo7/native_crypto"
]
gnome_openssl_crypto = [
"dep:base64",
"dep:openssl",
"oo7/openssl_crypto"
]
plasma_native_crypto = [
"oo7/native_crypto",
]
plasma_openssl_crypto = [
"oo7/openssl_crypto"
]
[dev-dependencies]
rustix = { version = "1.1", default-features = false, features = ["net"] }
tempfile.workspace = true