[package]
name = "orbclient"
version = "0.3.48"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
description = "The Orbital Client Library"
documentation = "https://docs.rs/orbclient"
repository = "https://gitlab.redox-os.org/redox-os/orbclient"
readme = "README.md"
license = "MIT"
edition = "2018"
keywords = [
"orbital",
"redox",
"ui",
]
[lib]
name = "orbclient"
path = "src/lib.rs"
[target.'cfg(not(target_os = "redox"))'.dependencies]
sdl2 = { version = "0.35.2", optional = true }
sdl2-sys = { version = "0.35.2", optional = true }
libc = { version = "0.2", optional = true }
raw-window-handle = { version = "0.5.2", optional = true }
[target.'cfg(target_os = "redox")'.dependencies]
libredox = "0.1"
[dev-dependencies]
toml = "0.7"
serde_derive = "=1.0.197"
[features]
default = ["std", "sdl", "unifont"]
std = []
sdl = ["sdl2", "sdl2-sys", "libc"]
bundled = ["sdl", "sdl2/bundled", "sdl2/static-link", "sdl2-sys/bundled", "sdl2-sys/static-link"]
unifont = []
[patch.crates-io]
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2.git" }
sdl2-sys = { git = "https://github.com/Rust-SDL2/rust-sdl2.git" }