[package] name = "tests" description = "test suite for pg_search" version = { workspace = true } edition = { workspace = true } license = { workspace = true } [lints] workspace = true [lib] crate-type = ["rlib"] [features] # Antithesis build (docker/Dockerfile.proptests): proptest draws entropy from the SDK and the dst # assert macros go live. Off for normal `cargo test`. dst = ["proptest/antithesis", "dst/enabled"] [dependencies] anyhow = "1.0.102" approx = "0.5.1" async-std = { version = "1.13.2", features = ["attributes"] } bigdecimal = { version = "0.4.10", features = ["serde"] } bytes = "1.11.1" chrono = { version = "0.4.44", features = ["clock", "alloc"] } cmd_lib = "2.0.0" dotenvy = "0.15.7" # Antithesis hooks; the macros are type-checked no-ops until `dst/enabled`. dst = { path = "../dst" } env_logger = "0.11.10" futures = "0.3.32" lockfree-object-pool = "0.1.6" num-traits = "0.2.19" pgvector = { version = "0.4.1", features = ["sqlx"] } pretty_assertions = "1.4.1" # Fork adds RngAlgorithm::Antithesis (crate version still 1.11.0). proptest = { git = "https://github.com/antithesishq/proptest", rev = "6061eb48d67ff76f882e709677308816d5791ce7" } # Stays on crates.io: the antithesis feature does not touch the derive crate. proptest-derive = "0.8.0" rand = "0.10.2" rstest = "0.26.1" rustc-hash = "2.1.2" serde_json = "1.0.149" soa_derive = "0.14.0" sqlx = { version = "0.9.0", features = [ "postgres", "runtime-async-std", "time", "bigdecimal", "uuid", "chrono", ] } strum = { version = "0.28.0", features = ["derive"] } tantivy.workspace = true tempfile = "3.27.0" time = { version = "0.3.47", features = ["serde"] } tokenizers = { path = "../tokenizers" } tokio = { version = "1.52.1", features = [ "rt-multi-thread", "macros", "time", "sync", ] } uuid = "1.23.1"