-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (86 loc) · 2.49 KB
/
Cargo.toml
File metadata and controls
107 lines (86 loc) · 2.49 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
[package]
name = "titor"
version = "0.2.0"
edition = "2021"
authors = ["Mufeed VH <mufeed@asterisk.so>"]
description = "A high-performance checkpointing library for time-travel through directory states"
license = "MIT"
readme = "README.md"
repository = "https://github.com/getAsterisk/titor"
keywords = ["checkpoint", "snapshot", "backup", "time-travel", "versioning"]
categories = ["filesystem", "data-structures"]
[features]
default = ["gxhash"]
quick-bench = []
gxhash = ["dep:gxhash"]
[dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = { version = "2.0", features = ["serde"] }
# Hashing and Compression
sha2 = "0.10"
lz4_flex = "0.11"
gxhash = { version = "3.5", optional = true } # Fast non-cryptographic hash algorithm
# File system operations
walkdir = "2.5"
jwalk = "0.8" # For parallel directory walking with gitignore support
tempfile = "3.20"
globset = "0.4" # For proper glob pattern matching
ignore = "0.4" # For proper .gitignore handling with recursive support
# Time and Date
chrono = { version = "0.4", features = ["serde"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Parallel processing and async
rayon = "1.10"
num_cpus = "1.17"
tokio = { version = "1.46", features = ["rt", "rt-multi-thread", "macros", "time", "fs", "sync"] }
# Progress reporting
indicatif = "0.18"
# CLI
clap = { version = "4.5", features = ["derive", "cargo"] }
colored = "3.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Concurrency
parking_lot = "0.12"
dashmap = "6.1"
# Utilities
hex = "0.4"
humantime = "2.2"
uuid = { version = "1.17", features = ["v4", "serde"] }
hostname = "0.4"
# MCP Support (for titor_mcp_server example)
rmcp = { version = "0.2.1", features = ["server", "macros", "transport-io"], optional = true }
schemars = { version = "1.0", optional = true }
[dev-dependencies]
criterion = { version = "0.6", features = ["html_reports"] }
proptest = "1.7"
rand = "0.9"
tracing-test = "0.2"
filetime = "0.2"
[[bin]]
name = "titor"
path = "src/bin/titor.rs"
[[example]]
name = "titor_cli"
path = "examples/titor_cli.rs"
[[example]]
name = "titor_mcp_server"
path = "examples/titor_mcp_server.rs"
required-features = ["rmcp", "schemars"]
[[bench]]
name = "titor_bench"
harness = false
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[profile.bench]
inherits = "release"
[package.metadata.docs.rs]
# Build docs without gxhash to avoid CPU feature requirements
no-default-features = true