libsql-orm 0.1.3

A powerful, async-first ORM for libsql with first-class support for Cloudflare Workers and WebAssembly environments. Features include automatic boolean conversion, upsert operations, built-in logging, migrations, and comprehensive query building.
Documentation
[package]
name = "libsql-orm"
version = "0.1.3"
edition = "2021"
authors = ["Ayon Saha <ayonsaha2011@gmail.com>"]
description = "A powerful, async-first ORM for libsql with first-class support for Cloudflare Workers and WebAssembly environments. Features include automatic boolean conversion, upsert operations, built-in logging, migrations, and comprehensive query building."
documentation = "https://docs.rs/libsql-orm"
homepage = "https://github.com/ayonsaha2011/libsql-orm"
repository = "https://github.com/ayonsaha2011/libsql-orm"
license = "MIT"
readme = "README.md"
keywords = ["orm", "libsql", "database", "sqlite", "wasm"]
categories = ["database", "web-programming", "wasm", "asynchronous"]
exclude = [
  "target/",
  ".git/",
  ".gitignore",
  "tests/",
  "BOOLEAN_CONVERSION_FIX.md",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
libsql = { version = "0.9", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde", "js"] }
libsql-orm-macros = { version = "0.1", path = "./libsql-orm-macros" }
anyhow = "1.0"
worker = { version = "=0.7", optional = true }
web-sys = { version = "0.3", features = ["console"], optional = true }
log = "0.4"

[dev-dependencies]
tokio = { version = "1.0", features = ["macros", "rt"] }
env_logger = "0.10"

[features]
default = ["libsql_default"]
cloudflare = ["worker", "web-sys", "libsql/cloudflare"]
libsql_default = ["libsql/default"]

[lib]
name = "libsql_orm"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]


[workspace]
members = [".", "libsql-orm-macros"]
resolver = "2"

[workspace.dependencies]
worker = "=0.7.0"

# Patch libsql to use git version which should be more flexible with worker versions
[patch.crates-io]
libsql = { git = "https://github.com/tursodatabase/libsql", version = "0.9.29" }