prepare for 1.0.

This commit is contained in:
Joe Ardent 2024-06-09 15:17:36 -07:00
parent 9b9cba4c47
commit 671fbfab24
3 changed files with 3 additions and 3 deletions

View File

@ -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."

View File

@ -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 {

View File

@ -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};