diff --git a/Cargo.toml b/Cargo.toml index fb41cda..f4fc5b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nebkor-maelstrom" edition = "2021" -version = "0.0.2" +version = "1.0.0" license-file = "LICENSE.md" readme = "README.md" description = "An easy-to-use and synchronous client for creating Maelstrom distributed clients." diff --git a/src/kv.rs b/src/kv.rs index 571677b..434a397 100644 --- a/src/kv.rs +++ b/src/kv.rs @@ -5,7 +5,7 @@ use crate::{check_err, mk_payload, Body, RpcResult, Runner}; /// A convenient way to do RPC with Maelstrom's KV services. #[derive(Debug, Default, Clone)] pub struct Kv { - pub service: &'static str, + service: &'static str, } impl Kv { diff --git a/src/lib.rs b/src/lib.rs index df73a4c..2244ec6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ use std::{ thread::{self}, }; -use serde_json::Value; +pub use serde_json::Value; pub mod protocol; pub use protocol::{Body, ErrorCode, Message, Payload};