# 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 = "simplehttp" version = "0.0.6" authors = ["Frank Lyaruu "] description = "Simple (and very immature) sync http client. Intended to have multiple implementations abstracting away API differences between platforms" readme = "README.md" license = "Apache-2.0" [dependencies.anyhow] version = "1" optional = true [dependencies.base64] version = "0.21.0" [dependencies.bytes] version = "1" optional = true [dependencies.embedded-hal] version = "1.0.0-rc.1" optional = true [dependencies.embedded-svc] version = "0.26.4" optional = true [dependencies.esp-idf-hal] version = "0.42.5" optional = true [dependencies.esp-idf-svc] version = "0.47.3" features = ["experimental"] optional = true [dependencies.esp-idf-sys] version = "0.33.7" optional = true [dependencies.fastly] version = "0.9.4" optional = true [dependencies.http] version = "0.2" optional = true [dependencies.log] version = "0.4.18" [dependencies.reqwest] version = "0.11" features = [ "json", "blocking", ] optional = true [dependencies.serde] version = "1.0.160" features = ["derive"] [dependencies.serde_json] version = "1.0.95" [dependencies.spin-sdk] version = "0.0.0" optional = true [dependencies.thiserror] version = "1.0.44" [features] esp32 = [ "dep:esp-idf-svc", "dep:esp-idf-hal", "dep:esp-idf-sys", "dep:embedded-svc", "dep:embedded-hal", ] fastly = ["dep:fastly"] reqwest = ["dep:reqwest"] spin = [ "dep:anyhow", "dep:bytes", "dep:http", "dep:spin-sdk", ]