Skip to content

Commit

Permalink
#9 added strict and default feature
Browse files Browse the repository at this point in the history
  • Loading branch information
HusseinAbdelhamid committed Apr 26, 2024
1 parent 84479a9 commit ecd635c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "mcp2517"
description = "Library for MCP2517 CAN controller"
keywords = ["MCP2517", "no_std", "CAN"]
categories = ["embedded", "hardware-support", "no-std", "network-programming"]
categories = ["embedded", "hardware-support", "no-std", "network-programming"]
authors = ["AtlasAero GmbH <info@atlasaero.eu>"]
license = "MIT OR Apache-2.0"
version = "0.0.1"
Expand All @@ -17,4 +17,8 @@ embedded-time = "0.12.1"
log = "0.4.17"

[dev-dependencies]
mockall = "0.11.0"
mockall = "0.11.0"

[features]
default = []
strict = []
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![cfg_attr(not(test), no_std)]
#![cfg_attr(feature = "strict", deny(warnings))]

extern crate alloc;

Expand Down

0 comments on commit ecd635c

Please sign in to comment.