-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Split linutil into TUI and Core crates
- Loading branch information
Showing
55 changed files
with
320 additions
and
121 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,20 @@ | ||
[package] | ||
name = "tui" | ||
[workspace.package] | ||
license = "MIT" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
clap = { version = "4.5.16", features = ["derive"] } | ||
crossterm = "0.27.0" | ||
# Use workspace dependencies for anything public in linutil_core to avoid versioning conflicts | ||
[workspace.dependencies] | ||
ego-tree = "0.6.2" | ||
oneshot = "0.1.8" | ||
portable-pty = "0.8.1" | ||
ratatui = "0.27.0" | ||
tui-term = "0.1.12" | ||
include_dir = "0.7.4" | ||
tempdir = "0.3.7" | ||
serde = { version = "1.0.205", features = ["derive"] } | ||
toml = "0.8.19" | ||
which = "6.0.3" | ||
unicode-width = "0.1.13" | ||
|
||
[build-dependencies] | ||
chrono = "0.4.33" | ||
|
||
[[bin]] | ||
name = "linutil" | ||
path = "src/main.rs" | ||
|
||
|
||
[workspace] | ||
members = ["tui", "core"] | ||
resolver = "2" | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
opt-level = "z" | ||
debug = false | ||
lto = true | ||
codegen-units = 1 | ||
panic = "abort" | ||
strip = true | ||
incremental = false | ||
incremental = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = "linutil_core" | ||
edition = "2021" | ||
version.workspace = true | ||
license.workspace = true | ||
|
||
[dependencies] | ||
include_dir = "0.7.4" | ||
tempdir = "0.3.7" | ||
serde = { version = "1.0.205", features = ["derive"] } | ||
toml = "0.8.19" | ||
which = "6.0.3" | ||
ego-tree = { workspace = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
fn main() { | ||
// Rebuild if any tabs are modified | ||
println!("cargo:rerun-if-changed=../tabs"); | ||
} |
Oops, something went wrong.