7 releases
0.3.0 | Feb 26, 2024 |
---|---|
0.2.2 | Feb 26, 2024 |
0.2.1 | Feb 28, 2023 |
0.1.0 | Jan 19, 2023 |
#125 in #solver
1,113 downloads per month
Used in 2 crates
(via ceres-solver)
2.5MB
41K
SLoC
ceres-solver-sys
Low-level unsafe Rust bindings for Ceres Solver
Currently, we bind C API only using bindgen
.
The minimal tested version of Ceres Solver is 2.0
Cargo feature flags
v2_1
wraps Ceres Solver 2.1 API, which added CUDA supportsystem
(default) links a system copy of the Ceres Solver library. By default, it would be a synamic library, but you can tweak it withpkg-config
source
(optional) overridessystem
and links a static library file built byceres-solver-src
crate, it is also appliesv2_1
feature flag, becauseceres-solver-src
crate builds Ceres Solver 2.2 from source
system
feature requires pkg-config
system dependency, while source
requires ceres-solver-src
build dependencies such as CMake and C++17 compatible compiler.