forked from Wandalen/wTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (61 loc) · 1.97 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
[package]
name = "wca"
version = "0.5.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
"Dmytro Kryvoruchko <[email protected]>",
"Bogdan Balushkin <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
documentation = "https://docs.rs/wca"
repository = "https://github.com/Wandalen/wTools/tree/master/module/move/wca"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/move/wca/Readme.md"
description = """
The tool to make CLI ( commands user interface ). It is able to aggregate external binary applications, as well as functions, which are written in your language.
"""
categories = [ "command-line-interface", "command-line-utilities" ]
keywords = [ "wtools", "CLI", "CUI", "user-interface" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "full" ]
all-features = false
exclude = [ "/tests", "/examples", "-*" ]
[features]
default = [ "enabled" ]
full = [ "enabled" ]
use_std = [ "default_handlers" ]
use_alloc = []
enabled = []
default_handlers = [
"on_error_default",
"on_syntax_error_default",
"on_ambiguity_default",
"on_unknown_command_error_default",
"on_get_help_default",
"on_print_commands_default",
]
on_error_default = [ "enabled" ]
on_syntax_error_default = [ "enabled" ]
on_ambiguity_default = [ "enabled" ]
on_unknown_command_error_default = [ "enabled" ]
on_unknown_command_error_suggest = [ "eddie" ]
on_get_help_default = [ "enabled" ]
on_print_commands_default = [ "enabled" ]
[dependencies]
error_tools = { workspace = true, features = [ "default" ] }
strs_tools = { workspace = true, features = [ "default" ] }
mod_interface = { workspace = true, features = [ "default" ] }
iter_tools = { workspace = true, features = [ "default" ] }
former = { workspace = true, features = [ "default" ] }
anymap = "0.12"
log = "0.4"
nom = "7.1"
closure = "0.3"
# fuzzy commands search
eddie = { version = "0.4", optional = true }
[dev-dependencies]
test_tools = { workspace = true }
assert_fs = "1.0"