forked from SoftbearStudios/bitcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (39 loc) · 1.29 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
[workspace]
members = [
"bitcode_derive",
]
[package]
name = "bitcode"
authors = [ "Cai Bear", "Finn Bear" ]
version = "0.6.0-beta.1"
edition = "2021"
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.0-beta.1", path = "./bitcode_derive", optional = true }
bytemuck = { version = "1.14", features = [ "min_const_generics", "must_cast" ] }
glam = { version = "0.22", default-features = false, features = [ "std" ], optional = true }
serde = { version = "1.0", optional = true }
[dev-dependencies]
arrayvec = { version = "0.7", features = [ "serde" ] }
bincode = "1.3.3"
flate2 = "1.0.28"
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 = [ "bitcode_derive" ]
default = [ "derive" ]
[package.metadata.docs.rs]
features = [ "derive", "serde" ]
# TODO halfs speed of benches_borrowed::bench_bitcode_decode
#[profile.bench]
#lto = true