1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

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>
This commit is contained in:
2026-11-14 20:38:32 +01:00
parent e044fcf359
commit 68966a8031
30 changed files with 2456 additions and 172 deletions
+9 -8
View File
@@ -123,7 +123,7 @@ dependencies = [
[[package]]
name = "bakashrot-capi"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bakashrot-client",
"bakashrot-config",
@@ -137,7 +137,7 @@ dependencies = [
[[package]]
name = "bakashrot-client"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"aws-lc-rs",
"bakashrot-pki",
@@ -147,7 +147,7 @@ dependencies = [
[[package]]
name = "bakashrot-config"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bakashrot-proto",
"indexmap",
@@ -157,7 +157,7 @@ dependencies = [
[[package]]
name = "bakashrot-pki"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bakashrot-proto",
"rcgen",
@@ -169,7 +169,7 @@ dependencies = [
[[package]]
name = "bakashrot-proto"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bytes",
"rmp-serde",
@@ -180,7 +180,7 @@ dependencies = [
[[package]]
name = "bakashrot-server"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"aws-lc-rs",
"bakashrot-client",
@@ -190,6 +190,7 @@ dependencies = [
"bakashrot-storage",
"bytes",
"futures-util",
"rusqlite",
"tokio",
"tokio-rustls",
"tokio-util",
@@ -199,7 +200,7 @@ dependencies = [
[[package]]
name = "bakashrot-storage"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bakashrot-config",
"bakashrot-proto",
@@ -209,7 +210,7 @@ dependencies = [
[[package]]
name = "bakashrot-tools"
version = "0.0.1"
version = "0.2.0"
dependencies = [
"bakashrot-client",
"bakashrot-config",