1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00
Files
BakaShrot/Source/crates/bakashrot-server/Cargo.toml
T
aziascreations 68966a8031 Added replication, Added clean stops, logs and releases (0.2.0)
Step 11: the servers replicate by name (push_to and accept_from), their
messages and attachments, damaged copies asked for again.

Step 12: the server stops cleanly on SIGTERM/SIGINT (Ctrl+C, Ctrl+Break
and the console closing on Windows), committing what was queued; logs go
to the console, BAKASHROT_LOG sets the level. release.py builds a
release per platform (the programs, the DLL, a Python wheel with the
library, THIRD-PARTY.txt) and smoke-tests it; CI runs it on v* tags.
Built for size (opt-level "s"): 25-31% smaller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 20:38:32 +01:00

34 lines
1.3 KiB
TOML

[package]
name = "bakashrot-server"
description = "BakaShrot's server: TLS, identities from certificates, the requests of protocol 7 on the storage."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
publish.workspace = true
[dependencies]
bakashrot-proto = { path = "../bakashrot-proto", features = ["tokio"] }
bakashrot-pki = { path = "../bakashrot-pki" }
bakashrot-config = { path = "../bakashrot-config" }
bakashrot-storage = { path = "../bakashrot-storage" }
tokio = { version = "1.54.1", features = ["rt-multi-thread", "net", "time", "macros", "signal", "io-util", "sync"] }
tokio-rustls = { version = "0.26.6", default-features = false }
tokio-util = { version = "0.7.20", features = ["codec"] }
futures-util = { version = "0.3.34", default-features = false, features = ["sink"] }
bytes = "1.12.1"
# The attachments' SHA-256: the TLS one's (aws-lc), no other crate.
aws-lc-rs = "1.19.0"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", default-features = false, features = ["fmt", "std", "ansi"] }
[lints]
workspace = true
[dev-dependencies]
bakashrot-client = { path = "../bakashrot-client" }
# To damage a stored attachment from a test (the storage's own version).
rusqlite = { version = "0.42.0", features = ["bundled"] }