[workspace]
members = ["wlroots-sys", "rootston", "example-config"]

[package]
name = "wlroots"
version = "0.0.0"
authors = ["Timidger <APragmaticPlace@gmail.com>"]
description = "Rust wrapping for Wayland compositor library wlroots"
keywords = ["wayland", "compositor", "bindings"]
categories = ["external-ffi-bindings", "gui"]
license = "MIT"
exclude = [".travis.yml"]

build = "build.rs"

[badges]
travis-ci = { repository = "way-cooler/wlroots-rs/" }


[dependencies]
libc = "^0.2.*"
rust-ini = "0.10.0"
wlroots-sys = { path = "wlroots-sys" }
wayland-sys = { version = "0.9.*", features = ["client", "dlopen", "server",] }
lazy_static = "0.2"
xkbcommon = "0.3"
bitflags = "1.0"

[dev-dependencies]
wayland-client = { version = "0.12.*" }
byteorder = "1"
tempfile = "2"

[build-dependencies]
gl_generator = "0.5.0"

[features]
default = ["static"]
static = ["wlroots-sys/static"]

[workspace]
members = ["wlroots-sys", "rootston", "example-config"]

[package]
name = "wlroots"
version = "0.0.0"
authors = ["Timidger <APragmaticPlace@gmail.com>"]
description = "Rust wrapping for Wayland compositor library wlroots"
keywords = ["wayland", "compositor", "bindings"]
categories = ["external-ffi-bindings", "gui"]
license = "MIT"
exclude = [".travis.yml"]

build = "build.rs"

[badges]
travis-ci = { repository = "way-cooler/wlroots-rs/" }


[dependencies]
libc = "^0.2.*"
rust-ini = "0.10.0"
wlroots-sys = { path = "wlroots-sys", default-features = false }
wayland-sys = { version = "0.9.*", features = ["client", "dlopen", "server",] }
lazy_static = "0.2"
xkbcommon = "0.3"
bitflags = "1.0"

[dev-dependencies]
wayland-client = { version = "0.12.*" }
byteorder = "1"
tempfile = "2"

[build-dependencies]
gl_generator = "0.5.0"

[features]
default = ["static"]
static = ["wlroots-sys/static"]

Disable default features for wlroots-sys
Disable default features for wlroots-sys

Without this, the "static" feature of wlroots-sys is always enabled,
since it is the default. With this, "static" is still on by default
since wlroots-rs has default = ["static"]. However, now this can be
disabled by building wlroots-rs without default features.

Signed-off-by: Uli Schlachter <346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in>
