-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (40 loc) · 1.22 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
[package]
name = "bytecon"
version = "0.4.0"
edition = "2021"
authors = ["Austin Heller"]
description = "A trait for easily converting to-and-from an array of bytes."
readme = "README.md"
repository = "https://github.com/AustinHellerRepo/bytecon"
license = "MIT OR Apache-2.0"
keywords = ["encoding", "trait", "serialization", "networking", "streaming"]
categories = ["encoding"]
[features]
default = ["base"]
base = []
burn = ["dep:burn"]
burn_dtype = ["dep:burn"]
tokio = ["dep:tokio", "dep:tokio-rustls"]
bincode = []
rand = ["dep:rand", "dep:rand_chacha"]
rustls = ["dep:rustls"]
bevy = ["dep:bevy", "glam"]
glam = ["dep:glam"]
[dependencies]
bevy = { version = "0.15", optional = true }
bincode = { version = "1" }
burn = { version = "0.14", optional = true }
glam = { version = "0.29", optional = true }
paste = { version = "1" }
rand = { version = "0.8", optional = true }
rand_chacha = { version = "0.3", optional = true }
rustls = { version = "0.21", optional = true }
serde = { version = "1" }
thiserror = { version = "2" }
tokio = { version = "1", features = ["full"], optional = true }
tokio-rustls = { version = "0.23", optional = true }
[dev-dependencies]
criterion = { version = "0.5" }
[[bench]]
name = "bincode_bench"
harness = false