Merge pull request #26 from shepmaster/optional-std

Make the std-stub optional
This commit is contained in:
Dylan McKay 2020-07-26 03:04:15 +12:00 committed by GitHub
commit 921b305cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,11 @@ build = "core_generator/build.rs"
keywords = ["avr", "arduino", "uno"]
[features]
default = ["avr-std-stub"]
[dependencies]
avr-std-stub = "1.0"
avr-std-stub = { version = "1.0", optional = true }
target-cpu-macro = "0.1"
[build-dependencies]

View File

@ -9,8 +9,6 @@
#![no_std]
extern crate avr_std_stub;
pub use self::register::{Register, RegisterBits, RegisterValue};
pub use self::pin::{DataDirection, Pin};