Skip to content

Commit

Permalink
Add features to hidparser
Browse files Browse the repository at this point in the history
  • Loading branch information
joschock committed Sep 25, 2023
1 parent 3aab055 commit d1e6478
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion hidparser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ license = "BSD-2-Clause-Patent"
description = "HID report descriptor parsing library"
repository = "https://github.com/microsoft/mu_rust_hid"
keywords = ["hid"]
categories = ["no-std", "parser-implementations"]
categories = ["no-std", "parser-implementations"]

[features]
default = []
std = []
2 changes: 1 addition & 1 deletion hidparser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
//! SPDX-License-Identifier: BSD-2-Clause-Patent
//!
#![no_std]
#![cfg_attr(not(feature = "std"), no_std)]
mod item_tokenizer;
pub mod report_data_types;
pub mod report_descriptor_parser;
Expand Down

0 comments on commit d1e6478

Please sign in to comment.