-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (65 loc) · 1.93 KB
/
Copy pathCargo.toml
File metadata and controls
85 lines (65 loc) · 1.93 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
[package]
name = "regedited"
version = "0.2.0"
edition = "2021"
authors = ["Regedited Contributors"]
description = "The registry, edited. Fast plaintext parse-ment database with WAL crash safety, transactions, schema enforcement, typed registry values, and HTTP container mode."
license = "AGPL-3.0"
repository = "https://github.com/yourusername/regedited"
keywords = ["database", "plaintext", "markdown", "parser", "memory-mapped"]
categories = ["database-implementations", "parsing", "command-line-utilities"]
rust-version = "1.70"
[features]
default = ["clipboard"]
clipboard = ["dep:arboard"]
[[bin]]
name = "regedited"
path = "src/main.rs"
[dependencies]
# Memory mapping for zero-copy file access
memmap2 = "0.9"
# Fast parsing with nom
nom = "7"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# CLI parsing
clap = { version = "4.4", features = ["derive"] }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Regex for pattern matching
regex = "1.10"
# Clipboard support (cross-platform)
# On Windows, this uses the native clipboard API
arboard = { version = "3.3", optional = true }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Colored output
owo-colors = "4.0"
# Byteorder for binary parsing
byteorder = "1.5"
# Fast hashing
fxhash = "0.2"
# Checksums for WAL integrity
crc32fast = "1.3"
# Lightweight HTTP server for serve mode
tiny_http = "0.12"
# URL parsing for serve mode
url = "2.5"
# Windows-specific dependencies
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_System_Memory", "Win32_Foundation"] }
[dev-dependencies]
tempfile = "3.9"
criterion = { version = "0.5", features = ["html_reports"] }
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true