[package]
edition = "2024"
rust-version = "1.88"
name = "pragma_sync"
version = "1.0.0"
authors = ["razed <razed.production@yandex.ru>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pragma.core L1: low-level synchronization primitives (the only crate allowed to use unsafe)"
readme = "README.md"
keywords = [
"gamedev",
"job-system",
"scheduler",
"multithreading",
"runtime",
]
categories = [
"game-development",
"concurrency",
]
license = "MIT"
repository = "https://github.com/razedproduction/pragma.core"
[lib]
name = "pragma_sync"
path = "src/lib.rs"
[[test]]
name = "loom"
path = "tests/loom.rs"
[dependencies.crossbeam-utils]
version = "0.8.23"
[dependencies.thiserror]
version = "2.0.21"
[target."cfg(loom)".dependencies.loom]
version = "0.7.2"
[lints.clippy]
arithmetic_side_effects = "warn"
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unreachable = "warn"
unwrap_used = "deny"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]