diff options
| author | xoviat <[email protected]> | 2021-03-02 00:32:23 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-03-02 00:32:23 +0100 |
| commit | 9626aee7dbe5fe454a014beee82383bc3f102a91 (patch) | |
| tree | 6d155c12dd0563056874ecc97d57c6ac521bcf5c /embassy-traits/src/lib.rs | |
| parent | 084b64053a562797fa3d88bb7dde9ddd8db792f1 (diff) | |
Move traits to separate crate.
Diffstat (limited to 'embassy-traits/src/lib.rs')
| -rw-r--r-- | embassy-traits/src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/embassy-traits/src/lib.rs b/embassy-traits/src/lib.rs new file mode 100644 index 000000000..55af46cff --- /dev/null +++ b/embassy-traits/src/lib.rs | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | ||
| 2 | #![feature(generic_associated_types)] | ||
| 3 | #![feature(const_fn)] | ||
| 4 | #![feature(const_fn_fn_ptr_basics)] | ||
| 5 | #![feature(const_option)] | ||
| 6 | #![allow(incomplete_features)] | ||
| 7 | |||
| 8 | pub mod flash; | ||
| 9 | pub mod gpio; | ||
| 10 | pub mod uart; | ||
