Log for cantine_derive/src/lib.rs
-
Make FeatureCollector public by Caio 6 years ago
-
Extract FeatureForSegment trait by Caio 6 years ago
-
Extract FeatureForDoc trait by Caio 6 years ago
-
First stab at a generic feature aggregator 💬 by Caio 6 years ago
A `Feature<Query, Aggregator>` gives me a very simple way of moving the collection logic outwards, so now I can have arbitrary Queries and keep reusing the collector code. It's still unclear to me how to expose the generated query and result structs without hard-coding some prefix/suffix to the input name, so here's to hope and dreams :beer:
-
Remove everything `proc_macro` from what will go public 💬 by Caio 6 years ago
I thought the "proc macros need to live in a separate crate" problem was only a minor annoyance until now: publishing a crate that uses it implies publishing the proc macro crate too. This patch works around said annoyance by (mostly manually) reverting the move to the `tique` module. Now `cantine_derive` is self-contained.
-
Initialize `min` as the range's `end` 💬 by Caio 6 years ago
With this, `min` becomes "minimum *seen* value that matches the range", which is what was the original intention (and what `max` already means).
-
Get rid of the 'crates/' subdirectory 💬 by Caio 6 years ago
Just a `git mv crates/* .` and minor adjustments `Cargo.toml` and `.gitignore` to point at the new locations
-
Move derive functionality to the tique module 💬 by Caio 6 years ago
I needed a public place to store the new RangeStats struct as it's independent from any input. This patch moves the `cantine_derive` mod into the `tique` subgroup with hopes that it will force me to think of: 1. A better name than `FilterAndAggregation` 2. A way to expose the generated structs instead of requiring knowledge that the output structs are prefixed by the source name