From f16d68ef3df5b5024dc4700be6180b6c3dcd7aae Mon Sep 17 00:00:00 2001 From: David Li Date: Fri, 12 Jun 2026 12:52:08 +0900 Subject: [PATCH] chore(javascript): switch Rust to 2024 edition For consistency with the Rust crate itself. --- javascript/Cargo.toml | 2 +- javascript/src/client.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/Cargo.toml b/javascript/Cargo.toml index becc24a8e9..7bb0e3bd1c 100644 --- a/javascript/Cargo.toml +++ b/javascript/Cargo.toml @@ -16,7 +16,7 @@ # under the License. [package] -edition = "2021" +edition = "2024" name = "adbc_driver_manager_node" version = "0.24.0" license = "Apache-2.0" diff --git a/javascript/src/client.rs b/javascript/src/client.rs index 66c6955684..6324131688 100644 --- a/javascript/src/client.rs +++ b/javascript/src/client.rs @@ -17,15 +17,15 @@ use std::collections::{HashMap, HashSet}; use std::path::PathBuf; -use std::sync::mpsc; use std::sync::Mutex; +use std::sync::mpsc; use adbc_core::{ + Connection, Database, Driver, LOAD_FLAG_DEFAULT, Optionable, Statement, options::{ AdbcVersion, InfoCode, ObjectDepth, OptionConnection, OptionDatabase, OptionStatement, OptionValue, }, - Connection, Database, Driver, Optionable, Statement, LOAD_FLAG_DEFAULT, }; use adbc_driver_manager::{ManagedConnection, ManagedDatabase, ManagedDriver, ManagedStatement}; use arrow_array::RecordBatchReader;