[package]
edition = "2018"
name = "baseview"
version = "0.1.0"
authors = [
"William Light <git@wrl.lhiaudio.com>",
"Charles Saracco <crsaracco@gmail.com>",
"Mirko Covizzi <mrkcvzz@gmail.com>",
"Micah Johnston <micah@glowcoil.com>",
"Billy Messenger <billydm@protonmail.com>",
"Anton Lazarev <https://antonok.com>",
"Joakim FrostegÄrd <joakim.frostegard@gmail.com>",
"Robbert van der Helm <mail@robbertvanderhelm.nl>",
"Adrien Prokopowicz <prokopylmc@gmail.com>",
]
build = false
exclude = [".github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level windowing system geared towards making audio plugin UIs."
readme = "README.md"
keywords = [
"windowing",
"audio",
"plugin",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustAudio/baseview"
[features]
default = []
opengl = [
"uuid",
"x11/glx",
]
[lib]
name = "baseview"
path = "src/lib.rs"
[[example]]
name = "open_parented"
path = "examples/open_parented.rs"
test = true
doctest = true
[[example]]
name = "open_window"
path = "examples/open_window.rs"
test = true
doctest = true
[dependencies.keyboard-types]
version = "0.6.1"
default-features = false
[dependencies.raw-window-handle]
version = "0.5"
[dev-dependencies.rtrb]
version = "0.2"
[dev-dependencies.softbuffer]
version = "0.3.4"
[target.'cfg(target_os="linux")'.dependencies.nix]
version = "0.22.0"
[target.'cfg(target_os="linux")'.dependencies.x11]
version = "2.21"
features = [
"xlib",
"xlib_xcb",
]
[target.'cfg(target_os="linux")'.dependencies.x11rb]
version = "0.13.0"
features = [
"cursor",
"resource_manager",
"allow-unsafe-code",
]
[target.'cfg(target_os="macos")'.dependencies.cocoa]
version = "0.24.0"
[target.'cfg(target_os="macos")'.dependencies.core-foundation]
version = "0.9.1"
[target.'cfg(target_os="macos")'.dependencies.objc]
version = "0.2.7"
[target.'cfg(target_os="macos")'.dependencies.uuid]
version = "0.8"
features = ["v4"]
[target.'cfg(target_os="windows")'.dependencies.uuid]
version = "0.8"
features = ["v4"]
optional = true
[target.'cfg(target_os="windows")'.dependencies.winapi]
version = "0.3.8"
features = [
"libloaderapi",
"winuser",
"windef",
"minwindef",
"guiddef",
"combaseapi",
"wingdi",
"errhandlingapi",
"ole2",
"oleidl",
"shellapi",
"winerror",
]
[lints.clippy]
missing-safety-doc = "allow"