.cargo/
crates/
scripts/
src/
.gitignore
30 B
.gitsigners
198 B
AGENTS.md
1.9 KiB
CONTRIBUTING
1.7 KiB
Cargo.lock
5.4 KiB
Cargo.toml
1.9 KiB
LICENSE
1.1 KiB
README.md
245 B
STYLE
3.7 KiB
clippy.toml
213 B
Cargo.toml
raw
| 1 | [workspace] |
| 2 | members = [ |
| 3 | "crates/brain", |
| 4 | "crates/diff", |
| 5 | "crates/files", |
| 6 | "crates/highlight", |
| 7 | "crates/repo", |
| 8 | "crates/signals", |
| 9 | "crates/tui", |
| 10 | "crates/tui-core", |
| 11 | "crates/tui-termion", |
| 12 | "crates/tui-widgets" |
| 13 | ] |
| 14 | resolver = "3" |
| 15 | |
| 16 | [package] |
| 17 | name = "rustik" |
| 18 | description = "Rust development kit for minimal, high performance tools." |
| 19 | documentation = "https://docs.rs/rustik" |
| 20 | homepage = "https://crates.io/crates/rustik" |
| 21 | version.workspace = true |
| 22 | edition.workspace = true |
| 23 | license.workspace = true |
| 24 | |
| 25 | [features] |
| 26 | default = [] |
| 27 | diff = ["dep:rustik-diff"] |
| 28 | highlight = ["dep:rustik-highlight"] |
| 29 | widgets = ["rustik-tui/widgets"] |
| 30 | all = ["diff", "highlight", "widgets"] |
| 31 | |
| 32 | [dependencies] |
| 33 | rustik-diff = { workspace = true, optional = true } |
| 34 | rustik-highlight = { workspace = true, optional = true } |
| 35 | rustik-tui = { workspace = true } |
| 36 | |
| 37 | [target.'cfg(unix)'.dependencies] |
| 38 | libc = { workspace = true } |
| 39 | popol = "3.0.1" |
| 40 | shlex = "1.3" |
| 41 | |
| 42 | [lints] |
| 43 | workspace = true |
| 44 | |
| 45 | [workspace.package] |
| 46 | version = "0.3.0" |
| 47 | edition = "2024" |
| 48 | license = "MIT" |
| 49 | |
| 50 | [workspace.dependencies] |
| 51 | lexopt = { version = "0.3" } |
| 52 | libc = { version = "0.2" } |
| 53 | onig = { package = "onig-regset", version = "6.7.0", default-features = false } |
| 54 | serde = { package = "microserde", version = "0.3.0" } |
| 55 | termion = { version = "4" } |
| 56 | rustik-highlight = { path = "crates/highlight", version = "0.3.0" } |
| 57 | rustik-diff = { path = "crates/diff", version = "0.3.0" } |
| 58 | rustik-repo = { path = "crates/repo", version = "0.3.0" } |
| 59 | rustik-signals = { path = "crates/signals", version = "0.3.0" } |
| 60 | rustik-tui = { path = "crates/tui", version = "0.3.0" } |
| 61 | rustik-tui-core = { path = "crates/tui-core", version = "0.3.0" } |
| 62 | rustik-tui-widgets = { path = "crates/tui-widgets", version = "0.3.0" } |
| 63 | rustik-tui-termion = { path = "crates/tui-termion", version = "0.3.0" } |
| 64 | |
| 65 | [workspace.lints.clippy] |
| 66 | inline_always = "allow" |
| 67 | needless_pass_by_value = "allow" |
| 68 | too_many_lines = "allow" |
| 69 | trivially_copy_pass_by_ref = "allow" |
| 70 | unused_self = "allow" |
| 71 | unwrap_used = "warn" |
| 72 | expect_used = "warn" |
| 73 | panic = "warn" |