[package]
edition = "2024"
rust-version = "1.85"
name = "roomrs"
version = "0.2.2"
authors = ["김용일(Kim Yong-il) <akira76@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Room-style local SQLite persistence library for Rust"
readme = "README.md"
keywords = [
"sqlite",
"orm",
"room",
"database",
"persistence",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yongaru/roomrs"
[features]
async = [
"dep:roomrs-async",
"roomrs-core/stream",
]
bundled = ["roomrs-core/bundled"]
cipher = ["roomrs-core/cipher"]
default = [
"bundled",
"async",
"live",
"time",
"uuid",
"json",
]
json = ["roomrs-core/json"]
live = [
"roomrs-core/live",
"roomrs-async?/live",
]
time = ["roomrs-core/time"]
tokio = [
"async",
"roomrs-async/tokio",
]
uuid = ["roomrs-core/uuid"]
[lib]
name = "roomrs"
path = "src/lib.rs"
[[example]]
name = "bench"
path = "examples/bench.rs"
[[example]]
name = "live_query"
path = "examples/live_query.rs"
required-features = ["live"]
[[example]]
name = "migrations"
path = "examples/migrations.rs"
[[example]]
name = "pagination"
path = "examples/pagination.rs"
required-features = ["live"]
[[example]]
name = "query_builder"
path = "examples/query_builder.rs"
[[example]]
name = "relations"
path = "examples/relations.rs"
[[example]]
name = "todo_async"
path = "examples/todo_async.rs"
required-features = ["async"]
[[example]]
name = "todo_sync"
path = "examples/todo_sync.rs"
[[example]]
name = "transactions"
path = "examples/transactions.rs"
[[test]]
name = "entity_default_table"
path = "tests/entity_default_table.rs"
[[test]]
name = "invalidation_filter_m4"
path = "tests/invalidation_filter_m4.rs"
[[test]]
name = "live_m4"
path = "tests/live_m4.rs"
[[test]]
name = "logging_log_crate"
path = "tests/logging_log_crate.rs"
[[test]]
name = "migrations_m3"
path = "tests/migrations_m3.rs"
[[test]]
name = "query_hooks_m6"
path = "tests/query_hooks_m6.rs"
[[test]]
name = "relations_m5"
path = "tests/relations_m5.rs"
[[test]]
name = "review_r2"
path = "tests/review_r2.rs"
[[test]]
name = "review_v3_connection_pool"
path = "tests/review_v3_connection_pool.rs"
[[test]]
name = "review_v3_dao_json"
path = "tests/review_v3_dao_json.rs"
[[test]]
name = "review_v3_entity"
path = "tests/review_v3_entity.rs"
[[test]]
name = "schema_embed"
path = "tests/schema_embed.rs"
[[test]]
name = "schema_snapshot"
path = "tests/schema_snapshot.rs"
[[test]]
name = "snapshot_reexports"
path = "tests/snapshot_reexports.rs"
[[test]]
name = "todo_async"
path = "tests/todo_async.rs"
[[test]]
name = "todo_sync"
path = "tests/todo_sync.rs"
[[test]]
name = "transactions_m2"
path = "tests/transactions_m2.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.roomrs-async]
version = "0.2.2"
optional = true
[dependencies.roomrs-core]
version = "0.2.2"
[dependencies.roomrs-macros]
version = "0.2.2"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.log]
version = "0.4"
[dev-dependencies.smol]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-log]
version = "0.2"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"env-filter",
]
[dev-dependencies.trybuild]
version = "1"