12 lines
297 B
Rust
12 lines
297 B
Rust
#![cfg_attr(not(feature = "std"), no_std)]
|
|
#![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))]
|
|
|
|
#[cfg(feature = "nightly")]
|
|
pub mod adapter;
|
|
|
|
pub mod shared_bus;
|
|
|
|
pub trait SetConfig {
|
|
type Config;
|
|
fn set_config(&mut self, config: &Self::Config);
|
|
}
|