mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
5b41a06d0c
- `bakashrot cert ca|issue|revoke|show` (same options) replaces bakashrot-cert: aws-lc, the C runtime and clap once, 2.53 MB instead of 2.85 + 1.73 MB on Windows; guides, docs, release.py, Docker updated - The tool built with its own profile, release-tools (panic = "abort", about 15% smaller); the DLL and the server keep unwind - clap without colours and suggestions (40 KB, 9 crates fewer) - SQLite without FTS3/FTS5, R-Tree, dbstat, STAT4, soundex(), extension loading and column metadata (LIBSQLITE3_FLAGS): the server 4.68 to 4.37 MB; a storage test checks they're out - build.ps1 / release.ps1 -HybridCrt (.cargo/hybrid-crt.toml): the UCRT from Windows, about 180 KB less per program, still nothing to install; static stays the default, README.txt says which - revamp.md: what was weighed and left (UPX, fully dynamic CRT, nightly options, OMIT_* flags), aws-lc kept over Graviola (490 KB bigger) and ring (no ML-KEM) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
1.1 KiB
TOML
17 lines
1.1 KiB
TOML
# The C runtime linked statically on Windows (MSVC): the DLL and the
|
|
# programs need no Visual C++ redistributable (../revamp.md, "Decided" 2).
|
|
[target.'cfg(all(windows, target_env = "msvc"))']
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
# aws-lc seeds its random generator from the OS's (and RDRAND), without CPU
|
|
# Jitter Entropy: that one takes about 25 ms in every process, at its first
|
|
# connection (every tool command, every script through the DLL). Decided
|
|
# 2026-11-14 (../revamp.md, "Randomness from the OS"; ../docs/certificates.md).
|
|
[env]
|
|
AWS_LC_SYS_NO_JITTER_ENTROPY = "1"
|
|
# SQLite (rusqlite's `bundled`) without what libsqlite3-sys turns on and
|
|
# nothing here uses: full-text search, R-Tree, dbstat, STAT4, soundex(),
|
|
# extension loading, column metadata. 310 KB less in the server (6.6%).
|
|
# Decided 2026-11-17 (../revamp.md, "One tool, smaller"; ../docs/storage.md).
|
|
LIBSQLITE3_FLAGS = "-USQLITE_ENABLE_FTS3 -USQLITE_ENABLE_FTS3_PARENTHESIS -USQLITE_ENABLE_FTS5 -USQLITE_ENABLE_RTREE -USQLITE_ENABLE_DBSTAT_VTAB -USQLITE_ENABLE_STAT4 -USQLITE_SOUNDEX -USQLITE_ENABLE_LOAD_EXTENSION -USQLITE_ENABLE_COLUMN_METADATA"
|