forked from InftyAI/SandD
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (62 loc) · 1.88 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (62 loc) · 1.88 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
[package]
name = "sandd"
version = "0.0.1"
edition = "2021"
license = "Apache-2.0"
description = "A lightweight sandbox daemon for secure agent execution in isolated environments."
repository = "https://github.com/InftyAI/SandD"
homepage = "https://github.com/InftyAI/SandD"
documentation = "https://github.com/InftyAI/SandD/tree/main/docs"
readme = "../README.md"
keywords = ["agent", "daemon", "sandbox"]
categories = ["command-line-utilities"]
[[bin]]
name = "sandd"
path = "src/main.rs"
[lib]
name = "sandd"
path = "src/lib.rs"
[[example]]
name = "snapshot_simple"
path = "../examples/snapshot_simple.rs"
[[example]]
name = "snapshot_real_project"
path = "../examples/snapshot_real_project.rs"
[dependencies]
# `version` is required to publish: cargo strips `path` and resolves the
# dependency from crates.io, so sandd-protocol must be published first.
sandd-protocol = { path = "../protocol", version = "0.0.1" }
tokio = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
uuid = { workspace = true }
# WebSocket client
# rustls rather than native-tls: keeps OpenSSL out of the dependency tree so the
# release binaries can be statically linked against musl and run on any Linux.
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-native-roots"] }
futures-util = "0.3"
# Process execution
tokio-process = "0.2"
# PTY support
portable-pty = "0.8"
# System info
sysinfo = "0.32"
# CLI
clap = { version = "4.5", features = ["derive", "env"] }
# File I/O
tokio-util = { version = "0.7", features = ["io"] }
# Base64 for protocol
base64 = "0.22"
# Snapshot system
blake3 = "1.5"
walkdir = "2.4"
filetime = "0.2"
[dev-dependencies]
tempfile = "3.8"
criterion = { version = "0.5", features = ["async_tokio"] }
[[bench]]
name = "snapshot_bench"
harness = false