[package]
edition = "2021"
rust-version = "1.75"
name = "bunnydb-http"
version = "0.3.0"
build = false
exclude = ["secrets.json"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async HTTP client for Bunny.net Database SQL pipeline API — native and WASM (Bunny Edge Scripts)"
homepage = "https://github.com/neuralforgeone/bunnydb-http"
documentation = "https://docs.rs/bunnydb-http"
readme = "README.md"
keywords = [
"bunnydb",
"sqlite",
"http",
"database",
"wasm",
]
categories = [
"api-bindings",
"asynchronous",
"database",
"wasm",
]
license = "MIT"
repository = "https://github.com/neuralforgeone/bunnydb-http"
[features]
baton-experimental = []
default = []
raw-mode = []
row-map = []
tracing = ["dep:tracing"]
[lib]
name = "bunnydb_http"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "batch"
path = "examples/batch.rs"
[[example]]
name = "gui"
path = "examples/gui.rs"
[[test]]
name = "client_integration"
path = "tests/client_integration.rs"
[[test]]
name = "live_integration"
path = "tests/live_integration.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.axum]
version = "0.7"
[dev-dependencies.eframe]
version = "0.27"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
"json",
"gzip",
"brotli",
"rustls-tls",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
"time",
"rt-multi-thread",
"macros",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"