Add a feature flag for Metal acceleration support

This commit is contained in:
Niko 2023-10-09 17:02:54 -06:00
parent 7dac364460
commit 253ac1bb6f
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
3 changed files with 17 additions and 0 deletions

View file

@ -27,6 +27,7 @@ coreml = ["whisper-rs-sys/coreml"]
cuda = ["whisper-rs-sys/cuda"]
opencl = ["whisper-rs-sys/opencl"]
openblas = ["whisper-rs-sys/openblas"]
metal = ["whisper-rs-sys/metal"]
test-with-tiny-model = []
[package.metadata.docs.rs]