sqlx-d1-core 0.4.0

core implementation for sqlx-d1 - SQLx for Cloudflare D1
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 = "2024"
name = "sqlx-d1-core"
version = "0.4.0"
authors = ["kanarus <mail@kanarus.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "core implementation for sqlx-d1 - SQLx for Cloudflare D1"
homepage = "https://crates.io/crates/sqlx-d1"
documentation = "https://docs.rs/sqlx-d1-core"
readme = "README.md"
keywords = [
    "cloudflare",
    "d1",
    "sqlx",
    "database",
    "db",
]
categories = [
    "database",
    "asynchronous",
    "wasm",
    "rust-patterns",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/ohkami-rs/sqlx-d1"

[package.metadata.docs.rs]
features = [
    "json",
    "uuid",
    "chrono",
    "offline",
]

[features]
DEBUG = []
chrono = ["sqlx-core/chrono"]
decimal = ["dep:rust_decimal"]
json = ["sqlx-core/json"]
offline = [
    "sqlx-core/offline",
    "serde/derive",
]
uuid = ["sqlx-core/uuid"]

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

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.rust_decimal]
version = "1"
features = ["std"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.sqlx-core]
version = "=0.8.6"

[dependencies.worker]
version = "0.8"
features = ["d1"]

[dependencies.worker-sys]
version = "0.8"
features = ["d1"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx-sqlite]
version = "=0.8.6"
features = ["bundled"]