mini_exercism 8.0.0

Minimalistic Rust library to interact with the Exercism.org APIs
# 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"
rust-version = "1.88.0"
name = "mini_exercism"
version = "8.0.0"
authors = ["Charles Lechasseur <shiftingbeard@outlook.com>"]
build = false
include = [
    "src/**/*",
    "tests/**/*",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimalistic Rust library to interact with the Exercism.org APIs"
homepage = "https://github.com/clechasseur/mini_exercism#readme"
documentation = "https://docs.rs/mini_exercism/"
readme = "README.md"
keywords = [
    "api",
    "rest",
    "http",
    "exercism",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/clechasseur/mini_exercism"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = []
cookies = ["reqwest/cookies"]

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bytes]
version = "1.11.1"

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.futures]
version = "0.3.32"

[dependencies.mockall_double]
version = "0.3.1"

[dependencies.paste]
version = "1.0.15"

[dependencies.reessaie]
version = "4.0.0"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "query",
    "stream",
]

[dependencies.reqwest-middleware]
version = "0.5.1"
features = [
    "json",
    "query",
]

[dependencies.reqwest-retry]
version = "0.9.1"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.strum]
version = "0.28.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serial_test]
version = "3.4.0"
features = ["file_locks"]

[dev-dependencies.test-log]
version = "0.2.19"
features = ["trace"]
default-features = false

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

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

[dev-dependencies.wiremock_logical_matchers]
version = "0.6.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tarpaulin)",
    "cfg(tarpaulin_include)",
    "cfg(coverage)",
    "cfg(coverage_nightly)",
    "cfg(mini_exercism_enable_tests_with_real_endpoints)",
]