Commit Graph
9 Commits
Author SHA1 Message Date
Lars Wirzenius 574129a2d0 fix: inline variable in format string
This is now considered idiomatic Rust style. Found by clippy in Rust
1.88, but will work with Rust 1.84.1.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-06-30 09:37:08 +03:00
Lars Wirzenius 0ce659a60b fix: allow accessing the log URL for a run
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-06-11 16:08:28 +02:00
Lars Wirzenius 4512b1091f fix: make JobId (de)serializable
This makes it easier to embed in a struct that gets serialized.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-06-11 16:05:54 +02:00
Lars Wirzenius 6fef4ae530 fix: drop unused type parameter C from Jobs::get_mut
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-06-11 10:44:52 +03:00
Lars WirzeniusandFintan Halpenny 524dfdb12a docs: document Jobs::get and Jobs::get_mut
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-06-11 08:30:25 +02:00
Lars WirzeniusandFintan Halpenny 24750667f0 docs: add documentation comments to all public items that lack them
Some public items of the crate were undocumented. These items are now better
described in detail, and the missing docs pragma is added to catch further
missing items in the future.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-06-10 10:46:18 +02:00
Lars Wirzenius 7cd8b06c07 docs: add a doc test to library, for documetation
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-05-15 14:42:35 +02:00
Lars WirzeniusandFintan Halpenny b41229ca07 build(Cargo.toml): set minimum supported Rust version
Sets the MSRV for the crate. The `rust-toolchain.toml` file is dropped since
this is too retrictive when choosing choosing a toolchain for developing the
crate – uses exact semantics.

It is necessary to change the `flake.nix` to read this version from the
`Cargo.toml` so that it can select the rust toolchain to use via `rust-overlay`.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-05-15 14:40:10 +02:00
Lars Wirzenius 1238715ff4 ci(.radicle/ambient.yaml): add CI plan for Radicle CI with Ambient
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-05-15 13:16:42 +03:00