guardship 0.2.0-x86_64-linux → 0.2.1-x86_64-linux

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/libexec/mothership +0 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '02837d987b1231d30be79bde93a32043348963094832103a78fdbace849e68d7'
4
- data.tar.gz: 1d9954c198854aaf523fb967008f914b0fff227d7b9097556aa750ca388304aa
3
+ metadata.gz: 133cea80c3d6c6863734fe28c0d200eed5ce5bdd3fedde18e6a1a49c56351f3a
4
+ data.tar.gz: 0640ec7a29f918f1301ee17067ac7f614fa4b1e8c5bca0c527edf871ab949457
5
5
  SHA512:
6
- metadata.gz: f399fb592adba0d1df8de27a646d4bb10d6ddd2c4d1d3158bea227ed90e532969ecdd18c671b53e4bd3260ee7aa9e05c8861976811b2ff665822630cf2d69788
7
- data.tar.gz: e9678bafbeb3261cf63fdaef6f320df86f1d208368cc70b60d3a29a592de9a718812a7eddf51f7420a682e3c5cffb4d93b18938e505d324bf57be56f7d61c61b
6
+ metadata.gz: a04db567422056a03e44156db2155f8ce4cfdc893ce40d09ec3836b25abe29509085f2e85af066b8cc34ee13d981ffd72106f63125fb613e03a3ec8518997eb0
7
+ data.tar.gz: 45723e1cfb7b4f064deea61686da66e0c23505286789a62d3d71237db1d7c20112d7c8ae9af889ae506ddafbfa7794f95f6b2ba940b7ef6e606357beebe2c0c8
data/README.md CHANGED
@@ -19,7 +19,9 @@ The generic `guardship` gem is a stub. Platform-specific releases carry the bund
19
19
  - no bundled native binary
20
20
  - Platform gems:
21
21
  - `mothership` native binary under `libexec/`
22
- - default feature set only
22
+ - built with the `tls` feature: TLS binds, and HTTP/2 to browsers over ALPN
23
+ - `wasm` modules, `tokio-postgres` election and the `tui` dashboard need a
24
+ build from source (`cargo install --path . --features ...`)
23
25
 
24
26
  ## Usage
25
27
 
@@ -50,7 +52,7 @@ mise exec zig@0.17.0 -- bundle exec rake platforms:build
50
52
  `platforms:build` is the common ecosystem entry point for `gem:build_platforms`.
51
53
  It compiles and packages every supported platform; it does not publish anything.
52
54
  The full matrix needs a macOS host with the Apple SDK for both Darwin targets,
53
- Rust/rustup, `cargo-zigbuild`, and Zig for Linux. Missing Rust targets are
55
+ Rust/rustup, `cargo-zigbuild`, and Zig for Linux and FreeBSD. Missing Rust targets are
54
56
  installed automatically, and a failed build stops packaging rather than
55
57
  substituting a host binary.
56
58
 
@@ -61,12 +63,19 @@ Together with `gem:build`, these tasks build:
61
63
  - `guardship-VERSION-x86_64-darwin.gem`
62
64
  - `guardship-VERSION-aarch64-linux.gem`
63
65
  - `guardship-VERSION-x86_64-linux.gem`
66
+ - `guardship-VERSION-amd64-freebsd.gem`
64
67
 
65
68
  Linux platform gems are built with `cargo zigbuild` through the configured Zig toolchain. The task uses glibc-versioned targets by default:
66
69
 
67
70
  - `x86_64-unknown-linux-gnu.2.36`
68
71
  - `aarch64-unknown-linux-gnu.2.36`
69
72
 
73
+ The FreeBSD gem is cross-built for FreeBSD 15 and later: `libc` is compiled for
74
+ FreeBSD 15's struct layouts (`--cfg libc_unstable_freebsd_version="15"`; the
75
+ crate defaults to FreeBSD 12), and it links only symbol versions FreeBSD 15
76
+ provides. Its gem platform is `amd64-freebsd`, the CPU name FreeBSD's Ruby
77
+ reports, without a release so FreeBSD 16 matches too.
78
+
70
79
  The glibc floor can be changed for a release with `GUARDSHIP_GLIBC_VERSION=2.xx`. Do not use the plain `*-unknown-linux-gnu` Zig targets for the local all-platform release; Rama DNS links resolver symbols such as `res_nquery` require the glibc-versioned target.
71
80
 
72
81
  Publish after the artifacts are present:
data/libexec/mothership CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guardship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Abdelkader Boudih