fe3ef7f25e
Build Debian Packages / Build .deb for x86_64-unknown-linux-gnu (push) Has been cancelled
Build Debian Packages / Build .deb for aarch64-unknown-linux-gnu (push) Has been cancelled
Build Debian Packages / Build .deb for armv7-unknown-linux-gnueabihf (push) Has been cancelled
Build Debian Packages / Build .deb for riscv64gc-unknown-linux-gnu (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Build Debian Packages / Combine all .deb packages (push) Has been cancelled
Build Debian Packages / Publish to APT Repository (push) Has been cancelled
Build Debian Packages / Create GitHub Release (push) Has been cancelled
* fix(ci): pin deb builds to ubuntu-22.04 and enforce the fleet glibc floor The v1.60.0 debs failed to install on Raspberry Pi OS bookworm: socktop : Depends: libc6 (>= 2.39) but 2.36-9+rpt2+deb12u14 is to be installed Cross-compiled binaries link against the RUNNER's (multiarch) glibc, so the runner picks the minimum glibc the packages demand. ubuntu-latest migrated from 22.04 (glibc 2.35) to 24.04 (glibc 2.39) between the 1.50.x releases and now, silently raising the requirement past the Debian-12 fleet. Pin the build job to ubuntu-22.04 (2.35 — satisfied by bookworm's 2.36) and add a post-build gate that reads each .deb's computed libc6 requirement and fails the run if it exceeds the fleet floor, so the next runner migration turns into a red build instead of a fleet-wide apt error. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(ci): extract the libc6 version, not the 6 in 'libc6' The floor gate's second grep matched the trailing digit of the package name before the version ('libc6 (>= 2.34)' -> '6'), failing every target. sed capture group instead; verified against realistic Depends strings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: bump all crates to 1.60.1 The 1.60.0 debs were built against glibc 2.39 and never installed on the bookworm fleet; rather than force-moving the tag, the rebuilt release ships as 1.60.1. Nothing was published to crates.io at 1.60.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
61 lines
1.9 KiB
TOML
61 lines
1.9 KiB
TOML
[package]
|
|
name = "socktop_connector"
|
|
version = "1.60.1"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
description = "WebSocket connector library for socktop agent communication"
|
|
authors = ["Jason Witty <jasonpwitty+socktop@proton.me>"]
|
|
repository = "https://github.com/jasonwitty/socktop"
|
|
readme = "README.md"
|
|
keywords = ["monitoring", "websocket", "metrics", "system"]
|
|
categories = ["network-programming", "development-tools"]
|
|
documentation = "https://docs.rs/socktop_connector"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
# docs.rs specific metadata
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
# WebSocket client - only for non-WASM targets
|
|
tokio-tungstenite = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
futures-util = { workspace = true, optional = true }
|
|
url = { workspace = true, optional = true }
|
|
|
|
# WASM WebSocket support
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
wasm-bindgen-futures = { version = "0.4", optional = true }
|
|
js-sys = { version = "0.3", optional = true }
|
|
web-sys = { version = "0.3", features = ["WebSocket", "MessageEvent", "ErrorEvent", "CloseEvent", "BinaryType", "Window", "console"], optional = true }
|
|
|
|
# TLS support
|
|
rustls = { version = "0.23", features = ["ring"], optional = true }
|
|
rustls-pemfile = { version = "2.1", optional = true }
|
|
|
|
# Serialization - always available
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
# Compression - used in both networking and WASM modes
|
|
flate2 = "1.0"
|
|
|
|
# Protobuf - always available
|
|
prost = { workspace = true }
|
|
|
|
# Error handling - always available
|
|
thiserror = "2.0"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.13"
|
|
protoc-bin-vendored = "3.0"
|
|
|
|
[features]
|
|
default = ["networking", "tls"]
|
|
networking = ["tokio-tungstenite", "tokio", "futures-util", "url"]
|
|
tls = ["networking", "rustls", "rustls-pemfile"]
|
|
wasm = ["wasm-bindgen", "wasm-bindgen-futures", "js-sys", "web-sys"] # WASM-compatible networking with compression
|