-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
53 lines (46 loc) · 1.2 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
[workspace]
members = [
"libbz2-rs-sys",
"test-libbz2-rs-sys",
]
exclude = [
"libbz2-rs-sys-cdylib",
]
[workspace.package]
version = "0.1.1"
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"
libbz2-rs-sys = { path = "libbz2-rs-sys/", default-features = false }
[package]
name = "libbzip2-rs"
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
[[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"