-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (77 loc) · 2.27 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
[workspace]
members = ["amuse", "muse-channel", "muse-lang", "muse-reactor", "muse-ui"]
[workspace.dependencies]
muse = { path = ".", default-features = false }
muse-lang = { path = "muse-lang", default-features = false }
kempt = { version = "0.2.3", features = ["serde"] }
muse-ui = { path = "muse-ui" }
muse-reactor = { version = "0.1.0", path = "muse-reactor" }
muse-channel = { version = "0.1.0", path = "muse-channel" }
cushy = { git = "https://github.com/khonsulabs/cushy" }
alot = "0.3.1"
crossbeam-utils = "0.8.19"
parking_lot = "0.12.1"
refuse = "0.0.6"
refuse-pool = "0.0.6"
serde = { version = "1.0.195", features = ["derive", "rc"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
[package]
name = "muse"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/khonsulabs/muse"
license = "MIT OR Apache-2.0"
[features]
default = ["repl"]
reactor = ["dep:muse-reactor"]
channel = ["dep:muse-channel"]
ui = ["dep:muse-ui"]
dispatched = ["muse-lang/dispatched"]
repl = ["dep:rustyline", "dep:ariadne", "dep:dirs"]
tracing = ["muse-reactor/tracing", "muse-lang/tracing"]
[[bin]]
name = "muse"
path = "src/main.rs"
required-features = ["repl"]
[dependencies]
muse-lang = { workspace = true }
muse-reactor = { workspace = true, optional = true }
muse-channel = { workspace = true, optional = true }
muse-ui = { workspace = true, optional = true }
ariadne = { version = "0.4.0", optional = true }
dirs = { version = "5.0.1", optional = true }
rustyline = { version = "14.0.0", optional = true, default-features = false, features = [
"with-file-history",
] }
[dev-dependencies]
rsn = "0.1"
pollster = "0.3.0"
flume = "0.11.0"
serde = { workspace = true }
tracing-subscriber = { workspace = true }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints]
workspace = true
[[test]]
name = "harness"
harness = false
[[test]]
name = "hosted"
harness = false
[package.metadata.docs.rs]
all-features = true
[profile.release]
debug = true
lto = true
# [patch.crates-io]
# refuse = { path = "../refuse" }
# refuse-pool = { path = "../refuse/refuse-pool" }
# refuse-macros = { path = "../refuse/refuse-macros" }