chore(contrib): upgrade to 2024 edition

Part of #114
This edition change doesn't affect these crates except for formatting.

Change-Id: I441c967b6803f1f839379c2ec13dee3f0958fb05
Reviewed-on: https://cl.snix.dev/c/snix/+/30593
Autosubmit: Bence Nemes <nemes.bence1@gmail.com>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
This commit is contained in:
Starnick4444 2025-07-01 08:28:28 +02:00 committed by clbot
parent d829261a09
commit f242bc6df8
27 changed files with 36 additions and 30 deletions

View file

@ -7570,7 +7570,7 @@ rec {
"weave" = rec {
crateName = "weave";
version = "0.1.0";
edition = "2021";
edition = "2024";
crateBin = [
{
name = "swizzle";

View file

@ -1,7 +1,7 @@
[package]
name = "weave"
version = "0.1.0"
edition = "2021"
edition = "2024"
[workspace]
members = ["."]

View file

@ -0,0 +1 @@
edition = "2024"

View file

@ -33,13 +33,13 @@
use anyhow::Result;
use hashbrown::HashTable;
use polars::{
lazy::dsl::{col, SpecialEq},
lazy::dsl::{SpecialEq, col},
prelude::*,
};
use tracing::info_span;
use tracing_indicatif::span_ext::IndicatifSpanExt as _;
use weave::{as_fixed_binary, hash64, leak, load_ph_array, INDEX_NULL};
use weave::{INDEX_NULL, as_fixed_binary, hash64, leak, load_ph_array};
#[tracing::instrument]
fn main() -> Result<()> {

View file

@ -6,7 +6,7 @@
//! the row numbers in `narinfo.parquet` corresponding to live paths.
use anyhow::Result;
use hashbrown::{hash_table, HashTable};
use hashbrown::{HashTable, hash_table};
use rayon::prelude::*;
use rustc_hash::FxHashSet;
use std::{
@ -25,7 +25,7 @@ use polars::{
prelude::*,
};
use weave::{as_fixed_binary, hash64, INDEX_NULL};
use weave::{INDEX_NULL, as_fixed_binary, hash64};
#[tracing::instrument]
fn main() -> Result<()> {