2022-12-17 16:37:33 +00:00
|
|
|
[package]
|
|
|
|
name = "grammalecte_client"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
authors = ["Pierre Hubert <pierre.git@communiquons.org>"]
|
|
|
|
description = "Grammalecte HTTP client"
|
|
|
|
license = "MIT"
|
2022-12-19 11:34:18 +00:00
|
|
|
repository = "https://gitea.communiquons.org/pierre/GrammalecteClient"
|
|
|
|
keywords = ["grammalecte", "spell-check"]
|
2022-12-17 16:37:33 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde_json = "1.0.89"
|
2022-12-18 16:49:19 +00:00
|
|
|
reqwest = { version = "0.11.13", features = ["json"] }
|
|
|
|
serde = { version = "1.0.151", features = ["derive"] }
|
|
|
|
log = "0.4.17"
|
2022-12-19 11:20:44 +00:00
|
|
|
zip = { version = "0.6.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}
|
|
|
|
|
|
|
|
[features]
|
|
|
|
embedded-server = ["zip", "mktemp", "rand", "port_scanner"]
|
2022-12-18 16:49:19 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.10.0"
|
|
|
|
tokio = { version = "1.23.0", features = ["full"] }
|