-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (65 loc) · 1.6 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (65 loc) · 1.6 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
[workspace]
members = ["crates/*"]
resolver = "3"
[workspace.package]
version = "1.6.0"
edition = "2024"
license = "MIT"
[package]
name = "granary"
version.workspace = true
edition.workspace = true
description = "A CLI context hub for agentic work"
license.workspace = true
build = "build.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# Database
sqlx = { version = "0.8", features = [
"runtime-tokio",
"sqlite",
"macros",
"migrate",
] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Shared types
granary-types = { path = "crates/granary-types", features = ["sqlx"] }
# Error handling
thiserror = "2"
# Date/time
chrono = { version = "0.4", features = ["serde"] }
# Utilities
rand = "0.10"
uuid = { version = "1", features = ["v4"] }
dirs = "6.0"
toml = "0.9"
futures = "0.3"
# Output formatting
tabled = "0.20"
# HTTP client (for update checks)
reqwest = { version = "0.13", features = ["json", "native-tls-vendored"] }
# Version comparison
semver = "1"
# Additional dependencies for daemon
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
nanoid = "0.4.0"
# Unix-specific dependencies (for process groups)
[target.'cfg(unix)'.dependencies]
libc = "0.2"
# Windows-specific dependencies
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = ["Win32_Foundation"] }
[[bin]]
name = "granaryd"
path = "src/bin/granaryd.rs"
[dev-dependencies]
tempfile = "3"