mdcast-client 0.5.0

Async HTTP client for mdcast-server — content-addressed asset negotiation handled for you
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mdcast-client"
version = "0.5.0"
authors = ["Martin Miksanik <miksanik@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async HTTP client for mdcast-server — content-addressed asset negotiation handled for you"
homepage = "https://github.com/xmiksay/mdcast"
documentation = "https://docs.rs/mdcast-client"
readme = "README.md"
keywords = [
    "markdown",
    "mdcast",
    "document",
    "http",
    "client",
]
categories = [
    "text-processing",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/xmiksay/mdcast"

[lib]
name = "mdcast_client"
path = "src/lib.rs"

[[test]]
name = "capabilities"
path = "tests/capabilities.rs"

[[test]]
name = "generated"
path = "tests/generated.rs"

[[test]]
name = "negotiation"
path = "tests/negotiation.rs"

[[test]]
name = "server_errors"
path = "tests/server_errors.rs"

[dependencies.bytes]
version = "1"

[dependencies.mdcast-api]
version = "0.5.0"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "json",
    "multipart",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"