# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "fltk"
version = "1.3.27"
authors = ["The fltk-rs Authors"]
exclude = [
    "/.github",
    "./examples",
]
description = "Rust bindings for the FLTK GUI library"
documentation = "https://docs.rs/fltk"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "widgets",
    "bindings",
    "graphics",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/fltk-rs/fltk-rs"

[package.metadata.docs.rs]
features = ["enable-glwindow"]

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

[[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

[dependencies.bitflags]
version = "^1.3"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.fltk-sys]
version = "=1.3.27"

[dependencies.paste]
version = "1"

[dependencies.raw-window-handle]
version = "^0.4"
optional = true

[dependencies.rwh05]
version = "0.5"
optional = true
package = "raw-window-handle"

[dependencies.ttf-parser]
version = "0.18"

[features]
default = []
enable-glwindow = ["fltk-sys/enable-glwindow"]
fltk-bundled = ["fltk-sys/fltk-bundled"]
fltk-shared = ["fltk-sys/fltk-shared"]
legacy-opengl = ["fltk-sys/legacy-opengl"]
no-gdiplus = ["fltk-sys/no-gdiplus"]
no-images = ["fltk-sys/no-images"]
no-pango = ["fltk-sys/no-pango"]
single-threaded = ["fltk-sys/single-threaded"]
system-fltk = ["fltk-sys/system-fltk"]
system-libjpeg = ["fltk-sys/system-libjpeg"]
system-libpng = ["fltk-sys/system-libpng"]
system-zlib = ["fltk-sys/system-zlib"]
use-ninja = ["fltk-sys/use-ninja"]
use-wayland = ["fltk-sys/use-wayland"]
