diff --git a/Makefile b/Makefile index 770e8f3..1a19adb 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,11 @@ test: RUST_BACKTRACE=1 cargo test # Amazingly, `--all-targets` causes doc-tests not to run. RUST_BACKTRACE=1 cargo test --doc + # Check that geo_filters compiles with each feature in isolation and with no features + cargo check -p geo_filters --no-default-features + cargo check -p geo_filters --features test-support + cargo check -p geo_filters --features serde + cargo check -p geo_filters --features evaluation .PHONY: test-ignored test-ignored: diff --git a/crates/geo_filters/Cargo.toml b/crates/geo_filters/Cargo.toml index 4419212..6267038 100644 --- a/crates/geo_filters/Cargo.toml +++ b/crates/geo_filters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geo_filters" -version = "0.1.0" +version = "0.1.1" edition = "2021" description = "Geometric filters for set cardinality estimation." repository = "https://github.com/github/rust-gems" @@ -33,7 +33,7 @@ once_cell = "1.18" rand = { version = "0.10", optional = true } rayon = { version = "1.7", optional = true } regex = { version = "1", optional = true } -serde = { version = "1.0", default-features = false, optional = true } +serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } rand_chacha = { version = "0.10", optional = true } [dev-dependencies]