forked from lunatic-solutions/lunatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
170 lines (154 loc) · 5.58 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[package]
name = "lunatic-runtime"
version = "0.13.2"
authors = ["Bernard Kolobara <bernard@lunatic.solutions>"]
edition = "2018"
description = "An actor platform built on WebAssembly"
homepage = "https://lunatic.solutions"
repository = "https://github.com/lunatic-solutions/lunatic"
categories = ["wasm"]
license = "Apache-2.0 OR MIT"
readme = "README.md"
default-run = "lunatic"
[lib]
name = "lunatic_runtime"
path = "src/lib.rs"
[[bin]]
name = "lunatic"
path = "src/main.rs"
[[bin]]
name = "cargo-lunatic"
path = "src/cargo_lunatic.rs"
[features]
default = ["metrics"]
metrics = [
"lunatic-process-api/metrics",
"lunatic-process/metrics",
"lunatic-registry-api/metrics",
"lunatic-timer-api/metrics",
"dep:lunatic-metrics-api",
]
prometheus = ["dep:metrics-exporter-prometheus", "metrics"]
[dependencies]
hash-map-id = { workspace = true }
lunatic-control = { workspace = true }
lunatic-control-axum = { workspace = true }
lunatic-distributed = { workspace = true }
lunatic-distributed-api = { workspace = true }
lunatic-error-api = { workspace = true }
lunatic-messaging-api = { workspace = true }
lunatic-networking-api = { workspace = true }
lunatic-process = { workspace = true }
lunatic-process-api = { workspace = true }
lunatic-registry-api = { workspace = true }
lunatic-stdout-capture = { workspace = true }
lunatic-timer-api = { workspace = true }
lunatic-version-api = { workspace = true }
lunatic-metrics-api = { workspace = true, optional = true }
lunatic-wasi-api = { workspace = true }
lunatic-trap-api = { workspace = true }
lunatic-sqlite-api = { workspace = true }
anyhow = { workspace = true }
async-ctrlc = "1.2.0"
clap = { version = "4.0", features = ["cargo", "derive"] }
dashmap = { workspace = true }
dirs = "4.0.0"
dotenvy = "0.15.7"
env_logger = "0.9"
log = { workspace = true }
metrics-exporter-prometheus = { version = "0.11.0", optional = true }
regex = "1.7"
reqwest = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = "1.0.89"
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "net"] }
toml = "0.5"
url = "2.2.2"
url_serde = "0.2.0"
uuid = { workspace = true }
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
walkdir = "2.3.3"
zip = "0.6.6"
[dev-dependencies]
criterion = { version = "0.4", features = ["async_tokio"] }
tokio = { workspace = true, features = ["rt-multi-thread"] }
wat = "1.0"
[[bench]]
harness = false
name = "benchmark"
[workspace]
members = [
"crates/hash-map-id",
"crates/lunatic-common-api",
"crates/lunatic-control",
"crates/lunatic-control-axum",
# "crates/lunatic-control-submillisecond",
"crates/lunatic-distributed-api",
"crates/lunatic-distributed",
"crates/lunatic-error-api",
"crates/lunatic-messaging-api",
"crates/lunatic-process-api",
"crates/lunatic-process",
"crates/lunatic-registry-api",
"crates/lunatic-stdout-capture",
"crates/lunatic-timer-api",
"crates/lunatic-version-api",
"crates/lunatic-wasi-api",
"crates/lunatic-trap-api",
"crates/lunatic-sqlite-api",
]
[workspace.dependencies]
hash-map-id = { path = "crates/hash-map-id", version = "0.13" }
lunatic-common-api = { path = "crates/lunatic-common-api", version = "0.13" }
lunatic-control = { path = "crates/lunatic-control", version = "0.13" }
lunatic-control-axum = { path = "crates/lunatic-control-axum", version = "0.13" }
lunatic-control-submillisecond = { path = "crates/lunatic-control-submillisecond", version = "0.13" }
lunatic-distributed = { path = "crates/lunatic-distributed", version = "0.13" }
lunatic-distributed-api = { path = "crates/lunatic-distributed-api", version = "0.13" }
lunatic-error-api = { path = "crates/lunatic-error-api", version = "0.13" }
lunatic-messaging-api = { path = "crates/lunatic-messaging-api", version = "0.13" }
lunatic-metrics-api = { path = "crates/lunatic-metrics-api", version = "0.13" }
lunatic-networking-api = { path = "crates/lunatic-networking-api", version = "0.13" }
lunatic-process = { path = "crates/lunatic-process", version = "0.13" }
lunatic-process-api = { path = "crates/lunatic-process-api", version = "0.13" }
lunatic-registry-api = { path = "crates/lunatic-registry-api", version = "0.13" }
lunatic-sqlite-api = { path = "crates/lunatic-sqlite-api", version = "0.13" }
lunatic-stdout-capture = { path = "crates/lunatic-stdout-capture", version = "0.13" }
lunatic-timer-api = { path = "crates/lunatic-timer-api", version = "0.13" }
lunatic-trap-api = { path = "crates/lunatic-trap-api", version = "0.13" }
lunatic-version-api = { path = "crates/lunatic-version-api", version = "0.13" }
lunatic-wasi-api = { path = "crates/lunatic-wasi-api", version = "0.13" }
anyhow = "1.0"
bincode = "1.3"
dashmap = "5.4"
log = "0.4"
metrics = "0.20.1"
reqwest = {version = "0.11.18", features = ["cookies", "multipart"]}
rustls-pemfile = "1.0"
serde = "1.0"
tokio = "1.28"
uuid = { version = "1.1", features = ["v4"] }
wasi-common = "8"
wasmtime = "8"
wasmtime-wasi = "8"
wiggle = "8"
[workspace.metadata.git-cliff.changelog]
header = """
# Lunatic Changelog
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}]
Released {{ timestamp | date(format="%Y-%m-%d") }}.
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }} [`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/lunatic-solutions/lunatic/commit/{{ commit.id | urlencode }})\
{% endfor %}
{% endfor %}\n
"""
footer = ""