47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[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"]
|
|
hardware-render = [
|
|
"servo-engine",
|
|
"dep:euclid",
|
|
"dep:gleam",
|
|
"dep:glow",
|
|
"dep:image",
|
|
"dep:log",
|
|
"dep:surfman",
|
|
"dep:objc2-io-surface",
|
|
]
|
|
|
|
[[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" }
|
|
euclid = { version = "0.22", optional = true }
|
|
gleam = { version = "0.15", optional = true }
|
|
glow = { version = "0.16", optional = true }
|
|
image = { workspace = true, optional = true }
|
|
log = { version = "0.4", optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
serde_json = { workspace = true, optional = true }
|
|
servo = { workspace = true, optional = true }
|
|
surfman = { version = "0.11", optional = true }
|
|
thiserror.workspace = true
|
|
url = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2-io-surface = { version = "0.3.2", optional = true }
|
|
|
|
[lints]
|
|
workspace = true
|