ddapi-rs 1.0.1

A simple Rust library to get data from DDNet and DDStats APIs
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 = "2021"
name = "ddapi-rs"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple Rust library to get data from DDNet and DDStats APIs"
readme = "README.md"
keywords = [
    "ddnet",
    "ddstats",
    "teeworlds",
    "api",
]
license = "MIT"
repository = "https://github.com/ByFox213/ddapi-rs"

[package.metadata.docs.rs]
all-features = true

[features]
cache = ["dep:moka"]
ddnet = []
ddstats = []
default = ["ddnet"]
full = [
    "ddnet",
    "ddstats",
    "cache",
]

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

[dependencies.chrono]
version = "0.4.43"

[dependencies.moka]
version = "0.12.13"
features = [
    "log",
    "future",
]
optional = true

[dependencies.reqwest]
version = "0.13.2"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.48.0"

[dev-dependencies.tokio]
version = "1.49.0"
features = ["macros"]

[profile.dev]
opt-level = 0
lto = false
codegen-units = 64
debug = 2
debug-assertions = true
rpath = false
overflow-checks = true
incremental = true
strip = "none"

[profile.profiling]
debug = 2
inherits = "release"
strip = "none"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 8
debug = 0
debug-assertions = false
panic = "abort"
overflow-checks = false
incremental = false
strip = true