[package]
edition = "2024"
rust-version = "1.88"
name = "pragma_graph"
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 L3: per-frame task graph with declared resource access"
readme = "README.md"
keywords = [
"gamedev",
"job-system",
"scheduler",
"multithreading",
"runtime",
]
categories = [
"game-development",
"concurrency",
]
license = "MIT"
repository = "https://github.com/razedproduction/pragma.core"
[package.metadata.docs.rs]
all-features = true
[features]
puffin = [
"dep:puffin",
"pragma_jobs/puffin",
]
[lib]
name = "pragma_graph"
path = "src/lib.rs"
[[test]]
name = "alloc"
path = "tests/alloc.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "prop"
path = "tests/prop.rs"
[[bench]]
name = "graph"
path = "benches/graph.rs"
harness = false
[dependencies.pragma_base]
version = "=1.0.0"
[dependencies.pragma_jobs]
version = "=1.0.0"
[dependencies.pragma_sync]
version = "=1.0.0"
[dependencies.puffin]
version = "0.19.1"
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.proptest]
version = "1.12.0"
[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)"]