-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (50 loc) · 1.48 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (50 loc) · 1.48 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
[workspace]
resolver = "2"
members = [
"emergent-engine",
"sdks/rust",
"examples/sources/timer",
"examples/handlers/filter",
"examples/handlers/exec",
"examples/sinks/log",
"examples/sinks/console",
]
[workspace.package]
version = "0.13.1"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/govcraft/emergent"
authors = ["Roland Rodriguez <roland@govcraft.ai>"]
[workspace.lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
[workspace.dependencies]
# Core async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1"
# Configuration
toml = "0.8"
# Database
rusqlite = { version = "0.32", features = ["bundled"] }
# Tracing/Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# IDs
mti = "1.1.1"
# Error handling
thiserror = "2"
anyhow = "1"
# acton-reactive
acton-reactive = { version = "8.2.0", features = ["ipc", "ipc-messagepack"] }
# =============================================================================
# Release Profile - Optimized for minimal binary size
# =============================================================================
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Link-time optimization
codegen-units = 1 # Single codegen unit for better optimization
panic = "abort" # Smaller panic handling
strip = true # Strip symbols