somnia 0.3.0

Type-safe SurrealDB ORM for Rust: typed query builder, #[derive(SurrealRecord)], schema generation, and Diesel-style migrations.
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.95"
name = "somnia"
version = "0.3.0"
authors = ["Vikram Bhaskaran <vikram.bhaskaran@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe SurrealDB ORM for Rust: typed query builder, #[derive(SurrealRecord)], schema generation, and Diesel-style migrations."
homepage = "https://github.com/vbasky/somnia"
readme = "README.md"
keywords = [
    "surrealdb",
    "orm",
    "query-builder",
    "database",
    "surrealql",
]
categories = [
    "database",
    "database-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/vbasky/somnia"

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.somnia-core]
version = "0.3.0"

[dependencies.somnia-derive]
version = "0.3.0"

[dependencies.surrealdb]
version = "3.0.1"
features = ["protocol-ws"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
]

[dev-dependencies.surrealdb]
version = "3.0.1"
features = ["kv-mem"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]