[features]
accelerate = ["ct2rs/accelerate"]
all-tokenizers = ["sentencepiece", "tokenizers"]
cuda = ["ct2rs/cuda"]
cuda-dynamic-loading = ["ct2rs/cuda-dynamic-loading"]
cuda-small-binary = ["ct2rs/cuda-small-binary"]
cudnn = ["ct2rs/cudnn"]
default = ["all-tokenizers", "cuda-small-binary"]
dnnl = ["ct2rs/dnnl"]
flash-attention = ["ct2rs/flash-attention"]
hub = ["ct2rs/hub"]
mkl = ["ct2rs/mkl"]
openblas = ["ct2rs/openblas"]
openmp-runtime-comp = ["ct2rs/openmp-runtime-comp"]
openmp-runtime-intel = ["ct2rs/openmp-runtime-intel"]
ruy = ["ct2rs/ruy"]
sentencepiece = ["ct2rs/sentencepiece"]
system = ["ct2rs/system"]
system-mkl = ["ct2rs/system-mkl"]
tensor-parallel = ["ct2rs/tensor-parallel"]
tokenizers = ["ct2rs/tokenizers"]
whisper = ["ct2rs/whisper"]
[lib]
name = "ct2rs_platform"
path = "src/lib.rs"
[package]
authors = ["Junpei Kawamoto <kawamoto.junpei@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings"]
description = "Platform-specific default feature sets for ct2rs"
documentation = "https://docs.rs/ct2rs"
edition = "2021"
keywords = ["ctranslate2", "bindings", "llm", "whisper"]
license = "MIT"
name = "ct2rs-platform"
readme = "README.md"
repository = "https://github.com/jkawamoto/ctranslate2-rs"
version = "0.9.13"
[target.'cfg(all(target_os = "linux", not(target_arch = "aarch64")))'.dependencies.ct2rs]
default-features = false
features = ["dnnl", "openmp-runtime-comp", "cuda", "cudnn", "cuda-dynamic-loading", "mkl", "tensor-parallel"]
version = "=0.9.13"
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies.ct2rs]
default-features = false
features = ["openmp-runtime-comp", "openblas", "ruy"]
version = "=0.9.13"
[target.'cfg(all(target_os = "macos", not(target_arch = "aarch64")))'.dependencies.ct2rs]
default-features = false
features = ["dnnl", "mkl"]
version = "=0.9.13"
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.ct2rs]
default-features = false
features = ["accelerate", "ruy"]
version = "=0.9.13"
[target.'cfg(target_os = "windows")'.dependencies.ct2rs]
default-features = false
features = ["openmp-runtime-intel", "dnnl", "cuda", "cudnn", "cuda-dynamic-loading", "mkl"]
version = "=0.9.13"