summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-03-09 19:42:12 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-03-09 19:42:12 +0800
commitf7e36925c566cd8336e71eb507c8a766240f03a0 (patch)
treeba92f1d6a69a738e00a1d77b5f19cbbe7c57deab /Cargo.toml
parent2827668ab5f38c05f95a0060988313c449436267 (diff)
Add C FFI bindings for library usage
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1918e4d..3c127c5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,34 @@ name = "butchunker"
version = "0.1.0"
edition = "2024"
+[features]
+default = []
+ffi = []
+
+[workspace]
+members = [
+ "ffi",
+]
+
+[profile.dev]
+opt-level = 0
+debug = true
+split-debuginfo = "unpacked"
+codegen-units = 16
+incremental = true
+lto = false
+panic = "unwind"
+
+[profile.release]
+opt-level = 3
+debug = false
+split-debuginfo = "off"
+codegen-units = 1
+incremental = false
+lto = "fat"
+panic = "abort"
+strip = "symbols"
+
[dependencies]
butck_policies = { path = "policy/_policies" }