-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
120 lines (96 loc) · 2.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
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
cargo-features = ["per-package-target", "profile-rustflags"]
[package]
name = "melpomene"
version = "0.1.0"
edition = "2021"
description = """
A desktop simulator, suitable for experimenting with MnemOS without
any external hardware requirements.
"""
repository = "https://github.com/tosc-rs/mnemos"
homepage = "https://mnemos.dev"
readme = "./README.md"
license = "MIT OR Apache-2.0"
[build-dependencies]
melpo-config = { path = "./melpo-config" }
serde = { version = "1.0.178", features = ["derive"] }
mnemos-config = { path = "../../source/config", features = ["use-std"] }
mnemos-kernel = { package = "mnemos", path = "../../source/kernel" }
miette = "5.10.0"
[dependencies]
serde = { version = "1.0.178", features = ["derive"] }
melpo-config = { path = "./melpo-config" }
mnemos-config = { path = "../../source/config" }
[dependencies.tracing]
version = "0.1.35"
[dependencies.tracing-subscriber]
version = "0.3.14"
features = ["registry", "fmt", "ansi"]
default-features = false
[dependencies.tracing-modality]
# version = "0.1.1"
optional = true
git = "https://github.com/auxoncorp/modality-tracing-rs"
rev = "9c23c188466357e7ad0c618b4edfe9514e9bf764"
[dependencies.uuid]
version = "1.1.2"
default-features = false
features = ["serde"]
[dependencies.mnemos-kernel]
package = "mnemos"
path = "../../source/kernel"
[dependencies.mnemos-alloc]
version = "0.1.0"
features = ["use-std"]
path = "../../source/alloc"
[dependencies.mnemos-abi]
path = "../../source/abi"
[dependencies.mnemos-std]
path = "../../source/mstd"
[dependencies.postcard]
version = "1.0.1"
default-features = false
[dependencies.atty]
version = "0.2"
optional = true
[dependencies.console-subscriber]
version = "0.1.6"
optional = true
[dependencies.tokio]
version = "1.19"
features = ["rt", "time", "macros", "sync"]
[dependencies.clap]
version = "3.0"
features = ["env", "derive"]
[dependencies.humantime]
version = "2"
optional = true
[dependencies.embedded-graphics]
version = "0.7.1"
[dependencies.embedded-graphics-simulator]
version = "0.3.0"
[dependencies.chrono]
version = "0.4"
# Melpomene does not use any APIs from `maitake` directly. This dependency is
# instead required in order to enable `maitake`'s support for `tracing` 0.1.x,
# which is needed to support the Tokio Console while running in the simulator,
# but is not needed by actual builds of mnemOS running on real hardware.
[dependencies.maitake]
workspace = true
default-features = true
features = ["tracing-01"]
[dependencies.forth3]
path = "../../source/forth3"
features = ["async"]
[dependencies.futures]
version = "0.3"
default-features = false
features = ["std", "async-await"]
[features]
# enables Tokio Console support
trace-console = ["console-subscriber", "humantime"]
trace-fmt = ["tracing-subscriber/fmt", "atty"]
# Note, the "trace-modality" feature requires the use of the Auxon modality tool.
# More information: https://auxon.io/products/modality
trace-modality = ["tracing-modality", "tokio/net", "tokio/sync"]
default = ["trace-console", "trace-fmt"]