# 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 = "simple-game-utils" version = "0.5.2" authors = ["Emma Britton "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Utilities for simple games" readme = "README.md" keywords = [ "sound", "controller", "gamedev", "simple", ] categories = ["game-development"] license-file = "LICENSE" repository = "https://github.com/emmabritton/simple-game-utils" [lib] name = "simple_game_utils" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" required-features = [ "sound", "prefs", "serde", "ici", "controller", ] [dependencies.audio-engine] version = "0.4" optional = true [dependencies.directories] version = "5.0" optional = true [dependencies.gilrs] version = "0.11" optional = true default-features = false [dependencies.hound] version = "3.5" optional = true [dependencies.ici-files] version = "0.4" optional = true [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.ron] version = "0.8.1" [dev-dependencies.test-log] version = "0.2.16" [features] controller = [ "gilrs", "gilrs/wgi", ] controller_xinput = [ "gilrs", "gilrs/xinput", ] default = [ "sound", "prefs", "serde", "ici", ] ici = ["ici-files"] prefs = [ "dep:serde", "serde_json", "directories", ] serde = ["dep:serde"] sound = [ "audio-engine", "hound", ]