-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
37 lines (32 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "edtui"
version = "0.9.4"
edition = "2021"
repository = "https://github.com/preiter93/edtui"
keywords = ["ratatui", "tui", "editor", "text", "vim"]
description = "A TUI based vim inspired editor"
authors = ["preiter <[email protected]>"]
license = "MIT"
[dependencies]
ratatui = { package = "ratatui", version = "0.29", features = ["unstable"] }
# jagged = { package = "edtui-jagged", path="../edtui-jagged", version = "0.1.12" }
jagged = { package = "edtui-jagged", version = "0.1" }
enum_dispatch = "0.3.12"
arboard = { version = "3.3.0", optional = true }
arbitrary = { version = "1", optional = true, features = ["derive"] }
unicode-width = "0.2.0"
syntect = { version = "5.2.0", optional = true }
once_cell = { version = "1", optional = true }
[[example]]
name = "app"
required-features = ["syntax-highlighting"]
[[example]]
name = "syntax_highlighting"
required-features = ["syntax-highlighting"]
[[example]]
name = "test_text"
[features]
default = ["arboard", "mouse-support", "syntax-highlighting"]
arboard = ["dep:arboard"]
mouse-support = [] # experimental
syntax-highlighting = ["dep:syntect", "dep:once_cell"] # experimental