rules_ssh_tui
SSH-fronted TUI launcher: russh server + login-shell oci_image
| Latest | 0.0.5 |
|---|---|
| Versions | 5 |
| Category | Bazel rules |
| Maintainers | Matt Marshall |
| Registry | https://registry.tbzl.dev/modules/rules_ssh_tui/ |
| Source | github.com/tomato-bazel/rules_ssh_tui |
bazel_dep(name = "rules_ssh_tui", version = "0.0.5")
View source & releases on GitHub ↗
SSH-fronted TUI launcher: russh server + login-shell oci_image. Drop in any rust_binary as the login shell.
Status: v0.0.1 — scaffold
No public surface yet. See CHANGELOG.md for what has shipped.
Install
.bazelrc:
common --registry=https://registry.fastverk.com/
common --registry=https://bcr.bazel.build/
MODULE.bazel:
bazel_dep(name = "rules_ssh_tui", version = "0.0.1") Usage#
Real usage, taken from the module’s examples/.
examples/hello-tui/BUILD.bazel
"""Smoke for `ssh_tui_image`: wraps `hello-tui` as the login binary.
Build with `bazel build //examples/hello-tui:hello-image`. The image
contains both ssh-tui-server + hello-tui; SSH into it with the
authorized_keys provided at runtime.
"""
load("@rules_rust//rust:defs.bzl", "rust_binary")
load("@rules_ssh_tui//ssh_tui:defs.bzl", "ssh_tui_image")
package(default_visibility = ["//visibility:public"])
rust_binary(
name = "hello-tui",
srcs = ["src/main.rs"],
edition = "2021",
)
ssh_tui_image(
name = "hello-image",
login_binary = ":hello-tui",
login_args = [
"--example-flag",
"demonstration",
],
listen_port = 2222,
repository = "ghcr.io/fastverk/rules_ssh_tui-hello",
)Conformance#
1 finding across 1 invariant. 15 contested atoms. See how gating works or the full report.
| version | toolchain |
|---|---|
0.0.5 | @rust_toolchains//:all |
Contested atoms
Third-party modules where this module resolves a different version than others do. Not a violation of anything this module did — it is the actionable form of a registry-level convergence finding, and the sentence a maintainer can act on.
| Atom | Resolved here | Elsewhere |
|---|---|---|
apple_support | 1.24.2 | 2.2.0 ×1 |
aspect_bazel_lib | 2.22.5 | 2.8.1 ×1 |
bazel_lib | 3.0.0 | 3.2.2 ×17 |
bazel_skylib | 1.8.2 | 1.9.0 ×2 |
gawk | 5.3.2.bcr.1 | 5.3.2.bcr.3 ×17 |
jq.bzl | 0.1.0 | 0.4.0 ×17 |
nlohmann_json | 3.6.1 | 3.12.0.bcr.1 ×1 |
package_metadata | 0.0.2 | 0.0.5 ×3 |
protobuf | 33.4 | 34.0.bcr.1 ×2 |
rules_jvm_external | 6.7 | 6.8 ×4 |
rules_python | 1.7.0 | 2.0.1 ×1 |
rules_swift | 3.1.2 | 3.6.1 ×1 |
tar.bzl | 0.5.1 | 0.10.4 ×170.6.0 ×1 |
upb | 0.0.0-20220923-a547704 | 0.0.0-20230516-61a97ef ×1 |
yq.bzl | 0.1.1 | 0.3.4 ×17 |
Dependencies#
Depends on
Used by (1 in the registry)
Versions#
5 published versions, newest first. Each resolves to an immutable, integrity-checked archive.
| Version | Integrity (sha256) | Source archive |
|---|---|---|
0.0.5 latest | 97hOpofaBjHuCQNM… | tag archive ↗ |
0.0.4 | XOaR4nP+BjErmnGF… | tag archive ↗ |
0.0.3 | rA8iPPUq83GYyxP3… | tag archive ↗ |
0.0.2 | fEfC74Q1WbZgh45K… | tag archive ↗ |
0.0.1 | CfWmasRIAsCE35jJ… | tag archive ↗ |
Changelog#
All notable changes to rules_ssh_tui. The format is loosely Keep a Changelog — version headers mirror the published bazel-registry entries.
0.0.1 — scaffold
- Initial scaffold via
rels scaffold. No public API yet.