This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Rust · Archive · Week 1 · Dec 30, 2024 – Jan 5, 2025

Danube pub/sub v0.2.0

Nice to knowecosystem

What changed
The messaging platform Danube received updates in its v0.2.0 release.
Production impact
The source does not say.
Try it
Add danube = "0.2" to a Cargo.toml and publish a simple message.
Source
this-week-in-rust.org/blog/2025/01/01/this-week-in-rust-580/

Understand it, then run it

Run it now

Todayrust
// This program demonstrates that the Danube crate is not part of the standard library.
// It compiles and runs, but it does not use any new API from v0.2.0 because the
// announcement does not specify what changed.  The program simply prints a
// message indicating that Danube is a pub/sub platform.

fn main() {
    println!("Danube pub/sub messaging platform - updates v0.2.0");
}

What it printed when we ran it on Rust 1.98.1 (edition 2024)

Danube pub/sub messaging platform - updates v0.2.0

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed