Introduce library boundary
This commit is contained in:
@@ -5,11 +5,13 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.86"
|
anyhow = "1.0.86"
|
||||||
|
hex = "0.4.3"
|
||||||
ratatui = "0.27.0"
|
ratatui = "0.27.0"
|
||||||
regex = "1.10.5"
|
regex = "1.10.5"
|
||||||
shellexpand = "3.1.0"
|
shellexpand = "3.1.0"
|
||||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
sha2 = "0.10.8"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = { version = "0.3", features = ["winuser", "processthreadsapi"] }
|
winapi = { version = "0.3", features = ["winuser", "processthreadsapi"] }
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
// Placeholder for upcoming context module.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Placeholder for upcoming domain module.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Placeholder for upcoming event_log module.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
pub mod context;
|
||||||
|
pub mod domain;
|
||||||
|
pub mod event_log;
|
||||||
|
pub mod session;
|
||||||
|
pub mod state_machine;
|
||||||
|
pub mod window;
|
||||||
+1
-1
@@ -6,8 +6,8 @@ use std::io::{stdout, Write};
|
|||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
use std::time::{Duration, Instant}; // <--- Add this
|
use std::time::{Duration, Instant}; // <--- Add this
|
||||||
mod constants;
|
mod constants;
|
||||||
mod window;
|
|
||||||
|
|
||||||
|
use antidrift::window;
|
||||||
use ratatui::{
|
use ratatui::{
|
||||||
crossterm::{
|
crossterm::{
|
||||||
event::{self, Event, KeyCode},
|
event::{self, Event, KeyCode},
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
// Placeholder for upcoming session module.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Placeholder for upcoming state_machine module.
|
||||||
Reference in New Issue
Block a user