[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-model"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The app model: modules, areas and routes, read from source without compiling it."
homepage = "https://sofie.rs"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"
[package.metadata.docs.rs]
all-features = true
[features]
testing = []
[lib]
name = "sofie_model"
path = "src/lib.rs"
[[test]]
name = "load"
path = "tests/load.rs"
[[test]]
name = "permissions"
path = "tests/permissions.rs"
[dependencies.proc-macro2]
version = "1.0.107"
features = ["span-locations"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sofie-core]
version = "0.3.0"
[dependencies.syn]
version = "3.0.7"
features = [
"full",
"visit",
]
[dev-dependencies]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unused_async = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"