Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
138 lines (109 loc) · 3.42 KB
/
Copy pathCargo.toml
File metadata and controls
138 lines (109 loc) · 3.42 KB
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
[workspace]
resolver = "2"
members = [
"crates/z8run-core",
"crates/z8run-storage",
"crates/z8run-runtime",
"crates/z8run-api",
"bins/z8run-cli",
]
# z8run-lance path-depends on the sibling AdaWorldAPI/lance-graph checkout
# (and, through it, AdaWorldAPI/ndarray). It is excluded so the workspace's
# own CI, which checks out z8run alone, keeps building; build it with
# `cargo test --manifest-path crates/z8run-lance/Cargo.toml` from a fleet
# checkout (siblings under the same parent directory).
exclude = ["crates/z8run-lance"]
[workspace.package]
version = "0.2.0"
edition = "2021"
rust-version = "1.91"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/z8run/z8run"
homepage = "https://z8run.org"
authors = ["z8run <hello@z8run.org>"]
description = "Next Generation Visual Flow Engine"
keywords = ["flow-engine", "automation", "visual-programming", "workflow", "node-editor"]
categories = ["development-tools", "visualization"]
[workspace.dependencies]
# Internal crates (path for local dev, version for crates.io publish)
z8run-core = { path = "crates/z8run-core", version = "0.2.0" }
z8run-storage = { path = "crates/z8run-storage", version = "0.2.0" }
z8run-runtime = { path = "crates/z8run-runtime", version = "0.2.0" }
z8run-api = { path = "crates/z8run-api", version = "0.2.0" }
# Async runtime
tokio = { version = "1.50", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec"] }
# HTTP / WebSocket
axum = { version = "0.8", features = ["ws", "macros"] }
axum-extra = { version = "0.12", features = ["typed-header"] }
tokio-tungstenite = "0.29"
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] }
hyper = { version = "1.8", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
# Database
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "postgres", "mysql", "uuid", "chrono", "json"] }
# WASM runtime
wasmtime = "48"
# Authentication
jsonwebtoken = { version = "10", features = ["rust_crypto"] }
argon2 = "0.5"
# Async traits
async-trait = "0.1"
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream", "multipart"], default-features = false }
# Futures utilities
futures-util = "0.3"
# Regex
regex = "1"
# IP networks (CIDR matching)
ipnet = "2"
# URL parsing
url = "2"
# Crypto
aes-gcm = "0.10"
rand = "0.8"
# Identifiers
uuid = { version = "1.23", features = ["v4", "v5", "v7", "serde"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Logging / Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# CLI
clap = { version = "4.6", features = ["derive", "env"] }
# Error handling
thiserror = "2"
anyhow = "1.0"
# Config
config = "0.15"
dotenvy = "0.15"
# Testing
tokio-test = "0.4"
# MQTT
rumqttc = { version = "0.25", features = ["use-rustls"] }
# CSV
csv = "1.3"
# Encoding
base64 = "0.22"
urlencoding = "2"
# Crypto (HMAC webhook auth)
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"
[profile.release]
opt-level = 3
lto = "thin"
strip = true
codegen-units = 1
# Build scripts and proc-macros only run at compile time and are never
# shipped. Stripping them breaks proc-macro dylibs on macOS 27 ("mis-aligned
# LINKEDIT string pool" when rustc loads e.g. sqlx-macros).
[profile.release.build-override]
strip = false
[profile.dev]
opt-level = 0
debug = true