mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
refactor some of the larger modules
This commit is contained in:
parent
417b097c6f
commit
1261b07aa2
24 changed files with 1070 additions and 1050 deletions
|
|
@ -34,14 +34,20 @@ pub(crate) use tui::*;
|
|||
pub mod edn;
|
||||
pub(crate) use edn::*;
|
||||
|
||||
pub mod jack;
|
||||
pub(crate) use jack::*;
|
||||
|
||||
pub mod midi;
|
||||
pub(crate) use midi::*;
|
||||
|
||||
testmod! { test }
|
||||
|
||||
pub(crate) use clap::{self, Parser};
|
||||
|
||||
pub use better_panic;
|
||||
pub use ::better_panic;
|
||||
pub(crate) use better_panic::{Settings, Verbosity};
|
||||
|
||||
pub use atomic_float;
|
||||
pub use ::atomic_float;
|
||||
pub(crate) use atomic_float::*;
|
||||
|
||||
pub(crate) use std::sync::{Arc, Mutex, RwLock};
|
||||
|
|
@ -58,28 +64,32 @@ pub(crate) use std::ops::{Add, Sub, Mul, Div, Rem};
|
|||
pub(crate) use std::cmp::{Ord, Eq, PartialEq};
|
||||
pub(crate) use std::fmt::{Debug, Display};
|
||||
|
||||
pub use crossterm;
|
||||
pub use ::crossterm;
|
||||
pub(crate) use crossterm::{ExecutableCommand};
|
||||
pub(crate) use crossterm::terminal::{EnterAlternateScreen, LeaveAlternateScreen, enable_raw_mode, disable_raw_mode};
|
||||
pub(crate) use crossterm::event::{KeyCode, KeyModifiers, KeyEvent, KeyEventKind, KeyEventState};
|
||||
|
||||
pub use ratatui;
|
||||
pub use ::ratatui;
|
||||
pub(crate) use ratatui::{
|
||||
prelude::{Style, Color, Buffer},
|
||||
style::{Stylize, Modifier},
|
||||
backend::{Backend, CrosstermBackend, ClearType}
|
||||
};
|
||||
|
||||
pub use jack;
|
||||
pub(crate) use jack::{
|
||||
pub use ::jack as libjack;
|
||||
pub(crate) use ::jack::{
|
||||
contrib::ClosureProcessHandler,
|
||||
Client, ProcessScope, Control, CycleTimes,
|
||||
Port, PortSpec, MidiIn, MidiOut, AudioIn, AudioOut, Unowned,
|
||||
Client, AsyncClient, ClientOptions, ClientStatus,
|
||||
ProcessScope, Control, CycleTimes,
|
||||
Port, PortId,
|
||||
PortSpec, MidiIn, MidiOut, AudioIn, AudioOut, Unowned,
|
||||
Transport, TransportState, MidiIter, RawMidi,
|
||||
Frames,
|
||||
NotificationHandler,
|
||||
};
|
||||
|
||||
pub use midly;
|
||||
pub(crate) use midly::{
|
||||
pub use ::midly;
|
||||
pub(crate) use ::midly::{
|
||||
Smf,
|
||||
MidiMessage,
|
||||
TrackEventKind,
|
||||
|
|
@ -87,8 +97,8 @@ pub(crate) use midly::{
|
|||
num::u7
|
||||
};
|
||||
|
||||
pub use palette;
|
||||
pub(crate) use palette::{
|
||||
pub use ::palette;
|
||||
pub(crate) use ::palette::{
|
||||
*,
|
||||
convert::*,
|
||||
okhsl::*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue