1#![cfg_attr(not(feature = "std"), no_std)]
2#![forbid(unsafe_code)]
3#![doc = include_str!("../README.md")]
4
5#[cfg(feature = "std")]
6extern crate alloc;
7
8pub mod protocol;
9
10#[cfg(feature = "std")]
11mod client;
12#[cfg(feature = "std")]
13mod graph;
14#[cfg(feature = "std")]
15mod midi;
16#[cfg(feature = "usb")]
17mod usb;
18
19#[cfg(feature = "std")]
20pub use client::{Client, Transport};
21#[cfg(feature = "std")]
22pub use graph::{Connection, Graph, Node, PortKind};
23#[cfg(feature = "std")]
24pub use midi::{Channel, MidiCommand};
25#[cfg(feature = "usb")]
26pub use usb::UsbTransport;