midi2/
lib.rs

1#![no_std]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3#![doc = include_str!("../README.md")]
4
5#[cfg(any(feature = "std", test))]
6extern crate std;
7
8#[cfg(feature = "channel-voice1")]
9pub mod channel_voice1;
10#[cfg(feature = "channel-voice2")]
11pub mod channel_voice2;
12#[cfg(feature = "ci")]
13pub mod ci;
14#[cfg(feature = "flex-data")]
15pub mod flex_data;
16#[cfg(feature = "sysex7")]
17pub mod sysex7;
18#[cfg(feature = "sysex8")]
19pub mod sysex8;
20#[cfg(feature = "system-common")]
21pub mod system_common;
22#[cfg(feature = "ump-stream")]
23pub mod ump_stream;
24#[cfg(feature = "utility")]
25pub mod utility;
26
27pub mod buffer;
28pub mod error;
29
30mod detail;
31mod message;
32mod packet;
33mod packets;
34mod traits;
35
36pub use ux;
37
38pub use message::*;
39pub use packets::*;
40pub use traits::*;
41
42pub mod num {
43    pub use ux::*;
44    pub type Fixed7_9 = fixed::FixedU16<fixed::types::extra::U9>;
45    pub type Fixed7_25 = fixed::FixedU32<fixed::types::extra::U25>;
46}
47
48pub mod prelude {
49    pub use super::*;
50    pub use crate::ux::*;
51}