colmap 0.1.2

A comprehensive Rust library for COLMAP-style computer vision and 3D reconstruction
Documentation
[package]
name = "colmap"
version = "0.1.2"
edition = "2024"
description = "A comprehensive Rust library for COLMAP-style computer vision and 3D reconstruction"
license = "MIT"
authors = ["Amos Ryan <self@zhichao.ren>"]
documentation = "https://docs.rs/colmap"
homepage = "https://atomgit.com/amosryan/colmap"
repository = "https://atomgit.com/amosryan/colmap"
readme = "README.md"
keywords = ["computer-vision", "3d-reconstruction", "sfm", "mvs", "colmap"]
categories = ["computer-vision", "science", "algorithms", "graphics"]
rust-version = "1.89"
exclude = [
    # AI 和 IDE 配置
    ".trae/",
    ".vscode/",
    ".idea/",
    "*.swp",
    "*.swo",
    "*~",
    
    # 构建和缓存目录
    "target/",
    "Cargo.lock",
    
    # 文档和临时文件
    "documents/",
    "*.tmp",
    "*.log",
    "*.bak",
    "*.backup",
    
    # 测试和开发相关
    "test_output/",
    "test_data/",
    "coverage/",
    "tarpaulin-report.html",
    
    # 性能分析文件
    "*.prof",
    "perf.data*",
    
    # 操作系统文件
    ".DS_Store",
    "Thumbs.db",
    "ehthumbs.db",
    
    # 发布相关
    "*.crate",
    
    # Git 相关
    ".git/",
    ".gitignore",
    
    # 开发计划和草稿
    "development_plan.md",
    "TODO.md",
    "NOTES.md",
    "draft/",
    "scratch/",
]

[dependencies]
# 线性代数和数值计算
nalgebra = { version = "0.34.0", features = ["serde-serialize"] }
nalgebra-sparse = "0.11.0"

# 图像处理
image = { version = "0.25.6", features = ["jpeg", "png", "tiff"] }
imageproc = "0.25.0"

# 计算机视觉算法
# opencv = { version = "0.95.1", features = [] }

# 并行计算
rayon = "1.7"
num_cpus = "1.16"

# 随机数生成
rand = "0.9.2"

# 时间处理
chrono = { version = "0.4", features = ["serde"] }

# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# 错误处理
thiserror = "2.0.16"
anyhow = "1.0"

# 日志
log = "0.4"
env_logger = "0.11.8"

# 数学优化
argmin = "0.10.0"
argmin-math = "0.4.0"

[dev-dependencies]
# 测试框架
criterion = { version = "0.7.0", features = ["html_reports"] }
proptest = "1.0"
rstest = "0.26.1"
tokio-test = "0.4"

# 临时文件
tempfile = "3.21.0"

# 测试数据
test-case = "3.0"

[[bench]]
name = "reconstruction_benchmark"
harness = false

# 发布配置
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

# 发布前检查
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"

# 开发配置优化
[profile.dev]
opt-level = 0
debug = true
overflow-checks = true