Fix compilation with rustc 1.4.2

More adaptation are required to be able to use the most recent version
of Rust, therefore fix the dependencies and the compiler version.
This commit is contained in:
2024-08-08 11:01:13 +02:00
parent e4cbdf836f
commit f68ec7af14
2 changed files with 7 additions and 5 deletions

2
rust-toolchain.toml Normal file
View File

@@ -0,0 +1,2 @@
[toolchain]
channel = "1.42.0"

View File

@@ -7,11 +7,11 @@ use std::io;
use mercator_db::CoreQueryParameters;
use mercator_db::DataBase;
use parser::Executor;
use parser::FiltersParser;
use parser::Predictor;
use parser::QueryParser;
use parser::Validator;
use mercator_parser::Executor;
use mercator_parser::FiltersParser;
use mercator_parser::Predictor;
use mercator_parser::QueryParser;
use mercator_parser::Validator;
fn main() {
// If RUST_LOG is unset, set it to INFO, otherwise keep it as-is.