colmap-rs/Cargo.toml

37 lines
1.2 KiB
TOML

[package]
name = "colmap"
version = "0.1.0"
edition = "2021"
rust-version = "1.74"
description = "A pure-Rust port of COLMAP / PyCOLMAP: Structure-from-Motion and Multi-View Stereo data model, file I/O and geometry."
documentation = "https://git.helodee.fr/sorlinv/colmap-rs"
repository = "https://git.helodee.fr/sorlinv/colmap-rs"
homepage = "https://git.helodee.fr/sorlinv/colmap-rs"
license = "BSD-3-Clause"
readme = "README.md"
keywords = ["colmap", "sfm", "photogrammetry", "3d-reconstruction", "computer-vision"]
categories = ["computer-vision", "science", "mathematics"]
[dependencies]
nalgebra = "0.33"
thiserror = "2"
byteorder = "1.5"
rusqlite = { version = "0.32", features = ["bundled"], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
tempfile = "3"
approx = "0.5"
[features]
default = []
# Read/write the COLMAP SQLite feature database (bundles SQLite, no system dependency).
database = ["dep:rusqlite"]
# Derive (de)serialization for the public data types.
serde = ["dep:serde", "nalgebra/serde-serialize"]
[package.metadata.docs.rs]
# Build docs with every optional feature so the whole API surface is documented.
all-features = true
rustdoc-args = ["--cfg", "docsrs"]