# 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 = "http-request-derive" version = "0.3.2" build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Use derive to create HTTP requests" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://gitlab.opencode.de/opentalk/libs/http-request-derive" [lib] name = "http_request_derive" path = "src/lib.rs" [[example]] name = "simple_get" path = "examples/simple_get.rs" [dependencies.async-trait] version = "0.1.82" [dependencies.bytes] version = "1" [dependencies.http] version = "1" [dependencies.http-request-derive-macros] version = "0.1.3" [dependencies.reqwest] version = "0.12.7" optional = true default-features = false [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_url_params] version = "0.2" optional = true [dependencies.snafu] version = "0.8" [dependencies.url] version = "2" [dev-dependencies.mockito] version = "1.5" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] [features] default = ["serde"] reqwest = ["dep:reqwest"] serde = [ "dep:serde", "dep:serde_json", "dep:serde_url_params", ]