infotheory 1.1.1

The algorithmic information theory library.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "infotheory"
version = "1.1.1"
build = false
include = [
    "/.cargo/config.toml",
    "/Cargo.lock",
    "/Cargo.toml",
    "/LICENSE",
    "/LICENSE-APACHE",
    "/README.md",
    "/aixi_confs/**",
    "/benches/**",
    "/docs/*.1",
    "/docs/*.md",
    "/examples/**",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The algorithmic information theory library."
homepage = "https://infotheory.tech"
documentation = "https://docs.rs/infotheory"
readme = "README.md"
keywords = [
    "compression",
    "entropy",
    "aixi",
    "information-theory",
    "ai",
]
categories = [
    "compression",
    "algorithms",
    "science",
]
license = "ISC OR Apache-2.0"
repository = "https://github.com/turtle261/infotheory"

[features]
backend-mamba = []
backend-rosa = []
backend-rwkv = []
backend-zpaq = ["dep:zpaq_rs"]
cli = []
default = [
    "backend-rosa",
    "backend-mamba",
    "backend-rwkv",
    "backend-zpaq",
]
vm = []
vm-git = []

[lib]
name = "infotheory"
path = "src/lib.rs"

[[bin]]
name = "infotheory"
path = "src/main.rs"
required-features = ["cli"]

[[example]]
name = "universal_mixture_experiment"
path = "examples/universal_mixture_experiment.rs"

[[test]]
name = "aiqi_validation"
path = "tests/aiqi_validation.rs"

[[test]]
name = "aixi_discounting"
path = "tests/aixi_discounting.rs"

[[test]]
name = "aixi_validation"
path = "tests/aixi_validation.rs"

[[test]]
name = "api_surface"
path = "tests/api_surface.rs"

[[test]]
name = "benchmark_suite_specs"
path = "tests/benchmark_suite_specs.rs"

[[test]]
name = "cli_api_parity"
path = "tests/cli_api_parity.rs"

[[test]]
name = "cli_golden"
path = "tests/cli_golden.rs"

[[test]]
name = "generate_cli"
path = "tests/generate_cli.rs"

[[test]]
name = "mixture_rate_backend"
path = "tests/mixture_rate_backend.rs"

[[test]]
name = "nyx_vm_tests"
path = "tests/nyx_vm_tests.rs"

[[test]]
name = "oracle_tests"
path = "tests/oracle_tests.rs"

[[test]]
name = "roundtrip_hashes"
path = "tests/roundtrip_hashes.rs"

[[test]]
name = "rwkv_method_canonicalization"
path = "tests/rwkv_method_canonicalization.rs"

[[test]]
name = "zpaq_rate_backend"
path = "tests/zpaq_rate_backend.rs"

[[bench]]
name = "aiqi"
path = "benches/aiqi.rs"
harness = false

[[bench]]
name = "aixi"
path = "benches/aixi.rs"
harness = false

[[bench]]
name = "exact_hotpaths"
path = "benches/exact_hotpaths.rs"
harness = false
required-features = [
    "backend-rwkv",
    "backend-mamba",
]

[[bench]]
name = "mamba_online_train_full"
path = "benches/mamba_online_train_full.rs"
harness = false
required-features = ["backend-mamba"]

[[bench]]
name = "mamba_rate"
path = "benches/mamba_rate.rs"
harness = false
required-features = ["backend-mamba"]

[[bench]]
name = "mixture_backends"
path = "benches/mixture_backends.rs"
harness = false

[[bench]]
name = "neural_baseline"
path = "benches/neural_baseline.rs"
harness = false

[[bench]]
name = "par"
path = "benches/par.rs"
harness = false

[[bench]]
name = "rate_backend_coders"
path = "benches/rate_backend_coders.rs"
harness = false
required-features = ["backend-rwkv"]

[[bench]]
name = "rwkv_online_train_full"
path = "benches/rwkv_online_train_full.rs"
harness = false
required-features = ["backend-rwkv"]

[[bench]]
name = "simd_hotspots"
path = "benches/simd_hotspots.rs"
harness = false

[dependencies.ahash]
version = "0.8.12"
features = [
    "std",
    "no-rng",
]
default-features = false

[dependencies.anyhow]
version = "1.0.100"

[dependencies.crc32fast]
version = "1.5.0"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.rayon]
version = "1.11.0"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.wide]
version = "1.1.1"

[dependencies.zpaq_rs]
version = "1.0.4"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.sha2]
version = "0.10"

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
inherits = "release"

[profile.dev]
opt-level = 3
lto = "fat"
codegen-units = 1

[profile.python-release]
lto = false
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"