tracedb-sdk 0.1.0

Rust SDK for the TraceDB platform-contract-v0 HTTP API.
Documentation
# 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"
rust-version = "1.80"
name = "tracedb-sdk"
version = "0.1.0"
authors = ["Trace-DB"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the TraceDB platform-contract-v0 HTTP API."
homepage = "https://trace-db.com"
documentation = "https://docs.rs/tracedb-sdk"
readme = "README.md"
keywords = [
    "tracedb",
    "database",
    "sdk",
    "http",
]
categories = [
    "api-bindings",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/Trace-DB/tracedb-rust"

[features]
async = [
    "dep:tokio",
    "dep:reqwest",
]
default = [
    "async",
    "rustls-tls",
]
native-tls = ["reqwest?/native-tls"]
rustls-tls = ["reqwest?/rustls-tls"]

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

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[test]]
name = "http_client"
path = "tests/http_client.rs"

[[test]]
name = "quickstart_example"
path = "tests/quickstart_example.rs"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "time",
]
optional = true

[dev-dependencies.tempfile]
version = "3.10"