# 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" name = "rust-libretro" version = "0.3.2" authors = ["Maximilian Mader"] description = "libretro API abstractions" homepage = "https://github.com/max-m/rust-libretro/" documentation = "https://docs.rs/rust-libretro/" readme = "README.md" keywords = [ "libretro", "RetroArch", "emulator", "game", ] categories = [ "api-bindings", "emulators", "game-development", "gui", ] license = "MIT" repository = "https://github.com/max-m/rust-libretro/" resolver = "1" [package.metadata.docs.rs] features = [ "log", "unstable-env-commands", "vulkan", ] rustdoc-args = ["--document-private-items"] [[example]] name = "input" crate-type = ["cdylib"] path = "examples/input/lib.rs" required-features = [ "unstable-env-commands", "log", ] [[example]] name = "test" crate-type = ["cdylib"] path = "examples/test/lib.rs" required-features = [ "unstable-env-commands", "log", ] [[example]] name = "test-advanced" crate-type = ["cdylib"] path = "examples/test-advanced/lib.rs" required-features = [ "unstable-env-commands", "log", ] [[example]] name = "vulkan" crate-type = ["cdylib"] path = "examples/vulkan/lib.rs" required-features = [ "unstable-env-commands", "log", "vulkan", ] [dependencies.bitflags] version = "1.3.2" [dependencies.cfg-if] version = "1.0.0" [dependencies.const-str] version = "0.5.3" [dependencies.env_logger] version = "0.10.0" optional = true [dependencies.log] version = "0.4.17" features = ["std"] optional = true [dependencies.once_cell] version = "1.17.0" [dependencies.rust-libretro-proc] version = "0.3.1" [dependencies.rust-libretro-sys] version = "0.3.1" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.bytemuck] version = "1.12.3" [dev-dependencies.byterepr] version = "0.1.0" [dev-dependencies.dasp_sample] version = "0.11.0" [dev-dependencies.dasp_signal] version = "0.11.0" [dev-dependencies.image] version = "0.24.5" [dev-dependencies.libc] version = "0.2.139" [dev-dependencies.log] version = "0.4.17" features = [ "max_level_debug", "release_max_level_debug", ] [dev-dependencies.num] version = "0.4.0" [dev-dependencies.num-traits] version = "0.2.15" [dev-dependencies.paste] version = "1.0.11" [dev-dependencies.serde] version = "1.0.152" features = ["derive"] [dev-dependencies.vk-shader-macros] version = "0.2.8" [features] log = [ "dep:log", "env_logger", ] unstable-env-commands = [] vulkan = ["rust-libretro-sys/vulkan"]