Compare commits

..

3 Commits

Author SHA1 Message Date
707821ca23 Update metadata 2022-12-20 10:18:19 +01:00
162a5e9af8 Bump version 2022-12-20 10:15:33 +01:00
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]] [[package]]
name = "grammalecte_client" name = "grammalecte_client"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"env_logger", "env_logger",
"log", "log",

View File

@@ -1,12 +1,14 @@
[package] [package]
name = "grammalecte_client" name = "grammalecte_client"
version = "0.1.2" version = "0.1.3"
edition = "2021" edition = "2021"
authors = ["Pierre Hubert <pierre.git@communiquons.org>"] authors = ["Pierre Hubert <pierre.git@communiquons.org>"]
description = "Grammalecte HTTP client" description = "Grammalecte HTTP client"
license = "MIT" license = "MIT"
repository = "https://gitea.communiquons.org/pierre/GrammalecteClient" repository = "https://gitea.communiquons.org/pierre/GrammalecteClient"
keywords = ["grammalecte", "spell-check"] 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -1,4 +1,7 @@
# Grammalecte client # 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 /// Response to a suggestion request
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct SuggestResult { pub struct SuggestResult {
suggestions: Vec<String>, /// Suggestions returned by Grammalecte
pub suggestions: Vec<String>,
} }
/// The Grammalecte client itself /// The Grammalecte client itself