prepare for 1.0.
This commit is contained in:
parent
9b9cba4c47
commit
671fbfab24
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "nebkor-maelstrom"
|
name = "nebkor-maelstrom"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
version = "0.0.2"
|
version = "1.0.0"
|
||||||
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 client for creating Maelstrom distributed clients."
|
||||||
|
|
|
@ -5,7 +5,7 @@ use crate::{check_err, mk_payload, Body, RpcResult, Runner};
|
||||||
/// A convenient way to do RPC with Maelstrom's KV services.
|
/// A convenient way to do RPC with Maelstrom's KV services.
|
||||||
#[derive(Debug, Default, Clone)]
|
#[derive(Debug, Default, Clone)]
|
||||||
pub struct Kv {
|
pub struct Kv {
|
||||||
pub service: &'static str,
|
service: &'static str,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Kv {
|
impl Kv {
|
||||||
|
|
|
@ -9,7 +9,7 @@ use std::{
|
||||||
thread::{self},
|
thread::{self},
|
||||||
};
|
};
|
||||||
|
|
||||||
use serde_json::Value;
|
pub use serde_json::Value;
|
||||||
|
|
||||||
pub mod protocol;
|
pub mod protocol;
|
||||||
pub use protocol::{Body, ErrorCode, Message, Payload};
|
pub use protocol::{Body, ErrorCode, Message, Payload};
|
||||||
|
|
Loading…
Reference in a new issue