-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml.template
More file actions
85 lines (68 loc) · 2.01 KB
/
Cargo.toml.template
File metadata and controls
85 lines (68 loc) · 2.01 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
[package]
name = "ggrs_plot_operator"
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
authors = ["Tercen Team"]
description = "High-performance plot operator using GGRS for Tercen platform"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tercen/ggrs_plot_operator"
[dependencies]
# gRPC and Protocol Buffers
tonic = { version = "0.11", features = ["tls", "tls-roots"] }
prost = "0.12"
prost-types = "0.12"
# Async runtime
tokio = { version = "1.35", features = [
"full",
"macros",
"rt-multi-thread",
"sync",
"time",
] }
tokio-stream = "0.1"
# GGRS plotting library (local path dependency)
# Adjust path based on actual location of GGRS project
ggrs-core = { path = "../ggrs/ggrs-core" }
# Rendering backend
plotters = { version = "0.3", default-features = false, features = ["bitmap_backend", "bitmap_encoder"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Data processing
csv = "1.3"
arrow = { version = "50.0", features = ["ipc"] }
# Memory allocator
tikv-jemallocator = { version = "0.5", optional = true }
# CLI argument parsing
clap = { version = "4.4", features = ["derive", "env"] }
# Utilities
futures = "0.3"
bytes = "1.5"
chrono = "0.4"
[build-dependencies]
tonic-build = "0.11"
[features]
default = ["jemalloc"]
jemalloc = ["tikv-jemallocator"]
[profile.release]
lto = true # Link-time optimization
codegen-units = 1 # Better optimization
opt-level = "z" # Optimize for size
strip = true # Strip symbols
panic = "abort" # Smaller binary, no unwinding
[profile.dev]
opt-level = 0 # Fast compilation
[profile.test]
opt-level = 1 # Faster test execution
# Alias for running with maximum performance
[profile.maxperf]
inherits = "release"
opt-level = 3 # Maximum optimization
lto = "fat" # Full LTO