# 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 = "apisdk" version = "0.0.16" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy-to-use API toolkit for writing HTTP API Clients for Rust." readme = "README.md" keywords = [ "http", "restful", "reqwest", "api", ] categories = [ "network-programming", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/zhengcan/apisdk-rs" [lib] name = "apisdk" path = "src/lib.rs" doctest = false [[test]] name = "api_method" path = "tests/api_method.rs" [[test]] name = "auth" path = "tests/auth.rs" [[test]] name = "core_func" path = "tests/core_func.rs" [[test]] name = "custom_new" path = "tests/custom_new.rs" [[test]] name = "extract_auto" path = "tests/extract_auto.rs" [[test]] name = "extract_json" path = "tests/extract_json.rs" [[test]] name = "extract_other" path = "tests/extract_other.rs" [[test]] name = "extract_text" path = "tests/extract_text.rs" [[test]] name = "extract_xml" path = "tests/extract_xml.rs" [[test]] name = "logger" path = "tests/logger.rs" [[test]] name = "middleware" path = "tests/middleware.rs" [[test]] name = "mock" path = "tests/mock.rs" [[test]] name = "process_204" path = "tests/process_204.rs" [[test]] name = "rewrite" path = "tests/rewrite.rs" [[test]] name = "send_form" path = "tests/send_form.rs" [[test]] name = "send_get" path = "tests/send_get.rs" [[test]] name = "send_json" path = "tests/send_json.rs" [[test]] name = "send_multipart" path = "tests/send_multipart.rs" [[test]] name = "send_raw" path = "tests/send_raw.rs" [[test]] name = "trace" path = "tests/trace.rs" [dependencies.anyhow] version = "1.0" [dependencies.apisdk-macros] version = "0.0.16" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" [dependencies.futures] version = "0.3" [dependencies.hex] version = "0.4" [dependencies.hickory-resolver] version = "0.24" optional = true [dependencies.http] version = "1.1" [dependencies.hyper] version = "1.4" [dependencies.hyper-util] version = "0.1" [dependencies.lazy_static] version = "1.5" [dependencies.log] version = "0.4" [dependencies.md-5] version = "0.10" [dependencies.nanoid] version = "0.4" [dependencies.quick-xml] version = "0.36" features = ["serialize"] [dependencies.rand] version = "0.8" [dependencies.regex] version = "1.10" [dependencies.reqwest] version = "0.12" features = [ "json", "multipart", ] [dependencies.reqwest-middleware] version = "0.3" features = [ "json", "multipart", ] [dependencies.reqwest-tracing] version = "0.5" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha1] version = "0.10" features = ["asm"] [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "1.0" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" optional = true [dependencies.url] version = "2.5" [dependencies.uuid] version = "1.10" features = ["v4"] optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.reqwest-tracing] version = "0.5" features = ["opentelemetry_0_24"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-log] version = "0.2" [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.warp] version = "0.3" [features] default = [] dns = ["dep:hickory-resolver"] tracing = [ "dep:tracing", "dep:reqwest-tracing", ] uuid = ["dep:uuid"] [target.'cfg(target_arch = "x86_64")'.dependencies.md-5] version = "0.10" features = ["asm"]