remove choice lock + Cargo.toml fillups

master
Ales Katona 6 years ago
parent 893a645ef7
commit a1efe9d3b5
Signed by: almindor
GPG Key ID: 08C459E2D8ABB7E8

@ -4,6 +4,10 @@ version = "1.0.0"
authors = ["Ales Katona <almindor@gmail.com>"] authors = ["Ales Katona <almindor@gmail.com>"]
edition = "2018" edition = "2018"
license = "LGPLv3" license = "LGPLv3"
repository = "https://gitlab.bitsmart.ltd/open/prongs.git"
documentation = "https://doc.bitsmart.ltd/prongs"
homepage = "https://gitlab.bitsmart.ltd/open"
description = "Input handling schema written in rust. Backend agnostic, provides serializability, assignment and unified interface for working with inputs. Keyboard, mouse and controllers supported."
[dependencies] [dependencies]
bitflags = "1.0.4" bitflags = "1.0.4"

@ -4,10 +4,6 @@ use crate::types::{InputCause, InputTypeFlags, ProcessingResult};
pub mod types; pub mod types;
// error out specifically if no backend is chosen
#[cfg(not(any(feature="backend_piston", feature="backend_gilrs")))]
compile_error!("No backend selected, use features=<backend> in Cargo.toml or --features <backend> when building directly.");
#[cfg(feature="backend_piston")] #[cfg(feature="backend_piston")]
pub mod backend_piston; pub mod backend_piston;
#[cfg(feature="backend_gilrs")] #[cfg(feature="backend_gilrs")]

Loading…
Cancel
Save