-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
58 lines (50 loc) · 1.36 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
[package]
name = "rpmrepo_metadata"
version = "0.3.0"
authors = ["Daniel Alley <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
description = "A library for parsing RPM repository metadata."
include = ["/src", "/benches", "/pyproject.toml", "/README.md"]
readme = "README.md"
repository = "https://github.com/dralley/rpmrepo_metadata/"
homepage = "https://github.com/dralley/rpmrepo_metadata/"
documentation = "https://docs.rs/rpmrepo_metadata/"
[features]
python_ext = ["pyo3"]
read_rpm = ["rpm"]
[dependencies]
quick-xml = { version = "0.23.0", default-features = false }
# rayon = "1.5.1"
thiserror = "1.0.40"
niffler = { version = "2.5.0", features = ["bz2", "xz", "gz", "zstd"], default-features = false }
rpm = { version = "0.12.0", default-features = false, optional = true }
# tempdir = "0.3.7"
digest = "0.10.6"
sha1 = "0.10.5"
sha2 = "0.10.6"
md-5 = "0.10.5"
# bitflags = "1.3.2"
hex = "0.4.3"
indexmap = "2.0.0"
pyo3 = { version = "0.20.0", features = ["extension-module"], optional = true }
[lib]
name = "rpmrepo_metadata"
crate-type = ["lib", "cdylib"]
[dev-dependencies]
tempdir = "0.3.7"
pretty_assertions = "1.1.0"
once_cell = "1.17.0"
criterion = "0.5.1"
[[test]]
name = "package"
required-features = ["read_rpm"]
path = "tests/package.rs"
[[bench]]
name = "repository"
harness = false
[profile.dev]
opt-level = 1
[profile.release]
debuginfo = 1
lto = "thin"