-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (59 loc) · 1.4 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (59 loc) · 1.4 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
[workspace]
members = [
"libbz2-rs-sys",
"test-libbz2-rs-sys",
]
exclude = [
"libbz2-rs-sys-cdylib",
]
[workspace.package]
version = "0.2.5"
edition = "2021"
license = "bzip2-1.0.6"
repository = "https://github.com/trifectatechfoundation/libbzip2-rs"
homepage = "https://github.com/trifectatechfoundation/libbzip2-rs"
readme = "./README.md"
description = "a drop-in compatible rust bzip2 implementation"
publish = true
rust-version = "1.82" # MSRV
[workspace.dependencies]
libc = "0.2"
[workspace.dependencies.libbz2-rs-sys]
path = "libbz2-rs-sys/"
default-features = false
version = "0.2.5"
[profile.relwithdebinfo]
inherits = "release"
debug = true
[package]
name = "bzip2-cli"
readme.workspace = true
description.workspace = true
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
publish.workspace = true
rust-version.workspace = true
include = [
"bzip2.rs",
"bzip2recover.rs",
"Cargo.toml",
"./README.md",
"./LICENSE",
]
[[bin]]
name = "bzip2"
path = "bzip2.rs"
[[bin]]
name = "bzip2recover"
path = "bzip2recover.rs"
[dependencies]
libc.workspace = true
# we need `std` here, because we test the log output of the binaries, and those only
# get printed when std is enabled.
libbz2-rs-sys = { workspace = true, features = ["stdio", "c-allocator"] }
[dev-dependencies]
tempfile = "3.13.0"
crc32fast = "=1.4.2"