[package]
edition = "2021"
rust-version = "1.70"
name = "storeit"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic repository facade over storeit_core with optional SQL builder and backend adapters"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dahankzter/storeit-rs/"
[features]
backend-adapters = []
batch-ext = []
libsql-backend = [
"dep:storeit_libsql",
"storeit_libsql/libsql-backend",
"backend-adapters",
]
mysql-async = [
"dep:storeit_mysql_async",
"storeit_mysql_async/mysql-async",
"backend-adapters",
]
postgres-backend = [
"dep:storeit_tokio_postgres",
"storeit_tokio_postgres/postgres-backend",
"backend-adapters",
]
query-ext = []
sql-builder = ["dep:storeit_sql_builder"]
storeit_libsql = ["libsql-backend"]
storeit_mysql_async = ["mysql-async"]
storeit_tokio_postgres = ["postgres-backend"]
stream-ext = [
"dep:async-stream",
"dep:futures-core",
]
unstable = []
upsert-ext = []
[lib]
name = "storeit"
path = "src/lib.rs"
[[example]]
name = "actix_libsql"
path = "examples/actix_libsql/main.rs"
required-features = ["never-web-example"]
[[example]]
name = "axum_libsql"
path = "examples/axum_libsql/main.rs"
required-features = ["never-web-example"]
[[example]]
name = "libsql_e2e"
path = "examples/libsql_e2e/main.rs"
required-features = ["never-web-example"]
[[example]]
name = "libsql_tx"
path = "examples/libsql_tx/main.rs"
required-features = ["never-web-example"]
[[example]]
name = "mysql_e2e"
path = "examples/mysql_e2e/main.rs"
required-features = ["never-mysql-example"]
[[example]]
name = "postgres_e2e"
path = "examples/postgres_e2e/main.rs"
required-features = ["never-postgres-example"]
[[example]]
name = "warp_libsql"
path = "examples/warp_libsql/main.rs"
required-features = ["never-web-example"]
[[test]]
name = "entity_agnostic_tx"
path = "tests/entity_agnostic_tx.rs"
[[test]]
name = "facade_integration"
path = "tests/facade_integration.rs"
[[test]]
name = "facade_reexports"
path = "tests/facade_reexports.rs"
[[test]]
name = "generated_tx_manager"
path = "tests/generated_tx_manager.rs"
[dependencies.async-stream]
version = "0.3"
optional = true
[dependencies.async-trait]
version = "0.1"
optional = false
[dependencies.futures-core]
version = "0.3"
optional = true
[dependencies.storeit_core]
version = "0.1"
package = "storeit_core"
[dependencies.storeit_libsql]
version = "0.1"
optional = true
package = "storeit_libsql"
[dependencies.storeit_macros]
version = "0.1"
package = "storeit_macros"
[dependencies.storeit_mysql_async]
version = "0.1"
optional = true
package = "storeit_mysql_async"
[dependencies.storeit_sql_builder]
version = "0.1"
optional = true
package = "storeit_sql_builder"
[dependencies.storeit_tokio_postgres]
version = "0.1"
optional = true
package = "storeit_tokio_postgres"
[dev-dependencies.actix-web]
version = "4"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.7"
features = [
"http1",
"json",
"macros",
"tokio",
"query",
]
default-features = false
[dev-dependencies.chrono]
version = "0.4"
[dev-dependencies.libsql]
version = "0.9.20"
[dev-dependencies.mysql_async]
version = "0.34"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tokio-postgres]
version = "0.7"
[dev-dependencies.warp]
version = "0.3"