# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85.0"
name = "ceres-solver-sys"
version = "0.5.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unsafe Rust bindings for the Ceres Solver"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/light-curve/ceres-solver-rs"
resolver = "3"

[package.metadata.docs.rs]
features = ["source"]

[features]
default = ["system"]
source = ["ceres-solver-src"]
system = ["pkg-config"]

[lib]
name = "ceres_solver_sys"
path = "src/lib.rs"

[dependencies.ceres-solver-src]
version = "0.5.1"
optional = true

[dependencies.cxx]
version = "1"
features = ["c++17"]

[dev-dependencies.approx]
version = "0.5"

[build-dependencies.cxx-build]
version = "1"

[build-dependencies.pkg-config]
version = "0.3"
optional = true

[build-dependencies.vcpkg]
version = "0.2"
