[package]
name = "ely_servo_host"
version = "0.1.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true

[features]
default = []
servo-engine = ["dep:dpi", "dep:serde", "dep:serde_json", "dep:servo", "dep:url"]

[[bin]]
name = "ely_servo_sidecar"
path = "src/bin/ely_servo_sidecar.rs"
required-features = ["servo-engine"]

[dependencies]
dpi = { workspace = true, optional = true }
ely_domain = { path = "../ely_domain" }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
servo = { workspace = true, optional = true }
thiserror.workspace = true
url = { workspace = true, optional = true }

[lints]
workspace = true
