@push.rocks/smartmta 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-09 - 6.2.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- build Rust binaries as static executables (rust)
|
|
8
|
+
- Enable static Rust binary builds through tsrust configuration.
|
|
9
|
+
- Upgrade @git.zone/tsrust to ^1.4.1 and add a Rust unit test script.
|
|
10
|
+
- Document static binary verification and tooling constraints.
|
|
11
|
+
|
|
3
12
|
## 2026-06-06 - 6.1.0
|
|
4
13
|
|
|
5
14
|
### Features
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartmta',
|
|
6
|
-
version: '6.
|
|
6
|
+
version: '6.2.0',
|
|
7
7
|
description: 'A high-performance, enterprise-grade Mail Transfer Agent (MTA) built from scratch in TypeScript with Rust acceleration.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHlIQUF5SDtDQUN2SSxDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartmta",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "A high-performance, enterprise-grade Mail Transfer Agent (MTA) built from scratch in TypeScript with Rust acceleration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mta",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@git.zone/cli": "^2.19.8",
|
|
35
35
|
"@git.zone/tsbuild": "4.1.2",
|
|
36
|
-
"@git.zone/tsrust": "^1.
|
|
36
|
+
"@git.zone/tsrust": "^1.4.1",
|
|
37
37
|
"@git.zone/tstest": "^3.6.6",
|
|
38
38
|
"@types/mailparser": "^3.4.6",
|
|
39
39
|
"@types/node": "^25.9.1",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"test": "tstest test/ --logfile --verbose --timeout 60",
|
|
78
|
+
"test:rust": "cd rust && cargo test",
|
|
78
79
|
"build": "tsbuild tsfolders && tsrust",
|
|
79
80
|
"check": "tsbuild check"
|
|
80
81
|
}
|
package/readme.hints.md
CHANGED
|
@@ -23,3 +23,14 @@
|
|
|
23
23
|
- `napi` + `napi-derive` - Node.js bindings
|
|
24
24
|
- `ring` - crypto primitives
|
|
25
25
|
- `dashmap` - concurrent hash maps
|
|
26
|
+
|
|
27
|
+
## Static Rust Binaries
|
|
28
|
+
|
|
29
|
+
- The Rust binaries in `dist_rust/` are statically linked (static-pie) via `"static": true` in the `@git.zone/tsrust` block of `.smartconfig.json` (tsrust >= 1.4.1). They run on both glibc (Debian/Ubuntu) and musl (Alpine) systems.
|
|
30
|
+
- tsrust injects `RUSTFLAGS="-C target-feature=+crt-static"` only into its own per-target cargo invocations and verifies the result (no `PT_INTERP` ELF header). Keep `rust/.cargo/config.toml` free of `rustflags` entries: the injected env variable would replace them, and a repo-wide `rustflags` would also break plain `cargo test`/`cargo check` (proc-macros cannot build with `+crt-static` on linux-gnu without an explicit `--target`).
|
|
31
|
+
- `pnpm run test:rust` runs the Rust unit tests; plain `cargo test` in `rust/` works as well.
|
|
32
|
+
- Verify linkage manually with `ldd dist_rust/<binary>_linux_amd64` → "statically linked".
|
|
33
|
+
|
|
34
|
+
## Tooling Constraint: tsbuild pinned at 4.1.2
|
|
35
|
+
|
|
36
|
+
- Upgrading @git.zone/tsbuild to 4.4.x surfaces ~90 pre-existing type errors across ts/mail and ts/security (stricter compiler). The static-binary rollout (2026-06-09) kept tsbuild at 4.1.2; upgrading tsbuild needs a dedicated type-fixing pass first.
|
package/ts/00_commitinfo_data.ts
CHANGED