feat(init): scaffold cargo workspace and CI
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
19
crates/core/Cargo.toml
Normal file
19
crates/core/Cargo.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[package]
|
||||
name = "log-viewer-core"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
notify.workspace = true
|
||||
toml.workspace = true
|
||||
parking_lot.workspace = true
|
||||
crossbeam-channel.workspace = true
|
||||
regex.workspace = true
|
||||
memchr.workspace = true
|
||||
directories.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
insta.workspace = true
|
||||
1
crates/core/src/error.rs
Normal file
1
crates/core/src/error.rs
Normal file
@@ -0,0 +1 @@
|
||||
// Task 3 will implement error types
|
||||
10
crates/core/src/lib.rs
Normal file
10
crates/core/src/lib.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
pub mod error;
|
||||
pub mod types;
|
||||
// pub mod io; — Task 4
|
||||
// pub mod search; — Task 4
|
||||
// pub mod parser; — Task 4
|
||||
// pub mod watcher; — Task 4
|
||||
// pub mod filter; — Task 4
|
||||
// pub mod bookmark; — Task 4
|
||||
// pub mod config; — Task 4
|
||||
// pub mod session; — Task 4
|
||||
1
crates/core/src/types.rs
Normal file
1
crates/core/src/types.rs
Normal file
@@ -0,0 +1 @@
|
||||
// Task 2 will implement types
|
||||
9
crates/gui/Cargo.toml
Normal file
9
crates/gui/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "log-viewer-gui"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
egui.workspace = true
|
||||
eframe.workspace = true
|
||||
log-viewer-core.workspace = true
|
||||
1
crates/gui/src/main.rs
Normal file
1
crates/gui/src/main.rs
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
11
crates/tui/Cargo.toml
Normal file
11
crates/tui/Cargo.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
[package]
|
||||
name = "log-viewer-tui"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
ratatui.workspace = true
|
||||
crossterm.workspace = true
|
||||
clap.workspace = true
|
||||
anyhow.workspace = true
|
||||
log-viewer-core.workspace = true
|
||||
1
crates/tui/src/main.rs
Normal file
1
crates/tui/src/main.rs
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user