forked from SoftbearStudios/bitcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (48 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
56 lines (48 loc) · 1.82 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
[workspace]
members = [
"bitcode_derive",
]
[package]
name = "bitcode"
authors = [ "Cai Bear", "Finn Bear" ]
version = "0.6.90"
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SoftbearStudios/bitcode"
description = "bitcode is a bitwise binary serializer"
exclude = ["fuzz/"]
[dependencies]
arrayvec = { version = "0.7", default-features = false, optional = true }
bitcode_derive = { version = "=0.6.7", path = "./bitcode_derive", optional = true }
bytemuck = { version = "1.14", features = [ "min_const_generics", "must_cast" ] }
glam = { version = ">=0.30", default-features = false, optional = true }
rust_decimal = { version = "1.36", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = [ "alloc" ], optional = true }
time = { version = "0.3", default-features = false, optional = true }
uuid = { version = "1.10", default-features = false, optional = true }
rend = { version = "0.5", optional = true }
[dev-dependencies]
arrayvec = { version = "0.7", features = [ "serde" ] }
bincode = "1.3.3"
flate2 = "1.0.28"
glam = { version = "0.30", default-features = false, features = [ "rand" ] }
lz4_flex = { version = "=0.11.2", default-features = false }
paste = "1.0.14"
rand = "0.8.5"
rand_chacha = "0.3.1"
serde = { version = "1.0", features = [ "derive" ] }
# zstd doesn't compile with miri big-endian.
[target.'cfg(not(miri))'.dev-dependencies]
zstd = "0.13.0"
[features]
derive = [ "dep:bitcode_derive" ]
std = [ "serde?/std", "glam?/std", "arrayvec?/std" ]
default = [ "derive", "std", "rend" ]
[package.metadata.docs.rs]
features = [ "derive", "serde", "std" ]
# TODO halfs speed of benches_borrowed::bench_bitcode_decode
#[profile.bench]
#lto = true
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }