locus-core 0.4.0

A high-performance fiducial marker detector for robotics.
Documentation
# 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"
name = "locus-core"
version = "0.4.0"
build = "build.rs"
include = [
    "src/**/*",
    "build.rs",
    "data/dictionaries/**/*",
    "profiles/**/*.json",
    "templates/**/*",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance fiducial marker detector for robotics."
readme = "README.md"
license = "MIT OR Apache-2.0"
resolver = "2"

[features]
bench-internals = [
    "dep:rand",
    "dep:rand_distr",
]
default = ["profiles"]
extended-bench = []
extended-tests = []
non_rectified = []
profiles = [
    "serde",
    "dep:serde_json",
]
serde = [
    "dep:serde",
    "nalgebra/serde-serialize",
]
tracy = ["dep:tracing-tracy"]
viz = ["dep:rerun"]

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

[dependencies.bumpalo]
version = "3.20"
features = ["collections"]

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.multiversion]
version = "0.8"

[dependencies.nalgebra]
version = "0.34"
features = ["std"]
default-features = false

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rand_distr]
version = "0.6"
optional = true

[dependencies.rayon]
version = "1.11"

[dependencies.rerun]
version = "0.20"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"
features = ["release_max_level_info"]

[dependencies.tracing-tracy]
version = "0.11"
optional = true

[dev-dependencies.csv]
version = "1.3"

[dev-dependencies.divan]
version = "0.1"

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.insta]
version = "1.47"
features = [
    "yaml",
    "redactions",
]

[dev-dependencies.libm]
version = "0.2"

[dev-dependencies.proptest]
version = "1.11"

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

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

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

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tracing-appender]
version = "0.2"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[dev-dependencies.walkdir]
version = "2.5.0"

[build-dependencies.askama]
version = "0.15"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde_json]
version = "1.0"

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
doc_markdown = "allow"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(multiversion_simd)",
    "cfg(simd)",
    'cfg(target_feature, values("avx2", "bmi1", "bmi2", "popcnt", "lzcnt", "avx512f", "avx512bw", "avx512dq", "avx512vl", "neon", "retpoline", "retpoline-indirect-branches", "retpoline-indirect-calls"))',
]