Add serde
This commit is contained in:
parent
bbdade1358
commit
1728ba1303
3 changed files with 3 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -568,6 +568,7 @@ dependencies = [
|
|||
"dotenv",
|
||||
"futures",
|
||||
"mattermost_api",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"serenity",
|
||||
"tokio",
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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`)
|
||||
|
|
Reference in a new issue