synor/crates/synor-database/Cargo.toml
Gulshan Yadav 78c226a098 feat(database): add Phase 10 Synor Database L2 foundation
Multi-model database layer for Synor blockchain:

- Key-Value Store: Redis-compatible API with TTL, INCR, MGET/MSET
- Document Store: MongoDB-compatible queries with filters
- Vector Store: AI/RAG optimized with cosine, euclidean, dot product similarity
- Time-Series Store: Metrics with downsampling and aggregations
- Query Engine: Unified queries across all data models
- Index Manager: B-tree, hash, unique, and compound indexes
- Schema Validator: Field validation with type checking
- Database Pricing: Pay-per-use model (0.1 SYNOR/GB/month)

Updates roadmap with Phase 10-12 milestones:
- Phase 10: Synor Database L2
- Phase 11: Economics & Billing
- Phase 12: Fiat Gateway (Ramp Network integration)

41 tests passing
2026-01-10 17:40:18 +05:30

39 lines
821 B
TOML

[package]
name = "synor-database"
version.workspace = true
edition.workspace = true
description = "Multi-model database layer for Synor blockchain"
license.workspace = true
[dependencies]
# Internal crates
synor-types = { path = "../synor-types" }
synor-crypto = { path = "../synor-crypto" }
synor-storage = { path = "../synor-storage" }
# Serialization
serde.workspace = true
serde_json.workspace = true
borsh.workspace = true
# Utilities
thiserror.workspace = true
parking_lot.workspace = true
tracing.workspace = true
hex.workspace = true
# Hashing
blake3.workspace = true
# Async
tokio = { workspace = true, features = ["sync", "rt-multi-thread"] }
# Data structures
lru = "0.12"
indexmap = "2.2"
# Vector operations (for AI/RAG)
# Using pure Rust for portability
[dev-dependencies]
tempfile.workspace = true