tritium-cli 1.1.0-rc.0

The `tritium` command-line tool: inspect GGUF files and list registered backends.
# 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"
rust-version = "1.89"
name = "tritium-cli"
version = "1.1.0-rc.0"
authors = ["Brian Lam <briankhanglam@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The `tritium` command-line tool: inspect GGUF files and list registered backends."
readme = "README.md"
keywords = [
    "ternary",
    "bitnet",
    "quantization",
    "inference",
    "cuda",
]
categories = [
    "science",
    "hardware-support",
    "mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/Quitetall/tritium"

[features]
cuda = [
    "dep:tritium-cuda",
    "dep:tritium-train",
    "tritium-nn/cuda",
]
default = []
nccl = [
    "cuda",
    "tritium-cuda/nccl",
    "dep:libc",
]

[[bin]]
name = "tritium"
path = "src/main.rs"

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.half]
version = "2"

[dependencies.memmap2]
version = "0.9"

[dependencies.rayon]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tritium-core]
version = "1.1.0-rc.0"

[dependencies.tritium-cpu]
version = "1.1.0-rc.0"

[dependencies.tritium-cuda]
version = "1.1.0-rc.0"
optional = true

[dependencies.tritium-format]
version = "1.1.0-rc.0"

[dependencies.tritium-nn]
version = "1.1.0-rc.0"

[dependencies.tritium-quantize]
version = "1.1.0-rc.0"

[dependencies.tritium-runtime]
version = "1.1.0-rc.0"

[dependencies.tritium-salt]
version = "1.1.0-rc.0"

[dependencies.tritium-spec]
version = "1.1.0-rc.0"

[dependencies.tritium-train]
version = "1.1.0-rc.0"
optional = true

[dependencies.ureq]
version = "3.3"
features = ["json"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tritium-format]
version = "1.1.0-rc.0"

[dev-dependencies.tritium-train]
version = "1.1.0-rc.0"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
optional = true

[lints.clippy]
indexing_slicing = "allow"
undocumented_unsafe_blocks = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"