Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
155 lines (133 loc) · 3.83 KB
/
Copy pathCargo.toml
File metadata and controls
155 lines (133 loc) · 3.83 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[workspace]
resolver = "2"
members = [
"atomic-agent",
"atomic-canonical",
"atomic-cli",
"atomic-client",
"atomic-core",
"atomic-config",
"atomic-identity",
"atomic-objects",
"atomic-remote",
"atomic-repository",
"atomic-semantic",
"atomic-teams",
"atomic-wasm",
"libatomic",
]
[workspace.package]
version = "0.19.1"
edition = "2021"
authors = ["Atomic Contributors"]
license = "Apache-2.0"
repository = "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/atomicdotdev/atomic"
homepage = "https://atomic.dev"
rust-version = "1.90"
[workspace.dependencies]
# Core
atomic-agent = { path = "atomic-agent" }
atomic-canonical = { path = "atomic-canonical" }
atomic-client = { path = "atomic-client" }
atomic-core = { path = "atomic-core" }
atomic-config = { path = "atomic-config" }
atomic-identity = { path = "atomic-identity" }
atomic-objects = { path = "atomic-objects" }
atomic-remote = { path = "atomic-remote" }
atomic-repository = { path = "atomic-repository" }
atomic-semantic = { path = "atomic-semantic" }
atomic-teams = { path = "atomic-teams" }
libatomic = { path = "libatomic" }
# gRPC (one contract, many transports)
tonic = "0.12"
prost = "0.13"
prost-types = "0.13"
tonic-build = "0.12"
protox = "0.7"
tokio-stream = "0.1"
tower = "0.4"
libc = "0.2"
hyper-util = { version = "0.1", features = ["tokio"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Admission control for JSON that will be hashed, signed or verified. Runs on
# the raw bytes, ahead of the parse, so the faults a parsed value can no longer
# report -- a repeated member, nesting past the depth cap, a string that is not
# a sequence of Unicode scalar values, a number outside the profile -- are
# refused with a named error rather than collapsed or rounded.
jcs-admit = "0.1"
postcard = { version = "1.0", features = ["alloc"] }
toml = "0.8"
semver = "1"
# Parallel processing
rayon = "1.10"
# Content-defined chunking
fastcdc = "3.1"
# Hashing & Crypto
bs58 = "0.5"
blake3 = "1.5"
ed25519-dalek = { version = "2.1", features = ["serde"] }
rand = "0.8"
# Compression
zstd = "0.13"
# Database
redb = "4.2.0"
redb_2_6 = { package = "redb", version = "=2.6.3" }
# Read-only access to OpenCode's session store (transcript recovery);
# bundled so no system SQLite is required.
rusqlite = { version = "0.32", features = ["bundled"] }
# CLI
clap = { version = "4.5", features = ["derive", "env", "wrap_help"] }
clap_complete = { version = "4.5", features = ["unstable-dynamic"] }
indicatif = "0.17"
dialoguer = "0.11"
console = "0.15"
# Async
tokio = { version = "1.36", features = ["full"] }
tokio-util = { version = "0.7", features = ["io"] }
reqwest = { version = "0.12", features = ["json", "stream"] }
bytes = "1.5"
# URL parsing
url = "2.5"
# Time
chrono = { version = "0.4", features = ["serde"] }
# IDs
uuid = { version = "1.0", features = ["serde", "v4"] }
ulid = "1"
# Utilities
thiserror = "1.0"
anyhow = "1.0"
bitflags = { version = "2.4", features = ["serde"] }
data-encoding = "2.5"
dirs = "5.0"
walkdir = "2.5"
ignore = "0.4"
tempfile = "3.10"
parking_lot = "0.12"
log = "0.4"
env_logger = "0.11"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
# Diff algorithms
similar = "2.4"
# Content search index
syntext = { version = "1.1", default-features = false, features = ["memmap2", "rayon", "fs2", "ignore"] }
# Git interop
# vendored-openssl compiles OpenSSL from source, which is required for
# cross-compilation targets (e.g. aarch64-unknown-linux-gnu) where the
# target architecture's OpenSSL system libraries are not available.
git2 = { version = "0.19", features = ["vendored-openssl"] }
# Testing
quickcheck = "1.0"
quickcheck_macros = "1.0"
serial_test = "3.1"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
# Faster incremental builds
debug = 1
[profile.test]
# Enable debug info in tests
debug = 2