rust_api_calling 1.0.0

A clean, idiomatic Rust HTTP client library with a single core request function and convenient GET/POST wrappers. Features builder pattern configuration, typed responses via serde generics, automatic session/cookie/XSRF management, and structured logging.
Documentation
[package]
name = "rust_api_calling"
version = "1.0.0"
edition = "2024"
authors = ["Keval Thumar <thumarkeval12@gmail.com>"]
description = "A clean, idiomatic Rust HTTP client library with a single core request function and convenient GET/POST wrappers. Features builder pattern configuration, typed responses via serde generics, automatic session/cookie/XSRF management, and structured logging."
license = "MIT"
repository = "https://github.com/KevalKThumar/rust_api_calling"
homepage = "https://github.com/KevalKThumar/rust_api_calling"
documentation = "https://docs.rs/rust_api_calling"
readme = "README.md"
keywords = ["http", "api", "client", "rest", "async"]
categories = ["web-programming::http-client", "api-bindings"]
rust-version = "1.85.0"

# Only include necessary files in the published crate
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]

[dependencies]
reqwest = { version = "0.12", features = ["json", "cookies"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
thiserror = "2"
tracing = "0.1"

[dev-dependencies]
tracing-subscriber = { version = "0.3", features = ["env-filter"] }