diff --git a/Cargo.toml b/Cargo.toml index 60c7840..d0288a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ceres-solver" version = "0.5.0" -edition = "2024" +edition = "2021" readme = "README.md" description = "Safe Rust bindings for the Ceres Solver" repository = "https://github.com/light-curve/ceres-solver-rs" diff --git a/ceres-solver-sys/Cargo.toml b/ceres-solver-sys/Cargo.toml index 2f0b09e..e07e772 100644 --- a/ceres-solver-sys/Cargo.toml +++ b/ceres-solver-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ceres-solver-sys" version = "0.5.0" -edition = "2024" +edition = "2021" readme = "README.md" description = "Unsafe Rust bindings for the Ceres Solver" repository = "https://github.com/light-curve/ceres-solver-rs" diff --git a/src/solver.rs b/src/solver.rs index 13f253f..061ce4e 100644 --- a/src/solver.rs +++ b/src/solver.rs @@ -3,7 +3,7 @@ use crate::error::SolverOptionsBuildingError; use crate::residual_block::ResidualBlockId; -use ceres_solver_sys::cxx::{UniquePtr, let_cxx_string}; +use ceres_solver_sys::cxx::{let_cxx_string, UniquePtr}; use ceres_solver_sys::ffi; pub use ceres_solver_sys::ffi::{ DenseLinearAlgebraLibraryType, DoglegType, DumpFormatType, LineSearchDirectionType,