crates/diff/Cargo.toml 867 B raw
1
[package]
2
name = "rustik-diff"
3
description = "Pure diff viewer and Git diff pager for Rustik."
4
documentation = "https://docs.rs/rustik-diff"
5
homepage = "https://crates.io/crates/rustik-diff"
6
version.workspace = true
7
edition.workspace = true
8
license.workspace = true
9
10
[features]
11
default = ["builtins"]
12
# Batteries-included highlighting: the embedded grammar/theme assets, the
13
# `Builtins` loader, and the background `spawn_highlighter` helper.
14
builtins = ["rustik-highlight/syntaxes"]
15
16
[dependencies]
17
rustik-highlight.workspace = true
18
rustik-repo.workspace = true
19
rustik-tui = { workspace = true, features = ["widgets"] }
20
rustik-tui-termion.workspace = true
21
22
[[bin]]
23
name = "rustik-diff"
24
path = "src/bin/rustik-diff.rs"
25
required-features = ["builtins"]
26
27
[[bench]]
28
name = "render"
29
harness = false
30
31
[[bench]]
32
name = "highlight"
33
harness = false
34
35
[lints]
36
workspace = true