GrammalecteClient/Cargo.toml
Gwen Lg 1ad5dfbe78 improve error management with thiserror use
- add thiserror dependency
- use distinct Error enum in lib and server
2024-06-14 12:05:45 +02:00

32 lines
994 B
TOML

[package]
name = "grammalecte_client"
version = "0.1.4"
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
[dependencies]
serde_json = "1.0.96"
reqwest = { version = "0.12.4", features = ["json"] }
serde = { version = "1.0.163", features = ["derive"] }
log = "0.4.17"
zip = { version = "2.1.3", optional = true }
mktemp = { version = "0.5.0", optional = true }
rand = { version = "0.8.5", optional = true }
port_scanner = { version = "0.1.5", optional = true }
thiserror = "1.0.61"
[features]
embedded-server = ["zip", "mktemp", "rand", "port_scanner"]
[dev-dependencies]
env_logger = "0.11.3"
tokio = { version = "1.28.1", features = ["full"] }