sqlx-d1 0.4.0

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"
version = "0.4.0"
authors = ["kanarus <mail@kanarus.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLx for Cloudflare D1"
homepage = "https://crates.io/crates/sqlx-d1"
documentation = "https://docs.rs/sqlx-d1"
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",
    "decimal",
    "macros",
]

[features]
DEBUG = [
    "sqlx-d1-core/DEBUG",
    "sqlx-d1-macros?/DEBUG",
]
chrono = ["sqlx-d1-core/chrono"]
decimal = ["sqlx-d1-core/decimal"]
derive = [
    "dep:sqlx-d1-macros",
    "sqlx-d1-macros/derive",
]
json = ["sqlx-d1-core/json"]
macros = [
    "query",
    "derive",
]
query = [
    "dep:sqlx-d1-macros",
    "sqlx-d1-macros/query",
]
uuid = ["sqlx-d1-core/uuid"]

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

[dependencies.sqlx-d1-core]
version = "=0.4.0"

[dependencies.sqlx-d1-macros]
version = "=0.4.0"
optional = true

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

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

[lints.clippy]
duplicated_attributes = "allow"