# 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.77.0" name = "key-mapping" version = "0.4.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Library allowing for keyboard key code conversion between systems such as the DOM and HID usage-ids" homepage = "https://github.com/enchant97/rs-key-mapping" readme = "README.md" keywords = [ "keyboard", "layouts", "hid", "mappings", ] categories = [ "no-std", "no-std::no-alloc", "encoding", ] license = "MIT OR Apache-2.0" repository = "https://github.com/enchant97/rs-key-mapping" [lib] name = "key_mapping" path = "src/lib.rs" [dependencies.phf] version = "0.11" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.usbd-hid] version = "0.8" optional = true [build-dependencies.hex] version = "0.4.3" [build-dependencies.phf_codegen] version = "0.11" [build-dependencies.serde] version = "1.0" features = ["derive"] [build-dependencies.serde_json] version = "1.0" [features] default = ["std"] std = []