-
Notifications
You must be signed in to change notification settings - Fork 142
/
Cargo.toml
124 lines (105 loc) · 3.16 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[package]
authors = [
"Michael Aaron Murphy <[email protected]>",
"Jeremy Soller <[email protected]>",
"Skyler Berg <[email protected]>",
"stratact <[email protected]>",
"AdminXVII <[email protected]>",
"Hunter Goldstein <[email protected]>",
"jD91mZM2 <[email protected]>",
"Agustin Chiappe Berrini <[email protected]>",
"Sag0Sag0 <[email protected]>",
]
build = "build.rs"
categories = ["command-line-utilities", "config"]
description = "The Ion Shell"
documentation = "https://doc.redox-os.org/ion-manual/"
edition = "2018"
keywords = ["shell", "script", "program", "config", "configuration"]
license-file = "LICENSE"
name = "ion-shell"
readme = "README.md"
repository = "https://gitlab.redox-os.org/redox-os/ion"
version = "1.0.0-alpha"
rust-version = "1.65.0"
[badges]
gitlab = { repository = "https://gitlab.redox-os.org/redox-os/ion", branch = "master" }
maintenance = { status = "experimental" }
[features]
man = ["builtins-proc/man"]
piston = ["piston-ai_behavior", "piston_window", "piston2d-sprite"]
unicode = ["regex/unicode"]
[workspace]
members = [
"members/builtins-proc",
"members/ranges",
"members/scopes-rs",
"members/types-rs",
]
[dev-dependencies]
criterion = "0.3"
serial_test = "*"
serial_test_derive = "*"
[[bench]]
name = "terminator"
harness = false
[[bench]]
name = "statement"
harness = false
[[example]]
name = "window"
required-features = ["piston"]
[[bin]]
name = "ion"
path = "src/main.rs"
[dependencies]
calculate = { git = "https://gitlab.redox-os.org/redox-os/calc", rev = "d2719efb67ab38c4c33ab3590822114453960da5" }
thiserror = "1.0"
glob = "0.3"
redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" }
rand = "0.7"
regex = { version = "1.3", default-features = false, features = [
"std",
"perf",
] }
small = { git = "https://gitlab.redox-os.org/redox-os/small", features = [
"std",
] }
smallvec = "1.4"
unicode-segmentation = "1.6"
ion-ranges = { version = "0.1", path = "members/ranges" }
scopes = { version = "0.1", path = "members/scopes-rs" }
types-rs = { version = "0.1", path = "members/types-rs" }
builtins-proc = { version = "0.1", path = "members/builtins-proc" }
itertools = "0.9"
lexical = "5.2"
object-pool = "0.6"
auto_enums = "0.7"
atty = "0.2"
permutate = "0.3"
xdg = "2.4"
#nix = "0.23"
# FIXME: Needed because of https://github.com/nix-rust/nix/commit/ff6f8b8a26c8d61f4341e441acf405402b46a430
nix = { git = "https://github.com/nix-rust/nix.git", rev = "ff6f8b8a" }
mktemp = "0.4"
# window example
piston-ai_behavior = { version = "0.31", optional = true }
piston_window = { version = "0.120", optional = true }
piston2d-sprite = { version = "0.58", optional = true }
[target."cfg(all(unix, not(target_os = \"redox\")))".dependencies]
users = "0.10"
[target."cfg(target_os = \"redox\")".dependencies]
redox_users = "0.4"
[target."cfg(target_os = \"dragonfly\")".dependencies]
errno-dragonfly = "0.1.1"
[lib]
path = "src/lib/lib.rs"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
lto = true
panic = "abort"
# Required to make `cargo vendor` work
[patch.crates-io]
redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" }