[package]
edition = "2021"
name = "sz-orm-sharding"
version = "4.9.0"
authors = ["SZ-ORM Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sharding: Hash/Range/Date/List/Composite with consistent hashing"
homepage = "https://github.com/ljclz/sz-orm"
readme = false
keywords = [
"orm",
"database",
"async",
"sql",
"tokio",
]
categories = [
"database",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/ljclz/sz-orm"
[package.metadata.cargo-machete]
ignored = ["serde_json"]
[features]
default = []
shard-rebalance = ["dep:tokio"]
[lib]
name = "sz_orm_sharding"
path = "src/lib.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.40"
features = [
"full",
"sync",
"rt",
"time",
]
optional = true
[dev-dependencies.proptest]
version = "1.5"
[lints.clippy]
module_name_repetitions = "allow"
type_complexity = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"