[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-flags"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Feature flags: declared as constants, stored in the database, cached in process and evaluated per request."
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]
toolbar = []
[lib]
name = "sofie_flags"
path = "src/lib.rs"
[[test]]
name = "flags"
path = "tests/flags.rs"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sofie-core]
version = "0.4.0"
[dependencies.sofie-db]
version = "0.4.0"
[dependencies.sofie-telemetry]
version = "0.4.0"
[dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"time",
]
[dependencies.tracing]
version = "0.1.44"
features = ["std"]
default-features = false
[dev-dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"macros",
"rt-multi-thread",
]
[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"