fix cargo publish errors

This commit is contained in:
Zero 2023-04-17 18:29:08 -06:00
parent fcd8fe4bc5
commit bde74dbc8b
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
2 changed files with 17 additions and 7 deletions

View file

@ -7,13 +7,20 @@ license = "Unlicense"
documentation = "https://docs.rs/whisper-rs-sys"
repository = "https://github.com/tazz4843/whisper-rs"
links = "whisper"
exclude = [
"whisper.cpp/bindings",
"whisper.cpp/examples",
"whisper.cpp/extra",
"whisper.cpp/models",
"whisper.cpp/samples",
"whisper.cpp/tests",
include = [
"whisper.cpp/bindings/javascript/package-tmpl.json",
"whisper.cpp/bindings/CMakeLists.txt",
"whisper.cpp/cmake",
"whisper.cpp/coreml",
"whisper.cpp/CMakeLists.txt",
"whisper.cpp/ggml.c",
"whisper.cpp/ggml.h",
"whisper.cpp/LICENSE",
"whisper.cpp/whisper.cpp",
"whisper.cpp/whisper.h",
"src/*.rs",
"build.rs",
"wrapper.h",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html