-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathCargo.toml
72 lines (60 loc) · 1.75 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "minus"
version = "5.6.1"
authors = ["Arijit Dey <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/minus"
repository = "https://github.com/AMythicDev/minus"
description = "An asynchronous data feedable terminal paging library for Rust"
keywords = ["pager", "asynchronous", "dynamic", "less", "more"]
categories = ["Text processing", "Command-line interface", "Asynchronous"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "minus"
path = "src/lib.rs"
crate-type = ["lib"]
[dependencies]
crossterm = "^0.27"
textwrap = { version = "~0.16", default-features = false, features = ["unicode-width"] }
thiserror = "^1"
regex = { version = "^1", optional = true }
crossbeam-channel = "^0.5"
parking_lot = "0.12.1"
once_cell = { version = "^1.18", features = ["parking_lot"] }
[features]
search = [ "regex" ]
static_output = []
dynamic_output = []
[dev-dependencies]
tokio = { version = "^1.0", features = ["rt", "macros", "rt-multi-thread", "time"] }
[[example]]
name = "dyn_tokio"
path = "examples/dyn_tokio.rs"
required-features = ["dynamic_output"]
[[example]]
name = "less-rs"
path = "examples/less-rs.rs"
required-features = ["dynamic_output"]
[[example]]
name = "static"
path = "examples/static.rs"
required-features = ["static_output"]
[[example]]
name = "large_lines"
path = "examples/large_lines.rs"
required-features = ["static_output"]
[[example]]
name = "color-output"
path = "examples/color-output.rs"
required-features = ["static_output"]
[[example]]
name = "static-no-overflow"
path = "examples/static-no-overflow.rs"
required-features = ["static_output"]
[[example]]
name = "msg-tokio"
path = "examples/msg-tokio.rs"
required-features = ["dynamic_output"]