[package]
edition = "2024"
rust-version = "1.88"
name = "lsdetect"
version = "0.4.0"
authors = ["Patrick Zwerschke"]
build = false
exclude = [
"/.github",
"/tests",
"/pyproject.toml",
"/lsdetect.pyi",
"/.editorconfig",
"/.pre-commit-config.yaml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Line segment detector (LSD) in pure Rust, with a fast perspective warp and Python bindings"
documentation = "https://docs.rs/lsdetect"
readme = "README.md"
keywords = [
"lsd",
"line-detection",
"computer-vision",
"image",
"warp",
]
categories = [
"computer-vision",
"multimedia::images",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/p5k369/lsdetect"
[features]
default = []
extension-module = [
"dep:pyo3",
"dep:numpy",
"pyo3/extension-module",
]
[lib]
name = "lsdetect"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.numpy]
version = "0.29.0"
optional = true
[dependencies.pyo3]
version = "0.29.2"
features = ["abi3-py311"]
optional = true
[dependencies.rayon]
version = "1.12.0"
[lints.rust]
missing_docs = "warn"