mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-26 11:09:23 -06:00
19 lines
638 B
TOML
19 lines
638 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, and a plain fsync on macOS. The workspace's only crate allowed `unsafe` (two FFI calls)."
|
|
|
|
# Opts out of the workspace lints only to keep `unsafe_code = "deny"` overridable for the 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]
|