-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
50 lines (43 loc) · 1.29 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
[package]
name = "bodhi"
description = "bodhi REST API client"
license = "MIT OR Apache-2.0"
version = "2.2.0"
edition = "2021"
rust-version = "1.71.0"
authors = ["Fabio Valentini <[email protected]>"]
readme = "README.md"
exclude = ["/tests/", "/.github/", "/rustfmt.toml"]
categories = ["api-bindings"]
keywords = ["fedora", "bodhi", "REST", "client"]
repository = "https://github.com/ironthree/bodhi-rs"
[features]
default = ["offline-tests"]
# feature flag for offline tests without prerequisites
offline-tests = []
# feature flag for tests requiring internet connection
online-tests = []
# feature flag for tests requiring big data files
data-tests = []
[dependencies]
chrono = { version = "0.4.19", features = ["std"], default-features = false }
fedora = "2.0.1"
log = "0.4.14"
once_cell = "1.0"
regex = "1.5.4"
serde = { version = "1.0.134", features = ["derive"] }
serde_repr = "0.1.7"
serde_json = "1.0.78"
serde_url_params = "0.2.1"
thiserror = "1.0.30"
tokio = { version = "1.14", features = ["time"] }
[dev-dependencies]
chrono = { version = "0.4.19", features = ["std", "clock"], default-features = false }
env_logger = "0.11"
quickcheck = "1.0"
rpassword = "7.0"
tokio = { version = "1.14", features = ["macros", "rt-multi-thread"] }
[profile.release]
codegen-units = 1
lto = true
opt-level = 3