# 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.56" name = "glfw" version = "0.58.0" authors = ["The glfw-rs developers."] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "GLFW3 bindings and idiomatic wrapper for Rust." readme = "README.md" keywords = [ "windowing", "opengl", "vulkan", ] license = "Apache-2.0" repository = "https://github.com/bjz/glfw-rs" [lib] name = "glfw" path = "src/lib.rs" [[example]] name = "clipboard" path = "examples/clipboard.rs" [[example]] name = "cursor" path = "examples/cursor.rs" [[example]] name = "cursor_icon" path = "examples/cursor_icon.rs" [[example]] name = "defaults" path = "examples/defaults.rs" [[example]] name = "error" path = "examples/error.rs" [[example]] name = "events" path = "examples/events.rs" [[example]] name = "fullscreen" path = "examples/fullscreen.rs" [[example]] name = "modes" path = "examples/modes.rs" [[example]] name = "monitors" path = "examples/monitors.rs" [[example]] name = "multiwindow" path = "examples/multiwindow.rs" [[example]] name = "raw_window_handle" path = "examples/raw_window_handle.rs" [[example]] name = "render_task" path = "examples/render_task.rs" [[example]] name = "title" path = "examples/title.rs" [[example]] name = "unbuffered_events" path = "examples/unbuffered_events.rs" [[example]] name = "version" path = "examples/version.rs" [[example]] name = "vulkan" path = "examples/vulkan.rs" [[example]] name = "window" path = "examples/window.rs" [[example]] name = "window_icon" path = "examples/window_icon.rs" [dependencies.ash] version = "0.38" optional = true [dependencies.bitflags] version = "1.0.0" [dependencies.glfw-sys] version = "5.0.0" optional = true [dependencies.image] version = "^0.25.1" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.raw-window-handle-0-5] version = "0.5.0" optional = true package = "raw-window-handle" [dependencies.raw-window-handle-0-6] version = "0.6.0" optional = true package = "raw-window-handle" [dev-dependencies.log] version = "0.4" [features] all = [ "image", "vulkan", "log", "wayland", "raw-window-handle-v0-6", ] default = [ "glfw-sys", "raw-window-handle-v0-6", ] raw-window-handle-v0-5 = ["dep:raw-window-handle-0-5"] raw-window-handle-v0-6 = ["dep:raw-window-handle-0-6"] vulkan = ["ash"] wayland = ["glfw-sys/wayland"] with-window-handle-v0-5 = [ "glfw-sys", "raw-window-handle-v0-5", ] [target.'cfg(target_os = "macos")'.dependencies.objc2] version = "0.5.1" [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3" features = ["libloaderapi"]