107 lines
2.1 KiB
TOML
107 lines
2.1 KiB
TOML
# 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.73.0"
|
|
name = "gilrs"
|
|
version = "0.11.0"
|
|
authors = ["Arvamer <arvamer@gmail.com>"]
|
|
build = "build.rs"
|
|
exclude = ["controller.svg"]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Game Input Library for Rust"
|
|
documentation = "https://docs.rs/gilrs/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"gamepad",
|
|
"joystick",
|
|
"input",
|
|
]
|
|
categories = ["game-engines"]
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://gitlab.com/gilrs-project/gilrs"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["serde-serialize"]
|
|
|
|
[lib]
|
|
name = "gilrs"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "ev"
|
|
path = "examples/ev.rs"
|
|
|
|
[[example]]
|
|
name = "ff"
|
|
path = "examples/ff.rs"
|
|
|
|
[[example]]
|
|
name = "ff_pos"
|
|
path = "examples/ff_pos.rs"
|
|
|
|
[[example]]
|
|
name = "gamepad_info"
|
|
path = "examples/gamepad_info.rs"
|
|
|
|
[[example]]
|
|
name = "gui"
|
|
path = "examples/gui.rs"
|
|
|
|
[dependencies.fnv]
|
|
version = "1.0"
|
|
|
|
[dependencies.gilrs-core]
|
|
version = "0.6.0"
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.uuid]
|
|
version = "1.0.0"
|
|
|
|
[dependencies.vec_map]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.console_log]
|
|
version = "1.0.0"
|
|
|
|
[dev-dependencies.eframe]
|
|
version = "0.19.0"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.11.5"
|
|
|
|
[features]
|
|
default = ["wgi"]
|
|
serde-serialize = [
|
|
"serde",
|
|
"gilrs-core/serde-serialize",
|
|
]
|
|
wgi = ["gilrs-core/wgi"]
|
|
xinput = ["gilrs-core/xinput"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.console_error_panic_hook]
|
|
version = "0.1.7"
|
|
|
|
[badges.gitlab]
|
|
repository = "gilrs-project/gilrs"
|