turbojet-sql 0.3.1

SQL session storage for Turbojet: SQLite and PostgreSQL through sqlx, with leases so one gateway runs each session
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"
rust-version = "1.89"
name = "turbojet-sql"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL session storage for Turbojet: SQLite and PostgreSQL through sqlx, with leases so one gateway runs each session"
readme = "README.md"
keywords = [
    "fix",
    "trading",
    "finance",
    "sqlite",
    "postgres",
]
categories = [
    "database",
    "finance",
]
license = "Apache-2.0"
repository = "https://github.com/jrogers/turbojet"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["sqlite"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
tls = ["sqlx/tls-rustls-ring-native-roots"]

[lib]
name = "turbojet_sql"
path = "src/lib.rs"
bench = false

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

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

[[bench]]
name = "storage"
path = "benches/storage.rs"
harness = false
required-features = ["sqlite"]

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "any",
]
default-features = false

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

[dependencies.tracing]
version = "0.1"

[dependencies.turbojet]
version = "0.3.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.turbojet]
version = "0.3.1"
features = ["conformance"]

[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
missing_errors_doc = "warn"
return_self_not_must_use = "warn"
too_many_lines = "warn"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"