chore: use rust edition 2024

This commit is contained in:
2026-02-15 19:35:59 +01:00
parent eb7b09d137
commit 0779ad0367
12 changed files with 20 additions and 20 deletions

View File

@@ -2,7 +2,7 @@
name = "crdt-enc-xchacha20poly1305"
version = "0.1.0"
authors = ["Thomas Heck <t@b128.net>"]
edition = "2021"
edition = "2024"
[dependencies]
crdts = "7"

View File

@@ -1,9 +1,9 @@
use ::agnostik::spawn_blocking;
use ::anyhow::{Context, Error, Result};
use ::async_trait::async_trait;
use ::chacha20poly1305::{aead::Aead, Key, KeyInit, XChaCha20Poly1305, XNonce};
use ::chacha20poly1305::{Key, KeyInit, XChaCha20Poly1305, XNonce, aead::Aead};
use ::crdt_enc::utils::{VersionBytes, VersionBytesRef};
use ::rand::{thread_rng, RngCore};
use ::rand::{RngCore, thread_rng};
use ::serde::{Deserialize, Serialize};
use ::std::{borrow::Cow, fmt::Debug};
use ::uuid::Uuid;