Files
rustytorch/crates/production/rtx-hub/Cargo.toml
T
2026-03-04 00:08:42 +00:00

102 lines
2.4 KiB
TOML

[package]
name = "rtx-hub"
version = "1.0.0"
edition.workspace = true
rust-version = "1.92"
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Model registry and versioning system for RustyTorch production deployments"
[dependencies]
# Workspace dependencies
rtx-tensor = { workspace = true }
rtx-runtime = { workspace = true }
rtx-inference = { workspace = true }
# Essential dependencies
anyhow = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full", "rt-multi-thread"] }
async-trait = { workspace = true }
# Serialization and data handling
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_yaml = "0.9"
bincode = { workspace = true }
toml = { workspace = true }
# Cryptographic hashing for content addressing
sha2 = { workspace = true }
blake3 = "1.5"
# File system and compression
walkdir = { workspace = true }
flate2 = "1.0"
tar = "0.4"
# Database and storage
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "postgres", "sqlite", "uuid", "chrono", "json"] }
object_store = { version = "0.11", features = ["aws", "gcp", "azure"] }
# Time handling
chrono = { workspace = true, features = ["serde"] }
# UUID for model identifiers
uuid = { workspace = true, features = ["v4", "serde"] }
# Concurrent data structures
dashmap = { workspace = true }
parking_lot = { workspace = true }
# Logging and telemetry
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
# Configuration
config = { workspace = true }
# Version parsing and comparison
semver = { version = "1.0", features = ["serde"] }
# HTTP client for remote registries
reqwest = { workspace = true, features = ["json", "stream"] }
# Metadata validation
jsonschema = { workspace = true }
# File watching for hot reloading
notify = "6.1"
# Additional dependencies for packaging
hex = "0.4"
base64 = "0.22"
whoami = "1.4"
zstd = "0.13"
glob-match = "0.2"
# Directory utilities for cache management
dirs = "5.0"
[dev-dependencies]
tokio-test = { workspace = true }
tempfile = { workspace = true }
proptest = { workspace = true }
criterion = { workspace = true, features = ["html_reports"] }
test-log = "0.2"
[[bench]]
name = "model_registry_performance"
harness = false
[features]
default = ["sqlite"]
sqlite = ["sqlx/sqlite"]
postgres = ["sqlx/postgres"]
s3 = ["object_store/aws"]
gcs = ["object_store/gcp"]
azure = ["object_store/azure"]
[lints]
workspace = true