From 1b20a1150cbbc80dd92c4d04ebc0a2d5fe4aca46 Mon Sep 17 00:00:00 2001 From: Kould <2435992353@qq.com> Date: Sun, 28 Apr 2024 17:06:30 +0800 Subject: [PATCH] config: update version --- Cargo.toml | 4 ++-- rust-toolchain | 2 +- src/lib.rs | 1 + src/optimizer/heuristic/batch.rs | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 81f8132b..6b148e0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,10 +44,10 @@ csv = { version = "1.3.0" } dirs = { version = "5.0.1" } env_logger = { version = "0.11.3", optional = true } futures = { version = "0.3.30" } -futures-async-stream = { version = "0.2.10" } +futures-async-stream = { version = "0.2.11" } integer-encoding = { version = "3.0.4" } itertools = { version = "0.12.1" } -kip_db = { version = "0.1.2-alpha.26" } +kip_db = { version = "0.1.2-alpha.26.fix1" } lazy_static = { version = "1.4.0" } log = { version = "0.4.21", optional = true } ordered-float = { version = "4.2.0" } diff --git a/rust-toolchain b/rust-toolchain index 8d5e8e76..7df939e8 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2024-01-18 \ No newline at end of file +nightly-2024-04-27 \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 13f943c1..964f3625 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,6 +5,7 @@ #![feature(iterator_try_collect)] #![feature(slice_pattern)] #![feature(is_sorted)] +#![feature(stmt_expr_attributes)] extern crate core; pub mod binder; pub mod catalog; diff --git a/src/optimizer/heuristic/batch.rs b/src/optimizer/heuristic/batch.rs index fb09a87c..84fbc763 100644 --- a/src/optimizer/heuristic/batch.rs +++ b/src/optimizer/heuristic/batch.rs @@ -3,6 +3,7 @@ use crate::optimizer::rule::normalization::NormalizationRuleImpl; /// A batch of rules. #[derive(Clone)] pub struct HepBatch { + #[allow(dead_code)] pub name: String, pub strategy: HepBatchStrategy, pub rules: Vec,