-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
92 lines (85 loc) · 2.67 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "buffrs"
version = "0.9.0"
edition = "2021"
description = "Modern protobuf package management"
authors = [
"André Sá De Mello <[email protected]>",
"James Baker <[email protected]>",
"Mara Schulke <[email protected]>",
"Patrick Elsen <[email protected]>",
"Quentin Santos <[email protected]>",
"Robert Fink <[email protected]>",
"Thomas Pellissier-Tanon <[email protected]>",
"Tom Karwowski <[email protected]>",
]
repository = "https://github.com/helsing-ai/buffrs"
documentation = "https://docs.rs/buffrs"
keywords = ["protobuf", "protocol", "buffers", "package", "distribution"]
categories = ["command-line-utilities"]
readme = "README.md"
license = "Apache-2.0"
exclude = ["/.github", "/tests"]
[[bin]]
name = "buffrs"
path = "src/main.rs"
required-features = ["git", "validation"]
[[test]]
name = "e2e"
path = "tests/lib.rs"
test = true
[features]
default = ["git", "validation"]
validation = ["dep:anyhow", "dep:protobuf", "dep:protobuf-parse", "dep:diff-struct"]
git = []
[dependencies]
async-recursion = "1.0.5"
anyhow = { version = "1.0", optional = true }
bytes = "1.0"
clap = { version = "4.3", features = ["cargo", "derive"] }
diff-struct = { version = "0.5.3", optional = true }
flate2 = "1"
hex = "0.4.3"
home = "0.5.5"
human-panic = "2"
miette = { version = "5.10.0", features = ["fancy"] }
protobuf = { version = "3.3.0", optional = true }
protobuf-parse = { version = "3.3.0", optional = true }
reqwest = { version = "0.11", features = ["rustls-tls-native-roots"], default-features = false }
semver = { version = "1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tar = "0.4"
thiserror = "1.0.49"
tokio = { version = "^1.26", features = ["fs", "rt", "macros", "process", "io-std", "tracing"] }
toml = "0.8.0"
tracing = "0.1"
tracing-subscriber = "0.3"
url = { version = "2.4", features = ["serde"] }
walkdir = "2"
sha2 = "0.10.8"
strum = { version = "0.26.2", features = ["derive"] }
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.0"
axum = { version = "0.7.2", default-features = false, features = ["tokio", "http1"] }
fs_extra = "1.3"
gix = { version = "0.63", default-features = false }
hex = "0.4.3"
paste = "1.0.14"
predicates = "3.0"
pretty_assertions = "1.4"
serde_json = { version = "1.0.107" }
serde_test = "1.0.176"
similar-asserts = "1.5.0"
tokio = { version = "^1.26", features = ["rt-multi-thread"] }
[profile.deb]
inherits = "release"
debug = false
[package.metadata.deb]
section = "utils"
assets = [
["target/release/buffrs", "usr/bin/", "755"],
["LICENSE", "usr/share/doc/buffrs/", "644"],
["README.md", "usr/share/doc/buffrs/README", "644"],
]