-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (57 loc) · 1.3 KB
/
Cargo.toml
File metadata and controls
69 lines (57 loc) · 1.3 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
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "infotheory"
version = "1.0.3"
edition = "2024"
license = "ISC OR Apache-2.0"
homepage = "https://infotheory.tech"
description = "The algorithmic information theory library."
autobins = false
[workspace]
members = [".", "zpaq_rs"]
exclude = ["nyx-lite"]
resolver = "3"
[workspace.lints.rust]
warnings = "warn"
[workspace.lints.clippy]
all = "warn"
[dependencies]
zpaq_rs = { version = "1.0.4", optional = true }
nyx-lite = { path = "./nyx-lite", optional = true }
rayon = "1.11.0"
num_cpus = "1.17.0"
once_cell = "1.21.3"
serde_json = "1.0.149"
anyhow = "1.0.100"
ahash = { version = "0.8.12", default-features = false, features = ["std", "no-rng"] }
crc32fast = "1.5.0"
wide = "1.1.1"
[features]
default = ["backend-rosa", "backend-rwkv", "backend-zpaq"]
backend-rosa = []
backend-rwkv = []
backend-zpaq = ["dep:zpaq_rs"]
cli = []
vm = ["dep:nyx-lite", "backend-rosa", "backend-rwkv", "backend-zpaq"]
[[bin]]
name = "infotheory"
path = "src/main.rs"
required-features = ["cli"]
[[bench]]
name = "par"
harness = false
[[bench]]
name = "aixi"
harness = false
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"
[profile.bench]
inherits = "release"
lto = "fat"
codegen-units = 1
opt-level = 3
debug = true
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }