Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit 4cffb9c

Browse files
authored
Auto merge of #194 - xhebox:master, r=Manishearth
make x11 an optional dependency close: #193
2 parents cc6af6d + 08a7477 commit 4cffb9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webxr/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ build = "build.rs"
2121
path = "lib.rs"
2222

2323
[features]
24+
default = ["x11"]
25+
x11 = ["surfman/sm-x11"]
2426
angle = ["surfman/sm-angle"]
2527
egl = []
2628
gles = []
@@ -41,7 +43,7 @@ gvr-sys = { version = "0.7", optional = true }
4143
openxr = { git = "https://github.com/servo/openxrs.git", branch="secondary-views-2", optional = true }
4244
serde = { version = "1.0", optional = true }
4345
sparkle = "0.1"
44-
surfman = { version = "0.3", features = ["sm-x11"] }
46+
surfman = "0.3"
4547
surfman-chains = "0.5"
4648
time = "0.1.42"
4749

0 commit comments

Comments
 (0)