gecko-dev/servo/Cargo.toml
Glenn Watson c04e3b2bc7 servo: Merge #4028 - Add glutin port (supported on Linux only currently) (from glennw:glutin); r=larsbergstrom
Default build uses glfw, but glutin can be enabled via:

./mach cargo build --no-default-features --features=glutin

Remaining work:
 * Mac
 * Android
 * hi-dpi
 * nested event loop

This PR also enables true headless (without X) rendering on Linux by specifying the rendering API as Mesa.

Source-Repo: https://github.com/servo/servo
Source-Revision: f5c6146de0b3bfda97edff6662033f4a981df3f6
2014-11-18 15:48:29 -07:00

70 lines
1.1 KiB
TOML

[package]
name = "servo"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
name = "servo"
crate-type = ["rlib"]
[[bin]]
name = "servo"
test = false
doc = false
bench = false
[[test]]
name = "reftest"
path = "tests/reftest.rs"
harness = false
[[test]]
name = "contenttest"
path = "tests/contenttest.rs"
harness = false
[features]
default = ["glfw_app"]
glutin = ["glutin_app"]
[dependencies.compositing]
path = "components/compositing"
[dependencies.net]
path = "components/net"
[dependencies.msg]
path = "components/msg"
[dependencies.util]
path = "components/util"
[dependencies.script]
path = "components/script"
[dependencies.layout]
path = "components/layout"
[dependencies.gfx]
path = "components/gfx"
[dependencies.glfw_app]
path = "ports/glfw"
optional = true
[dependencies.glutin_app]
path = "ports/glutin"
optional = true
[dependencies.url]
git = "https://github.com/servo/rust-url"
[dependencies.green]
git = "https://github.com/servo/green-rs"
branch = "servo"
[dependencies.rustuv]
git = "https://github.com/servo/green-rs"
branch = "servo"