# 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 = "2024"
rust-version = "1.85.0"
name = "ceres-solver"
version = "0.5.1"
build = false
exclude = [".github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for the Ceres Solver"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/light-curve/ceres-solver-rs"

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

[features]
default = ["system"]
source = ["ceres-solver-sys/source"]
system = ["ceres-solver-sys/system"]

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

[dependencies.ceres-solver-sys]
version = "0.5.3"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.rand_chacha]
version = "0.10"

[dev-dependencies.rand_distr]
version = "0.6"
