start writting the compat layer between v5 and v6

This commit is contained in:
Tamo
2022-10-05 20:11:07 +02:00
committed by Clément Renault
parent afd5fe0783
commit 0972587cfc
11 changed files with 909 additions and 38 deletions

View File

@ -1,6 +1,12 @@
pub mod v2;
pub mod v3;
pub mod v4;
// pub mod v2;
// pub mod v3;
// pub mod v4;
pub mod v5_to_v6;
pub struct Compat<From: ?Sized> {
from: Box<From>,
}
/// Parses the v1 version of the Asc ranking rules `asc(price)`and returns the field name.
pub fn asc_ranking_rule(text: &str) -> Option<&str> {