Update dependencies

This commit is contained in:
2023-05-23 14:41:19 +02:00
parent 707821ca23
commit 7f8a37ce01
3 changed files with 318 additions and 282 deletions

View File

@ -10,7 +10,7 @@
//! temporary web server that will act as Grammalecte backend, instead
//! of targetting an existing instance:
//!
//! ```rust,no_run
//! ```rust,ignore
//! use grammalecte_client::GrammalecteClient;
//!
//! let msg = "Les ange sont inssuportables!";
@ -24,7 +24,9 @@
//!
//! ## Suggestion
//! You can also ask Grammalecte to give you valid alternatives words:
//! ```rust,no_run
//! ```rust,ignore
//! use grammalecte_client::GrammalecteClient;
//!
//! let res = GrammalecteClient::start_server()
//! .unwrap()
//! .suggest("bonjou")
@ -356,7 +358,7 @@ impl GrammalecteClient {
log::debug!("Will use URL {} for spell check", url);
let options = options
.into_iter()
.iter()
.map(|t| (t.0.id(), t.1))
.collect::<HashMap<_, _>>();
let options = serde_json::to_string(&options)?;