From 51a37de885c0d0e7fd82273153eae58c96be966d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Wed, 13 Jan 2021 11:30:27 +0100 Subject: [PATCH] Introduce the FacetValue enum type --- Cargo.lock | 1 + Cargo.toml | 2 +- src/facet/mod.rs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d98b7fd8e..1296a517f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -869,6 +869,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dacdec97876ef3ede8c50efc429220641a0b11ba0048b4b0c357bccbc47c5204" dependencies = [ "num-traits", + "serde", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 52b25cfde..2e4ea13a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ near-proximity = { git = "https://github.com/Kerollmops/plane-sweep-proximity", num-traits = "0.2.14" obkv = "0.1.0" once_cell = "1.4.0" -ordered-float = "2.0.0" +ordered-float = { version = "2.0.0", features = ["serde"] } rayon = "1.3.1" regex = "1.4.2" ringtail = "0.3.0" diff --git a/src/facet/mod.rs b/src/facet/mod.rs index 9ec99f2d3..274d2588d 100644 --- a/src/facet/mod.rs +++ b/src/facet/mod.rs @@ -1,4 +1,6 @@ mod facet_type; +mod facet_value; pub mod value_encoding; pub use self::facet_type::FacetType; +pub use self::facet_value::FacetValue;