Compare commits
3 Commits
93bd795560
...
707821ca23
| Author | SHA1 | Date | |
|---|---|---|---|
| 707821ca23 | |||
| 162a5e9af8 | |||
| 991dc71c79 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -349,7 +349,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "grammalecte_client"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log",
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
[package]
|
||||
name = "grammalecte_client"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
authors = ["Pierre Hubert <pierre.git@communiquons.org>"]
|
||||
description = "Grammalecte HTTP client"
|
||||
license = "MIT"
|
||||
repository = "https://gitea.communiquons.org/pierre/GrammalecteClient"
|
||||
keywords = ["grammalecte", "spell-check"]
|
||||
readme = "README.md"
|
||||
categories = ["text-processing"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
# Grammalecte client
|
||||
This crate is an Open Source [Grammalecte](https://grammalecte.net/) client, writtent in Rust.
|
||||
[](https://crates.io/crates/grammalecte_client)
|
||||
[](https://docs.rs/grammalecte_client/)
|
||||
|
||||
Please have a look at this crate documentation to learn more.
|
||||
This crate is an Open Source [Grammalecte](https://grammalecte.net/) client, written in Rust.
|
||||
|
||||
Please have a look at this [crate documentation](https://docs.rs/grammalecte_client/latest/grammalecte_client/) to learn more.
|
||||
@@ -296,7 +296,8 @@ pub struct SpellingError {
|
||||
/// Response to a suggestion request
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct SuggestResult {
|
||||
suggestions: Vec<String>,
|
||||
/// Suggestions returned by Grammalecte
|
||||
pub suggestions: Vec<String>,
|
||||
}
|
||||
|
||||
/// The Grammalecte client itself
|
||||
|
||||
Reference in New Issue
Block a user