Files
ente/rust/Cargo.toml
Manav Rathi 7dffdfaecf feat(rust): Implement SQLite storage layer
- Replace sled with SQLite for better reliability and tooling
- Create schema with tables for accounts, secrets, collections, files, and sync state
- Implement account storage with multi-account support
- Add configuration and sync state management
- Support for storing encrypted credentials separately
- Add indices for performance optimization

SQLite provides ACID transactions, better debugging tools, and a proven
track record for reliability with user data.

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-22 09:50:59 +05:30

57 lines
1.3 KiB
TOML

[package]
name = "ente-rs"
version = "0.0.1"
edition = "2024"
description = "Rust bindings and CLI for ente.io"
homepage = "https://ente.io"
repository = "https://github.com/ente-io/ente"
license = "AGPL-3.0-only"
[dependencies]
# CLI and configuration
clap = { version = "4.5", features = ["derive", "env"] }
config = "0.14"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
# Async runtime and networking
tokio = { version = "1.41", features = ["full"] }
reqwest = { version = "0.12", features = ["json", "stream"] }
futures = "0.3"
# Cryptography - ONLY libsodium (statically linked)
libsodium-sys-stable = "1.20"
base64 = "0.22"
hex = "0.4"
zeroize = { version = "1.8", features = ["derive"] }
# SRP authentication
srp = "0.6"
num-bigint = "0.4"
# Storage
rusqlite = { version = "0.32", features = ["bundled", "serde_json"] }
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "migrate"], optional = true }
# Utilities
thiserror = "2.0"
anyhow = "1.0"
log = "0.4"
env_logger = "0.11"
dirs = "5.0"
chrono = "0.4"
uuid = { version = "1.11", features = ["serde", "v4"] }
rpassword = "7.3"
indicatif = "0.17"
# File operations
walkdir = "2.5"
zip = "2.2"
tempfile = "3.14"
[dev-dependencies]
mockito = "1.6"
tempdir = "0.3"