-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
72 lines (59 loc) · 1.89 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 = "oursh"
version = "0.4.4"
edition = "2018"
authors = ["Nathan Lilienthal <[email protected]>"]
description = "Modern, fast POSIX compatible shell"
documentation = "https://docs.rs/oursh"
readme = "README.md"
license = "MIT"
keywords = ["shell", "POSIX", "language", "lalrpop"]
categories = ["command-line-utilities", "parser-implementations"]
homepage = "https://nixpulvis.com/oursh/oursh"
repository = "https://github.com/nixpulvis/oursh"
# Compile our parser grammars.
build = "build.rs"
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "https://github.com/nixpulvis/oursh" }
[features]
default = ["raw", "shebang-block"]
# TODO: Justify and explain features.
# Enables lexing of TEXT tokens, and parsing of `SheBang`, `HashLang`,
# `AltLang` blocks. Without this feature, the POSIX shell aims not to vary
# from a proper POSIX implementation at all.
shebang-block = []
# Raw terminal mode for better control of the IO interactions. This allows
# things like arrow keys for history, and cursor editing.
raw = []
# # Save the history of commands (entered) for quick recall.
# # TODO: Stop depending on raw if this ever interacts with anything beside the
# # RELP input.
# history = ["raw"]
# # REPL tab completion.
# completion = ["raw"]
[dependencies]
docopt = "1.1"
uuid = { version = "1.4", features = ["v4"] }
dirs = "5.0"
lalrpop-util = "0.20"
nix = { version = "0.27", features = ["hostname"] }
pwd = "1.4"
ctrlc = "3.4"
# Option 1: http://man7.org/linux/man-pages/man3/termios.3.html
#termios = "*"
# Option 2: http://ticki.github.io/blog/making-terminal-applications-in-rust-with-termion/
termion = "2.0"
rustyline = "12.0"
[build-dependencies]
lalrpop = "0.20"
[dev-dependencies]
chrono = "0.4"
assert_matches = "1"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "compare"
harness = false
[[bench]]
name = "piped"
harness = false