[package]
edition = "2024"
rust-version = "1.85"
name = "cactus-sys"
version = "0.2.1"
authors = ["Hxphsts <hxphsts@kernelx.ai>"]
build = "build.rs"
links = "cactus"
include = [
"LICENSE-MIT",
"LICENSE-APACHE",
"build.rs",
"prebuilt.toml",
"include/needle.h",
"include/README.md",
"shim/libcxx_compat.c",
"src/**/*.rs",
"tests/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Raw FFI bindings to Cactus Compute inference engines (Needle 3, Whistle)"
homepage = "https://github.com/hxphsts/cactus-rs"
documentation = "https://docs.rs/cactus-sys"
readme = "README.md"
keywords = [
"cactus",
"needle",
"whistle",
"ffi",
"speech-to-text",
]
categories = [
"external-ffi-bindings",
"science",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hxphsts/cactus-rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = [
"needle",
"download-binaries",
]
download-binaries = [
"dep:ureq",
"dep:sha2",
]
needle = []
[lib]
name = "cactus_sys"
path = "src/lib.rs"
[[test]]
name = "probe_cross_kind"
path = "tests/probe_cross_kind.rs"
[[test]]
name = "probe_same_reload"
path = "tests/probe_same_reload.rs"
[[test]]
name = "probe_speech_reload"
path = "tests/probe_speech_reload.rs"
[[test]]
name = "probe_text_reload"
path = "tests/probe_text_reload.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[build-dependencies.cc]
version = "1.2"
[build-dependencies.sha2]
version = "0.11"
optional = true
default-features = false
[build-dependencies.ureq]
version = "3.4"
features = ["rustls"]
optional = true
default-features = false