-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (42 loc) · 1.57 KB
/
Cargo.toml
File metadata and controls
48 lines (42 loc) · 1.57 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
[package]
name = "icrab"
version = "0.1.0"
edition = "2024"
rust-version = "1.92"
description = "Minimal openClaw style personal AI assistant that runs on an old iPhone as a server."
readme = "README.md"
license = "MIT"
repository = "https://github.com/Snehal-Reddy/iCrab"
[package.metadata.docs.rs]
targets = ["i686-unknown-linux-musl"]
[dependencies]
# Async runtime (poller, agent loop, cron, heartbeat)
tokio = { version = "1.41", features = ["rt-multi-thread", "macros", "sync", "time", "fs", "io-util", "process", "net"] }
# SQLite persistence (bundled C library; works on i686-musl without host toolchain issues)
rusqlite = { version = "0.38", features = ["bundled"] }
# Config and API types (config.toml)
serde = { version = "1.0", features = ["derive"] }
toml = "0.9.8"
# HTTP + JSON. Reqwest 0.13 uses rustls with aws-lc (reliable on i686-musl); no ring.
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }
regex-lite = "0.1"
serde_json = "1.0"
# UUID v4 for session identifiers
uuid = { version = "1", features = ["v4"] }
# Date for today + recent daily notes (YYYYMMDD)
# IANA timezone support for local-time system prompt line (DST-aware)
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
chrono-tz = { version = "0.10", default-features = false }
[dev-dependencies]
wiremock = "0.6"
tempfile = "3"
tokio = { version = "1.41", features = ["test-util"] }
serde_json = "1.0"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.release.package."*"]
opt-level = "z"