# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] name = "romy-sdl2" version = "0.32.2" authors = ["Tony Aldridge ", "Cobrand "] description = "SDL2 bindings for Rust" documentation = "https://rust-sdl2.github.io/rust-sdl2/sdl2/" keywords = ["SDL", "windowing", "graphics", "api", "engine"] categories = ["rendering", "api-bindings", "game-engines", "multimedia"] license = "MIT" repository = "https://github.com/catt-io/rust-sdl2" [lib] name = "sdl2" path = "src/sdl2/lib.rs" [[example]] name = "animation" [[example]] name = "audio-capture-and-replay" [[example]] name = "audio-queue-squarewave" [[example]] name = "audio-squarewave" [[example]] name = "audio-wav" [[example]] name = "audio-whitenoise" [[example]] name = "cursor" required-features = ["image"] [[example]] name = "demo" [[example]] name = "game-controller" [[example]] name = "game-of-life-unsafe-textures" required-features = ["unsafe_textures"] [[example]] name = "game-of-life" [[example]] name = "gfx-demo" required-features = ["gfx"] [[example]] name = "haptic" [[example]] name = "image-demo" required-features = ["image"] [[example]] name = "joystick" [[example]] name = "keyboard-state" [[example]] name = "message-box" [[example]] name = "mixer-demo" required-features = ["mixer"] [[example]] name = "mouse-state" [[example]] name = "no-renderer" [[example]] name = "relative-mouse-state" [[example]] name = "renderer-target" [[example]] name = "renderer-texture" [[example]] name = "renderer-yuv" [[example]] name = "resource-manager" required-features = ["ttf", "image"] [[example]] name = "ttf-demo" required-features = ["ttf"] [[example]] name = "window-properties" [dependencies.bitflags] version = "^1" [dependencies.c_vec] version = ">= 1.0, <= 1.3" optional = true [dependencies.lazy_static] version = "^1" [dependencies.libc] version = "^0.2" [dependencies.num] version = "^0.1" default-features = false [dependencies.rand] version = "^0.6" [dependencies.sdl2-sys] version = "^0.32" [features] bundled = ["sdl2-sys/bundled"] default = [] gfx = ["c_vec", "sdl2-sys/gfx"] image = ["sdl2-sys/image"] mixer = ["sdl2-sys/mixer"] static-link = ["sdl2-sys/static-link"] ttf = ["sdl2-sys/ttf"] unsafe_textures = [] use-bindgen = ["sdl2-sys/use-bindgen"] use-pkgconfig = ["sdl2-sys/use-pkgconfig"] use_mac_framework = ["sdl2-sys/use_mac_framework"]