diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3738a96..657a3ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: # glog/log_severity.h(57): fatal error C1189: #error: ERROR macro is defined. Define # GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document for detail. os: [ "ubuntu-latest", "macos-latest" ] - rust_toolchain: [ "1.67", "stable" ] + rust_toolchain: [ "1.87", "stable" ] steps: - uses: actions/checkout@v4 @@ -73,7 +73,7 @@ jobs: matrix: # Help needed for Windows, vcpkg builds it, but I don't know how to make it discoverable os: [ "ubuntu-latest", "macos-latest" ] - rust_toolchain: [ "1.67", "stable" ] + rust_toolchain: [ "1.87", "stable" ] steps: - uses: actions/checkout@v4 diff --git a/Cargo.toml b/Cargo.toml index f4153a1..d0288a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "ceres-solver" -version = "0.4.0" +version = "0.5.0" edition = "2021" readme = "README.md" description = "Safe Rust bindings for the Ceres Solver" repository = "https://github.com/light-curve/ceres-solver-rs" license = "MIT OR Apache-2.0" -rust-version = "1.67.0" +rust-version = "1.87.0" exclude = [".github"] [workspace] @@ -22,7 +22,7 @@ source = ["ceres-solver-sys/source"] default = ["system"] [dependencies.ceres-solver-sys] -version = "0.4.0" +version = "0.5.0" path = "./ceres-solver-sys" [dependencies.thiserror] diff --git a/ceres-solver-sys/Cargo.toml b/ceres-solver-sys/Cargo.toml index 098d018..e07e772 100644 --- a/ceres-solver-sys/Cargo.toml +++ b/ceres-solver-sys/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "ceres-solver-sys" -version = "0.4.2" +version = "0.5.0" edition = "2021" readme = "README.md" description = "Unsafe Rust bindings for the Ceres Solver" repository = "https://github.com/light-curve/ceres-solver-rs" license = "MIT OR Apache-2.0" -rust-version = "1.67.0" +rust-version = "1.87.0" [features] system = ["pkg-config"] @@ -20,12 +20,12 @@ path = "../ceres-solver-src" optional = true [dependencies.cxx] -version = "1,<=1.0.129" # 1.0.130 requires MSRV 1.70 +version = "1,<=1.0.187" features = ["c++17"] [build-dependencies] cmake = "0.1" -cxx-build = "1,<=1.0.129" # 1.0.130 requires MSRV 1.70 +cxx-build = "1,<=1.0.187" pkg-config = { version = "0.3", optional = true } [dev-dependencies]