-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
43 lines (36 loc) · 1.26 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
[workspace]
members = [
"zlib-rs",
"libz-rs-sys",
"test-libz-rs-sys",
"dynamic-libz-sys",
]
exclude = [
"libz-rs-sys-cdylib",
]
# Without the `-p` flag, cargo ignores `--no-default-features` when you have a
# workspace, and without `resolver = "2"` here, you can't use `-p` like this.
resolver = "2"
# Global settings for our crates
[workspace.package]
version = "0.4.0"
edition = "2021"
license = "Zlib"
repository = "https://github.com/trifectatechfoundation/zlib-rs"
homepage = "https://github.com/trifectatechfoundation/zlib-rs"
readme = "./README.md"
description = "A memory-safe zlib implementation written in rust"
publish = true
rust-version = "1.75" # MSRV
[profile.release]
debug = true
[profile.dev]
opt-level = 1 # required for the tail calls in inflate to optimize
[workspace.dependencies]
libloading = "0.8.1"
libz-sys = { version = "1.1.19", default-features = false, features = ["zlib-ng"] } # use libz-ng in libz compat mode
arbitrary = { version = "1.0" }
quickcheck = { version = "1.0.3", default-features = false, features = [] }
libz-rs-sys = { version = "0.4.0", path = "./libz-rs-sys", default-features = false }
zlib-rs = { version = "0.4.0", path = "./zlib-rs", default-features = false }
dynamic-libz-sys = { path = "./dynamic-libz-sys" }