[package]
name = "fltk"
version = "1.3.24"
authors = ["The fltk-rs Authors"]
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.3.24" }
bitflags = "^1.3"
paste = "1"
crossbeam-channel = "0.5"
ttf-parser = "0.17"
raw-window-handle = { version = "^0.4", optional = true }
rwh05 = { package = "raw-window-handle", version = "0.5", optional = true }
[features]
default = []
fltk-bundled = ["fltk-sys/fltk-bundled"]
enable-glwindow = ["fltk-sys/enable-glwindow"]
no-pango = ["fltk-sys/no-pango"]
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"]
no-gdiplus = ["fltk-sys/no-gdiplus"]
no-images = ["fltk-sys/no-images"]
legacy-opengl = ["fltk-sys/legacy-opengl"]
single-threaded = ["fltk-sys/single-threaded"]
use-wayland = ["fltk-sys/use-wayland"]
[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 = "modify_submenu"
path = "tests/modify_submenu.rs"
harness = false
[[test]]
name = "global_state"
path = "tests/global_state.rs"
harness = false