This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 183f7daae chore(javascript): switch Rust to 2024 edition (#4390)
183f7daae is described below

commit 183f7daae945b231c2acb4a0881fc84423426e05
Author: David Li <[email protected]>
AuthorDate: Sun Jun 14 15:20:07 2026 -0700

    chore(javascript): switch Rust to 2024 edition (#4390)
    
    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 becc24a8e..7bb0e3bd1 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 66c695568..632413168 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;

Reply via email to