This repository was archived by the owner on Apr 11, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (68 loc) · 2.12 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (68 loc) · 2.12 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
[workspace]
resolver = "2"
members = [
"crates/flowctl-core",
"crates/flowctl-db",
"crates/flowctl-scheduler",
"crates/flowctl-service",
"crates/flowctl-cli",
"crates/flowctl-daemon",
]
# ── Shared package metadata (nushell convention) ──────────────────────
[workspace.package]
edition = "2021"
rust-version = "1.80"
license = "MIT"
repository = "https://github.com/anthropics/flow-code"
# ── Shared dependencies (nushell convention) ──────────────────────────
# Define all deps once here; crates reference via `dep.workspace = true`
[workspace.dependencies]
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
thiserror = "2"
anyhow = "1"
# Time
chrono = { version = "0.4", features = ["serde"] }
# Regex
regex = "1"
# Hashing
sha2 = "0.10"
# Logging
tracing = "0.1"
# DAG (scheduler + TUI)
petgraph = "0.7"
# libSQL (async, native vectors) — the DB engine
libsql = { version = "0.9", default-features = false, features = ["core"] }
# AI embeddings (memory semantic search)
fastembed = "5.12"
# CLI (cli crate)
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
miette = { version = "7", features = ["fancy"] }
# Async runtime (daemon + scheduler)
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["rt"] }
# HTTP (daemon)
axum = { version = "0.8", features = ["ws"] }
# File watching (daemon)
notify = "7"
# Unix process management
nix = { version = "0.30", features = ["signal", "process"] }
# Path lookup
which = "8"
# Testing
trycmd = "0.15"
# Internal crate references
flowctl-core = { path = "crates/flowctl-core" }
flowctl-db = { path = "crates/flowctl-db" }
flowctl-scheduler = { path = "crates/flowctl-scheduler" }
flowctl-service = { path = "crates/flowctl-service" }
# ── Release profile (size-optimized) ─────────────────────────────────
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true