-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Cargo.toml
65 lines (52 loc) · 1.87 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
[package]
name = "steel-interpreter"
version.workspace = true
authors = ["mattwparas <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mattwparas/steel"
description = "Steel repl and command line interface"
include = ["/src/**/*", "/Cargo.toml", "/README.md", "LICENSE*"]
[workspace.package]
version = "0.6.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "steel"
path = "src/main.rs"
[workspace.dependencies]
# This has to line up with the workspace version above
steel-core = { path = "./crates/steel-core", version = "0.6.0", features = ["dylibs", "markdown", "stacker", "sync"] }
[features]
build-info = ["vergen"]
# Note: It does not appear that this will get propagated to any crate that depends on
# the workspace feature. This is unfortunate, since we'd like everything to actually
# use the workspace dependency. For now, if you want to test with sync, you should
# just add the sync flag directly.
# default = ["sync"]
# sync = ["steel-core/sync"]
[dependencies]
once_cell = "1.17.0"
steel-core = { workspace = true }
steel-derive = { path = "./crates/steel-derive", version = "0.5.0" }
steel-repl = { path = "./crates/steel-repl", version = "0.6.0" }
env_logger = "0.10.0"
log = "0.4.17"
clap = { version = "=4.1.4", features = ["derive"] }
steel-doc = { path = "./crates/steel-doc", version = "0.6.0" }
[target.'cfg(not(target_os = "redox"))'.dependencies]
cargo-steel-lib = { path = "./crates/cargo-steel-lib", version = "0.1.0" }
[dev-dependencies]
serde = { version = "1.0.152", features = ["derive"] }
[workspace]
members = [
".",
"crates/*",
"libs/*",
]
[profile.release]
debug = false
lto = true
[profile.test]
opt-level = 2
[build-dependencies]
vergen = { version = "9.0.0", features = [ "build", "cargo", "rustc" ], optional = true}