[package]
name = "embedding"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
path = "lib.rs"
crate-type = ["dylib"]
[profile.release]
opt-level = 3
# Uncomment to profile on Linux:
# debug = true
# lto = false
[features]
debugmozjs = ["libservo/debugmozjs"]
[dependencies]
compositing = {path = "../../components/compositing"}
devtools = {path = "../../components/devtools"}
euclid = "0.10.1"
gleam = "0.2.8"
glutin_app = {path = "../glutin"}
libc = "0.2"
libservo = {path = "../../components/servo"}
log = {version = "0.3.5", features = ["release_max_level_info"]}
msg = {path = "../../components/msg"}
net_traits = {path = "../../components/net_traits"}
plugins = {path = "../../components/plugins"}
script_traits = {path = "../../components/script_traits"}
servo_config = {path = "../../components/config"}
servo_geometry = {path = "../../components/geometry"}
servo_url = {path = "../../components/url"}
style_traits = {path = "../../components/style_traits"}
[dependencies.webrender_traits]
git = "https://github.com/servo/webrender"
default-features = false
features = ["serde_derive", "ipc"]
[target.'cfg(target_os="macos")'.dependencies]
objc = "0.2"
cocoa = "0.7"
[target.'cfg(target_os="linux")'.dependencies]
x11 = "2.3"