From 1728ba1303200dcc9f009f7345ce1642f9e6f035 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 5 Jan 2022 01:23:57 +0100 Subject: [PATCH] Add serde --- Cargo.lock | 1 + Cargo.toml | 1 + README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index f382746..3d59c0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -568,6 +568,7 @@ dependencies = [ "dotenv", "futures", "mattermost_api", + "serde", "serde_json", "serenity", "tokio", diff --git a/Cargo.toml b/Cargo.toml index ea51671..d2de678 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ dotenv = "0.15.0" # API Mattermost mattermost_api = "0.1.0" +serde = "1.0.133" # Async tokio = { version = "1", features = ["full"] } diff --git a/README.md b/README.md index 988a251..056a0f1 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ services: --- ### Sources - [Documentation `mattermost_api`](https://docs.rs/mattermost_api/0.1.0/mattermost_api/) (utilisé pour communiquer avec Mattermost) +- [Documentation `serde`](https://crates.io/crates/serde) (utilisé pour ma structure de salon [j'ai fait comme `mattermost_api`]) - [Documentation `tokio`](https://docs.rs/tokio/1.15.0/tokio/attr.main.html) (utilisé car `mattermost_api` est `async`) - [Documentation `chrono`](https://rust-lang-nursery.github.io/rust-cookbook/datetime/parse.html) (utilisé pour l'analyse des timestamps) - [Documentation `serde_json`](https://docs.serde.rs/serde_json/#constructing-json-values) (utilisé pour gérer tout ce qui est `json`)