[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-engine"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Screens: the template parser and renderer, and the component catalog."
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]
analysis = ["parse"]
client-compile = [
"parse",
"clients",
]
clients = []
compile = [
"parse",
"content",
"gates",
"i18n",
"islands",
"layout",
"listing",
]
compression = [
"dep:brotli",
"dep:flate2",
]
content = []
development = []
gates = []
i18n = [
"sofie-values/time",
"sofie-values/web",
]
islands = []
layout = []
listing = []
parse = []
[lib]
name = "sofie_engine"
path = "src/lib.rs"
[[test]]
name = "actions"
path = "tests/actions.rs"
[[test]]
name = "compiled"
path = "tests/compiled.rs"
[[test]]
name = "components"
path = "tests/components.rs"
[[test]]
name = "content"
path = "tests/content.rs"
[[test]]
name = "display_zone"
path = "tests/display_zone.rs"
[[test]]
name = "gates"
path = "tests/gates.rs"
[[test]]
name = "islands"
path = "tests/islands.rs"
[[test]]
name = "listing"
path = "tests/listing.rs"
[[test]]
name = "screens"
path = "tests/screens.rs"
[[test]]
name = "templates"
path = "tests/templates.rs"
[[test]]
name = "translations"
path = "tests/translations.rs"
[dependencies.memchr]
version = "2.8.3"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sofie-core]
version = "0.2.0"
[dependencies.sofie-values]
version = "0.2.0"
[dev-dependencies.brotli]
version = "=9.0.0"
features = ["std"]
default-features = false
[dev-dependencies.flate2]
version = "=1.1.10"
[build-dependencies.brotli]
version = "=9.0.0"
features = ["std"]
optional = true
default-features = false
[build-dependencies.flate2]
version = "=1.1.10"
optional = true
[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"