Move StdTimeout to ectool under std feature

This commit is contained in:
Jeremy Soller
2020-09-16 12:41:28 -06:00
committed by Jeremy Soller
parent 525e21033f
commit ad5cd931e3
4 changed files with 37 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
#![no_std]
#![cfg_attr(not(feature = "std"), no_std)]
pub use self::ec::Ec;
mod ec;
@@ -22,4 +22,6 @@ pub use self::super_io::SuperIo;
mod super_io;
pub use self::timeout::Timeout;
#[cfg(feature = "std")]
pub use self::timeout::StdTimeout;
mod timeout;