Make the 'avr-std-stub' dependency optional

This way, downstream users may user their own panic handlers and
exception handling personality functions if they desire.
This commit is contained in:
Dylan McKay 2020-07-26 02:06:51 +12:00
parent 921b305cc1
commit 9904454521
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
#![no_std]
#[cfg(feature = "avr-std-stub")] extern crate avr_std_stub;
pub use self::register::{Register, RegisterBits, RegisterValue};
pub use self::pin::{DataDirection, Pin};