-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
152 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
mod mbedtls; | ||
|
||
extern crate alloc; | ||
|
||
use rustls::*; | ||
|
||
pub use mbedtls::*; | ||
|
||
// log for logging (optional). | ||
#[cfg(feature = "logging")] | ||
use log; | ||
|
||
#[cfg(not(feature = "logging"))] | ||
#[macro_use] | ||
mod log { | ||
#[allow(unused_macros)] | ||
pub(crate) mod log { | ||
macro_rules! trace ( ($($tt:tt)*) => {{}} ); | ||
macro_rules! debug ( ($($tt:tt)*) => {{}} ); | ||
macro_rules! warn ( ($($tt:tt)*) => {{}} ); | ||
macro_rules! error ( ($($tt:tt)*) => {{}} ); | ||
} | ||
|
||
mod mbedtls; | ||
|
||
pub use mbedtls::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.