Compare commits

..

4 Commits

Author SHA1 Message Date
Pierre Hubert 0e6c312b3a Add renovate.json 2022-12-26 00:23:22 +00:00
Pierre Hubert 707821ca23 Update metadata 2022-12-20 10:18:19 +01:00
Pierre Hubert 162a5e9af8 Bump version 2022-12-20 10:15:33 +01:00
Pierre Hubert 991dc71c79 Fix bad structure interface 2022-12-20 10:14:57 +01:00
4 changed files with 11 additions and 5 deletions

2
Cargo.lock generated
View File

@ -349,7 +349,7 @@ dependencies = [
[[package]]
name = "grammalecte_client"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"env_logger",
"log",

View File

@ -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

View File

@ -1,4 +1,7 @@
# Grammalecte client
This crate is an Open Source [Grammalecte](https://grammalecte.net/) client, writtent in Rust.
[![Crate](https://img.shields.io/crates/v/grammalecte_client.svg)](https://crates.io/crates/grammalecte_client)
[![Documentation](https://docs.rs/grammalecte_client/badge.svg)](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.

View File

@ -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