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:
parent
d829261a09
commit
f242bc6df8
27 changed files with 36 additions and 30 deletions
|
|
@ -2749,7 +2749,7 @@ rec {
|
|||
"narinfo2parquet" = rec {
|
||||
crateName = "narinfo2parquet";
|
||||
version = "0.1.0";
|
||||
edition = "2021";
|
||||
edition = "2024";
|
||||
crateBin = [
|
||||
{
|
||||
name = "narinfo2parquet";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "narinfo2parquet"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
# We can't join the //tvix workspace, because that locks zstd
|
||||
# at an ancient version, which is incompatible with polars
|
||||
|
|
|
|||
1
contrib/narinfo2parquet/rustfmt.toml
Normal file
1
contrib/narinfo2parquet/rustfmt.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
edition = "2024"
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
//! mkdir narinfo.pq && ls narinfo.zst | parallel --bar 'narinfo2parquet {}'
|
||||
//! ```
|
||||
|
||||
use anyhow::{bail, Context, Result};
|
||||
use anyhow::{Context, Result, bail};
|
||||
use jemallocator::Jemalloc;
|
||||
use nix_compat::{
|
||||
narinfo::{self, NarInfo},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue