diff --git a/Cargo.toml b/Cargo.toml index 04edd18..77073f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,12 @@ version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +crate-type = [ + "staticlib", # Ensure it gets compiled as a (static) C library + # "cdylib", # If you want a shared/dynamic C library (advanced) + "lib", # For downstream Rust dependents: `examples/`, `tests/` etc. +] [dependencies]