From 71c3c5e47782ed7d03316c3d5591694baa7fb03d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 3 Jan 2022 19:38:34 +0100 Subject: [PATCH] Add serde_json --- Cargo.lock | 1 + Cargo.toml | 1 + README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 8a073eb..be3b5a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -425,6 +425,7 @@ dependencies = [ "dotenv", "futures", "mattermost_api", + "serde_json", "tokio", ] diff --git a/Cargo.toml b/Cargo.toml index 20f9f93..c43ced0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,4 @@ mattermost_api = "0.1.0" futures = "0.3.19" tokio = { version = "1", features = ["full"] } chrono = "0.4.19" +serde_json = "1.0.74" diff --git a/README.md b/README.md index b83fd51..fda6cc8 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ services: - [Documentation `mattermost_api`](https://docs.rs/mattermost_api/0.1.0/mattermost_api/) (utilisé pour communiquer avec Mattermost) - [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`) --- ### Estimation du temps de build