mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-29 04:27:30 -06:00
22 lines
700 B
TOML
22 lines
700 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]
|
|
cognitive_complexity = "deny"
|
|
too_many_arguments = "deny"
|
|
wildcard_imports = "deny"
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
|
|
[dependencies]
|