[package]
name = "fltk"
version = "1.1.12"
authors = ["MoAlyousef <mohammed.alyousef@neurosrg.com>"]
edition = "2018"
description = "Rust bindings for the FLTK GUI library"
repository = "https://github.com/fltk-rs/fltk-rs"
documentation = "https://docs.rs/fltk"
keywords = ["gui", "ui", "widgets", "bindings", "graphics"]
categories = ["gui"]
readme = "../README.md"
license = "MIT"
exclude = ["/.github", "./examples"]
[lib]
name = "fltk"
path = "src/lib.rs"
[dependencies]
fltk-sys = { path = "../fltk-sys", version = "=1.1.12" }
fltk-derive = { path = "../fltk-derive", version = "=1.1.12" }
lazy_static = "^1.4.0"
bitflags = "^1.3"
raw-window-handle = "^0.3.3"
gl_loader = { version = "^0.1.2", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"
[features]
default = []
fltk-shared = ["fltk-sys/fltk-shared"]
use-ninja = ["fltk-sys/use-ninja"]
system-fltk = ["fltk-sys/system-fltk"]
system-libpng = ["fltk-sys/system-libpng"]
system-libjpeg = ["fltk-sys/system-libjpeg"]
system-zlib = ["fltk-sys/system-zlib"]
legacy-opengl = ["fltk-sys/legacy-opengl"]
fltk-bundled = ["fltk-sys/fltk-bundled"]
enable-glwindow = ["fltk-sys/enable-glwindow", "gl_loader"]
no-images = ["fltk-sys/no-images"]
no-pango = ["fltk-sys/no-pango"]
no-gdiplus = ["fltk-sys/no-gdiplus"]
[package.metadata.docs.rs]
features = ["enable-glwindow"]
[[test]]
name = "app_handle"
path = "tests/app_handle.rs"
harness = false
[[test]]
name = "idle"
path = "tests/idle.rs"
harness = false
[[test]]
name = "messages"
path = "tests/messages.rs"
harness = false
[[test]]
name = "threads"
path = "tests/threads.rs"
harness = false
[[test]]
name = "timeouts"
path = "tests/timeouts.rs"
harness = false