-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
74 lines (67 loc) · 2.55 KB
/
Cargo.toml
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
[package]
name = "oma"
version = "1.3.14"
edition = "2021"
description = "Package management interface for AOSC OS"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Cli
clap = { version = "4.2.4", features = ["cargo", "wrap_help", "color", "string"] }
once_cell = "1.18"
anyhow = "1.0"
ctrlc = "3.4"
tabled = { version = "0.15", features = ["ansi"] }
dialoguer = "0.11"
tokio = "1.34"
derive_builder = "0.20.0"
oma-inquire = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
dashmap = "5.5"
chrono = "0.4"
rustix = { version = "0.38.31", features = ["process"] }
colored = { version = "2.0.4", optional = true }
image = { version = "0.25", optional = true }
libc = "0.2"
reqwest = { version = "0.12", default_features = false }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
smallvec = "1.11"
console-subscriber = { version = "0.2", optional = true }
ratatui = "0.26"
crossterm = "0.27"
ansi-to-tui = "4.0"
glob-match = "0.2"
# oma crates
oma-utils = { path = "./oma-utils", features = ["dbus", "human-bytes", "oma"] }
oma-console = { path = "./oma-console" }
oma-pm = { path = "./oma-pm" }
oma-refresh = { path = "./oma-refresh", default_features = false }
oma-contents = { path = "./oma-contents" }
oma-fetch = { path = "./oma-fetch", default_features = false }
oma-topics = { path = "./oma-topics", optional = true, default_features = false }
oma-history = { path = "./oma-history" }
# i18n
i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"]}
i18n-embed-fl = "0.8"
rust-embed = "^8"
unic-langid = "0.9"
[build-dependencies]
clap_mangen = "0.2.10"
clap_complete = "4.2"
clap = { version = "4.3", features = ["cargo", "wrap_help", "color", "string"] }
anyhow = "1.0.75"
[features]
aosc = ["dep:oma-topics", "oma-refresh/aosc"]
contents-without-rg = ["oma-contents/no-rg-binary"]
sequoia-openssl-backend = ["oma-refresh/sequoia-openssl-backend"]
sequoia-nettle-backend = ["oma-refresh/sequoia-nettle-backend"]
egg = ["dep:colored", "dep:image"]
tokio-console = ["dep:console-subscriber"]
rustls = ["reqwest/rustls-tls", "oma-fetch/rustls", "oma-refresh/rustls", "oma-topics/rustls"]
openssl = ["reqwest/native-tls", "oma-fetch/native-tls", "oma-refresh/native-tls", "oma-topics/native-tls"]
generic = ["sequoia-nettle-backend", "rustls"]
default = ["aosc", "generic"]
[workspace]
members = ["oma-contents", "oma-console", "oma-topics", "oma-fetch", "oma-refresh", "oma-utils", "oma-pm", "oma-history", "oma-pm-operation-type"]