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
# 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.85.0"
name = "rust_api_calling"
version = "1.0.0"
authors = ["Keval Thumar <thumarkeval12@gmail.com>"]
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
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",
]
license = "MIT"
repository = "https://github.com/KevalKThumar/rust_api_calling"

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

[[example]]
name = "usage"
path = "examples/usage.rs"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "cookies",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]