# 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 = "rfeign-core"
version = "0.0.5"
authors = ["ouywm"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits and types for rfeign declarative HTTP client"
readme = "README.md"
keywords = [
    "http-client",
    "declarative",
    "feign",
    "microservice",
    "async",
]
categories = [
    "web-programming::http-client",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ouywm/rfeign"
resolver = "2"

[features]
circuit-breaker = ["dep:recloser"]
default = []

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

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.11"

[dependencies.erased-serde]
version = "0.4"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1.4"

[dependencies.recloser]
version = "1.3"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "2.0"

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