[package]
edition = "2024"
rust-version = "1.85"
name = "lensfun"
version = "0.7.0"
build = "build.rs"
exclude = [
".github/",
"AGENTS.md",
"CONTRIBUTING.md",
"docs/",
"justfile",
"deny.toml",
"clippy.toml",
"rustfmt.toml",
"proptest-regressions/",
"related-repos/",
"scripts/",
"tests/cpp-vs-rust/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust port of LensFun: camera lens correction (distortion, TCA, vignetting) without C dependencies"
homepage = "https://github.com/vdavid/lensfun-rs"
documentation = "https://docs.rs/lensfun"
readme = "README.md"
keywords = [
"lens",
"camera",
"distortion",
"vignetting",
"photography",
]
categories = [
"multimedia::images",
"graphics",
"multimedia",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/vdavid/lensfun-rs"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "lensfun"
path = "src/lib.rs"
[[test]]
name = "bundled_db"
path = "tests/bundled_db.rs"
[[test]]
name = "color"
path = "tests/color.rs"
[[test]]
name = "database"
path = "tests/database.rs"
[[test]]
name = "distortion"
path = "tests/distortion.rs"
[[test]]
name = "geometry"
path = "tests/geometry.rs"
[[test]]
name = "lens"
path = "tests/lens.rs"
[[test]]
name = "lffuzzystrcmp"
path = "tests/lffuzzystrcmp.rs"
[[test]]
name = "matchscore"
path = "tests/matchscore.rs"
[[test]]
name = "modifier"
path = "tests/modifier.rs"
[[test]]
name = "perspective"
path = "tests/perspective.rs"
[[test]]
name = "subpix"
path = "tests/subpix.rs"
[dependencies.flate2]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.roxmltree]
version = "0.20"
[dependencies.thiserror]
version = "2"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.proptest]
version = "1"
[build-dependencies.flate2]
version = "1"