Skip to content

Commit

Permalink
fix(core): Support Rust 1.78 (#1854)
Browse files Browse the repository at this point in the history
Add a qualifier to imports to support slightly older Rust versions.
Tag cargo metadata with min tested version to give a better error.
  • Loading branch information
rfairfax authored Sep 24, 2024
1 parent 101f566 commit 29dcec6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/src/rust/filodb_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "filodb_core"
version = "0.1.0"
edition = "2021"
rust-version = "1.78"

[lib]
crate-type = ["cdylib"]
Expand Down
1 change: 1 addition & 0 deletions core/src/rust/tantivy_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "tantivy_utils"
version = "0.1.0"
edition = "2021"
rust-version = "1.78"

[dependencies]
hashbrown = "0.14.5"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Collector for part key binary data
use std::cmp::min;
use std::mem::size_of;

use crate::collectors::column_cache::ColumnCache;
use crate::field_constants::{END_TIME, PART_KEY, START_TIME};
Expand Down

0 comments on commit 29dcec6

Please sign in to comment.