# The BakaShrot workspace: every crate is in crates/, see README.md for the # layout and ../revamp.md for the plan. [workspace] resolver = "3" members = ["crates/*"] [workspace.package] version = "0.0.1" edition = "2024" rust-version = "1.100" license = "CC0-1.0" authors = ["Herwin Bozet (NibblePoker)"] repository = "https://github.com/aziascreations/BakaShrot" publish = false # Every crate takes these with `[lints] workspace = true`. `unsafe_code` is # "deny", not "forbid", so the C API crate can allow it at its root. [workspace.lints.rust] unsafe_code = "deny" missing_docs = "warn" [workspace.lints.clippy] all = { level = "warn", priority = -1 } [profile.release] lto = true codegen-units = 1 strip = true # Kept on purpose: the C DLL catches panics at every export (catch_unwind), # which "abort" would make impossible. panic = "unwind"