-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (39 loc) · 1.5 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (39 loc) · 1.5 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
[package]
name = "copyit"
version = "0.1.0"
edition = "2021"
description = "A fast, lightweight tile-based library for your scripts and AI prompts."
[dependencies]
eframe = "0.27"
egui = "0.27"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Vault crypto for protected snippets (all pure-Rust, no system libraries):
# Argon2id key derivation, XChaCha20-Poly1305 AEAD, base64 encoding, and
# salt/nonce generation. rand also powers the seeded simulation harness.
argon2 = "0.5"
base64 = "0.22"
chacha20poly1305 = "0.10"
rand = "0.8"
zeroize = "1.9"
# Shared canonical SQLite library (copyit.db) so the desktop app and the
# browser-extension native host read/write the same store. `bundled` vendors a
# SQLite build with no system dependency.
rusqlite = { version = "0.32", features = ["bundled"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_DataExchange", "Win32_System_Memory", "Win32_System_Ole"] }
[features]
# Simulation harness (headless journeys + headed mode). Compiling it is gated on
# `cfg(any(test, feature = "sim"))`, so the release binary is unaffected by
# default builds.
sim = []
[dev-dependencies]
# Cross-compatibility test against the browser-extension native host's vault vector.
hex = "0.4"
# Small, fast-launching release binary
[profile.release]
opt-level = "z" # optimize for size
lto = true # link-time optimization
codegen-units = 1
panic = "abort"
strip = true # strip symbols