mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
Merged bakashrot-cert into bakashrot as bakashrot cert, Made the programs smaller, Added a -HybridCrt switch
- `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>
This commit is contained in:
+8
-1
@@ -159,6 +159,9 @@ SELECT * FROM messages WHERE topic = 'logs' AND node = 'kitchen'
|
||||
SELECT message_data ->> '$.temp' FROM messages WHERE topic = 'sensors' AND is_json = 1
|
||||
```
|
||||
|
||||
SQLite's functions are there, JSON's included; not `soundex()` nor the
|
||||
`dbstat` table (left out of the build, "The file").
|
||||
|
||||
- **By topic, or topic and node:** ranges of the table, read in order (a
|
||||
test checks the plans).
|
||||
- **Filters on `pushed_at` or `message_id`** read the streams they're in,
|
||||
@@ -182,7 +185,11 @@ SELECT message_data ->> '$.temp' FROM messages WHERE topic = 'sensors' AND is_js
|
||||
foreign keys: one writer keeps the tables consistent, `CHECK`s keep the
|
||||
values valid.
|
||||
- SQLite is compiled in (`rusqlite`'s `bundled`): the same version
|
||||
everywhere, no system library.
|
||||
everywhere, no system library. Without full-text search (FTS3, FTS5),
|
||||
R-Tree, `dbstat`, STAT4, `soundex()`, extension loading and column
|
||||
metadata, which libsqlite3-sys turns on and nothing here uses: 310 KB
|
||||
less in the server (`LIBSQLITE3_FLAGS` in `../.cargo/config.toml`; a
|
||||
test checks they're out). JSON is SQLite's own, always there.
|
||||
|
||||
## Measured
|
||||
|
||||
|
||||
Reference in New Issue
Block a user