# 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 = "2021" rust-version = "1.64" name = "fltk" version = "1.5.1" authors = ["The fltk-rs Authors"] build = false exclude = [ "/.github", "./examples", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for the FLTK GUI library" documentation = "https://docs.rs/fltk" readme = "README.md" keywords = [ "gui", "ui", "toolkit", "widgets", "user-interface", ] categories = ["gui"] license = "MIT" repository = "https://github.com/fltk-rs/fltk-rs" [package.metadata.docs.rs] features = ["enable-glwindow"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "fltk" path = "src/lib.rs" [[example]] name = "animations" path = "examples/animations.rs" [[example]] name = "calculator" path = "examples/calculator.rs" [[example]] name = "calculator2" path = "examples/calculator2.rs" [[example]] name = "charts" path = "examples/charts.rs" [[example]] name = "closable_tab" path = "examples/closable_tab.rs" [[example]] name = "closable_tabs2" path = "examples/closable_tabs2.rs" [[example]] name = "composite_widgets" path = "examples/composite_widgets.rs" [[example]] name = "counter" path = "examples/counter.rs" [[example]] name = "counter2" path = "examples/counter2.rs" [[example]] name = "counter3" path = "examples/counter3.rs" [[example]] name = "counter4" path = "examples/counter4.rs" [[example]] name = "custom_choice" path = "examples/custom_choice.rs" [[example]] name = "custom_dial" path = "examples/custom_dial.rs" [[example]] name = "custom_popup" path = "examples/custom_popup.rs" [[example]] name = "defaults" path = "examples/defaults.rs" [[example]] name = "editor" path = "examples/editor.rs" [[example]] name = "editor2" path = "examples/editor2.rs" [[example]] name = "fb" path = "examples/fb.rs" [[example]] name = "flex" path = "examples/flex.rs" [[example]] name = "format_text" path = "examples/format_text.rs" [[example]] name = "frames" path = "examples/frames.rs" [[example]] name = "gradients" path = "examples/gradients.rs" [[example]] name = "hello_button" path = "examples/hello_button.rs" [[example]] name = "hello_flex" path = "examples/hello_flex.rs" [[example]] name = "hello_svg" path = "examples/hello_svg.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "menubutton" path = "examples/menubutton.rs" [[example]] name = "messages" path = "examples/messages.rs" [[example]] name = "paint" path = "examples/paint.rs" [[example]] name = "pong" path = "examples/pong.rs" [[example]] name = "popup_browser" path = "examples/popup_browser.rs" [[example]] name = "prefs" path = "examples/prefs.rs" [[example]] name = "rgb" path = "examples/rgb.rs" [[example]] name = "rounded_images" path = "examples/rounded_images.rs" [[example]] name = "screens_info" path = "examples/screens_info.rs" [[example]] name = "shapedwindow_taskbar" path = "examples/shapedwindow_taskbar.rs" [[example]] name = "spreadsheet" path = "examples/spreadsheet.rs" [[example]] name = "system_fonts" path = "examples/system_fonts.rs" [[example]] name = "table" path = "examples/table.rs" [[example]] name = "tabs" path = "examples/tabs.rs" [[example]] name = "temp_converter" path = "examples/temp_converter.rs" [[example]] name = "temp_converter2" path = "examples/temp_converter2.rs" [[example]] name = "terminal" path = "examples/terminal.rs" [[example]] name = "threads_windows" path = "examples/threads_windows.rs" [[example]] name = "tile" path = "examples/tile.rs" [[example]] name = "tree" path = "examples/tree.rs" [[example]] name = "widget_id" path = "examples/widget_id.rs" [[example]] name = "widget_table" path = "examples/widget_table.rs" [[example]] name = "wizard" path = "examples/wizard.rs" [[test]] name = "app_handle" path = "tests/app_handle.rs" harness = false [[test]] name = "clear" path = "tests/clear.rs" harness = false [[test]] name = "cmenu" path = "tests/cmenu.rs" harness = false [[test]] name = "gl" path = "tests/gl.rs" harness = false [[test]] name = "global_state" path = "tests/global_state.rs" harness = false [[test]] name = "idle" path = "tests/idle.rs" harness = false [[test]] name = "image" path = "tests/image.rs" harness = false [[test]] name = "messages" path = "tests/messages.rs" harness = false [[test]] name = "modify_submenu" path = "tests/modify_submenu.rs" harness = false [[test]] name = "threads" path = "tests/threads.rs" harness = false [dependencies.bitflags] version = "^2" [dependencies.crossbeam-channel] version = "0.5" [dependencies.fltk-sys] version = "=1.5.0" [dependencies.once_cell] version = "1" [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.rwh06] version = "0.6" optional = true package = "raw-window-handle" [dependencies.ttf-parser] version = "0.25" features = [ "std", "opentype-layout", "apple-layout", ] default-features = false [features] cairoext = ["fltk-sys/cairoext"] default = [] enable-glwindow = ["fltk-sys/enable-glwindow"] fltk-bundled = ["fltk-sys/fltk-bundled"] fltk-config = ["fltk-sys/fltk-config"] fltk-shared = ["fltk-sys/fltk-shared"] gtk-decor = ["fltk-sys/gtk-decor"] legacy-opengl = ["fltk-sys/legacy-opengl"] no-gdiplus = ["fltk-sys/no-gdiplus"] no-images = ["fltk-sys/no-images"] no-pango = ["fltk-sys/no-pango"] pkg-config = ["fltk-sys/pkg-config"] single-threaded = ["fltk-sys/single-threaded"] static-msvcrt = ["fltk-sys/static-msvcrt"] 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"]