mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 09:39:37 +00:00
FFI: Make cbindgen an optional dependency, enabled with the ffi feature.
This commit is contained in:
parent
6b726463cd
commit
a8f3cff0b8
|
@ -13,7 +13,7 @@ crate-type = ["lib", "cdylib", "staticlib"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
use_tolk = ["tolk"]
|
use_tolk = ["tolk"]
|
||||||
ffi = []
|
ffi = ["cbindgen"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dyn-clonable = "0.9"
|
dyn-clonable = "0.9"
|
||||||
|
@ -26,7 +26,7 @@ thiserror = "1"
|
||||||
env_logger = "0.8"
|
env_logger = "0.8"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cbindgen = "0.18.0"
|
cbindgen = {version = "0.18.0", optional = true}
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
tolk = { version = "0.3", optional = true }
|
tolk = { version = "0.3", optional = true }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user