Compare commits
2 commits
067a03b918
...
6195807355
Author | SHA1 | Date | |
---|---|---|---|
|
6195807355 | ||
|
c7f3c21fd0 |
2 changed files with 4 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "nebkor-maelstrom"
|
name = "nebkor-maelstrom"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
license-file = "LICENSE.md"
|
license-file = "LICENSE.md"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "An easy-to-use and synchronous client for creating Maelstrom distributed clients."
|
description = "An easy-to-use and synchronous framework for creating Maelstrom distributed clients."
|
||||||
repository = "https://git.kittencollective.com/nebkor/nebkor-maelstrom"
|
repository = "https://git.kittencollective.com/nebkor/nebkor-maelstrom"
|
||||||
keywords = ["maelstrom", "glomers", "gossip", "distributed"]
|
keywords = ["maelstrom", "glomers", "gossip", "distributed"]
|
||||||
|
|
||||||
|
|
|
@ -224,6 +224,8 @@ pub fn check_err(msg: &Message) -> RpcResult {
|
||||||
Ok(None)
|
Ok(None)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Convenience function for turning a list of `(&str, serde::Value)` pairs into
|
||||||
|
/// a Payload.
|
||||||
pub fn mk_payload(payload: &[(&str, Value)]) -> Payload {
|
pub fn mk_payload(payload: &[(&str, Value)]) -> Payload {
|
||||||
payload
|
payload
|
||||||
.iter()
|
.iter()
|
||||||
|
|
Loading…
Reference in a new issue