tinyquant-sys 0.0.0

C ABI façade for TinyQuant (cdylib + staticlib).
# 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 = "2021"
rust-version = "1.81"
name = "tinyquant-sys"
version = "0.0.0"
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C ABI façade for TinyQuant (cdylib + staticlib)."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/better-with-models/TinyQuant"

[lib]
name = "tinyquant_sys"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.tinyquant-core]
version = "=0.0.0"
features = ["std"]

[dependencies.tinyquant-io]
version = "=0.0.0"

[dev-dependencies.bindgen]
version = "0.70"
features = ["runtime"]
default-features = false

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

[build-dependencies.cbindgen]
version = "0.27"
default-features = false

[features]
default = ["simd"]
panic-probe = []
simd = [
    "tinyquant-core/simd",
    "tinyquant-io/simd",
]