[package]
name = "fltk-sys"
version = "1.5.23"
authors = ["The fltk-rs Authors"]
build = "build/main.rs"
edition = "2021"
rust-version = "1.71"
description = "Rust bindings for the FLTK GUI library"
repository = "https://github.com/fltk-rs/fltk-rs"
keywords = ["gui", "bindings", "graphics"]
categories = ["gui"]
readme = "README.md"
license = "MIT"
links = "cfltk"

[lib]
name = "fltk_sys"
path = "src/lib.rs"

[build-dependencies]
cc = { version = "1", features = ["parallel"], optional = true }

[target.'cfg(not(any(target_os = "emscripten", target_os = "android")))'.build-dependencies]
cmake = { version = "0.1.58" }

[target.'cfg(target_os = "emscripten")'.build-dependencies]
cmake = { package = "cmk" , version = "0.1.2" }

[features]
default = []
fltk-shared = []
use-ninja = []
system-fltk = []
system-libpng = []
system-libjpeg = []
system-zlib = []
legacy-opengl = []
fltk-bundled = []
enable-glwindow = []
no-images = []
no-pango = []
no-gdiplus = []
single-threaded = []
use-wayland = []
static-msvcrt = []
cairoext = []
fltk-config = ["cc"]
pkg-config = []
gtk-decor = []

[package.metadata.docs.rs]
features = ["enable-glwindow"]
rustdoc-args = ["--cfg", "docsrs"]
