19 lines
616 B
TOML
19 lines
616 B
TOML
[package]
|
|
name = "lightcraft-sysmem"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "LightCraft sysmem (L0): returns freed allocator memory to the OS. The workspace's only crate allowed `unsafe` (one FFI call)."
|
|
|
|
# Opts out of the workspace lints only to keep `unsafe_code = "deny"` overridable for the single FFI
|
|
# module below; every other crate root has `#![forbid(unsafe_code)]`. See AGENTS.md and craftrules
|
|
# standards/never-crash.md ("isolated helper library crate").
|
|
[lints.rust]
|
|
unsafe_code = "deny"
|
|
|
|
[lints.clippy]
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
|
|
[dependencies]
|