[package]
edition = "2024"
name = "sqlx-repo"
version = "0.2.1"
authors = [
"Dmitriy Mazurin <dimasm19@gmail.com>",
"Victoria Terenina <torymur@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "repository pattern on top of sqlx"
readme = "README.md"
keywords = [
"sqlx",
"repository",
]
license = "MIT or Apache-2.0"
repository = "https://github.com/vidicas/sqlx-repo"
[lib]
name = "sqlx_repo"
path = "src/lib.rs"
[[test]]
name = "test_repo"
path = "tests/test_repo.rs"
[[test]]
name = "test_sqlite"
path = "tests/test_sqlite.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.9"
features = [
"chrono",
"json",
"mysql",
"postgres",
"runtime-tokio",
"sqlite",
"tls-rustls",
"uuid",
]
[dependencies.sqlx-repo-macros]
version = "0.5"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v7",
"serde",
]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.tempfile]
version = "3.20.0"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[lints.clippy]
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
unused_import_braces = "warn"