Merge pull request #26 from shepmaster/optional-std
Make the std-stub optional
This commit is contained in:
commit
921b305cc1
|
@ -19,8 +19,11 @@ build = "core_generator/build.rs"
|
||||||
|
|
||||||
keywords = ["avr", "arduino", "uno"]
|
keywords = ["avr", "arduino", "uno"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["avr-std-stub"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
avr-std-stub = "1.0"
|
avr-std-stub = { version = "1.0", optional = true }
|
||||||
target-cpu-macro = "0.1"
|
target-cpu-macro = "0.1"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
extern crate avr_std_stub;
|
|
||||||
|
|
||||||
pub use self::register::{Register, RegisterBits, RegisterValue};
|
pub use self::register::{Register, RegisterBits, RegisterValue};
|
||||||
pub use self::pin::{DataDirection, Pin};
|
pub use self::pin::{DataDirection, Pin};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue