[package]
edition = "2021"
name = "photon-backend-sqlite"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite embedded storage adapter for Photon"
homepage = "https://github.com/unified-field-dev/photon"
documentation = "https://docs.rs/photon-backend-sqlite"
readme = "README.md"
keywords = [
"pubsub",
"events",
"async",
"messaging",
"streaming",
]
categories = [
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/unified-field-dev/photon"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "photon_backend_sqlite"
path = "src/lib.rs"
[[test]]
name = "sqlite_contract"
path = "tests/sqlite_contract.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.photon-backend]
version = "0.1.0"
features = ["runtime"]
default-features = false
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"sqlite",
"postgres",
"chrono",
]
default-features = false
[dependencies.tokio]
version = "1.52"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"rt-multi-thread",
"macros",
]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
items_after_statements = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
used_underscore_binding = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"