[package]
edition = "2024"
rust-version = "1.85"
name = "hotcoco"
version = "0.5.0"
authors = ["Derek Allman <derek.allman@yahoo.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of pycocotools — COCO dataset API for object detection, segmentation, and keypoint evaluation"
homepage = "https://derekallman.github.io/hotcoco/"
readme = "README.md"
keywords = [
"coco",
"object-detection",
"evaluation",
"computer-vision",
"segmentation",
]
categories = [
"computer-vision",
"science",
]
license = "MIT"
repository = "https://github.com/derekallman/hotcoco"
[lib]
name = "hotcoco"
path = "src/lib.rs"
[[example]]
name = "basic_eval"
path = "examples/basic_eval.rs"
[[example]]
name = "custom_params"
path = "examples/custom_params.rs"
[[test]]
name = "architecture"
path = "tests/architecture.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.quick-xml]
version = "0.41"
[dependencies.rand]
version = "0.9"
[dependencies.rayon]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
float_cmp = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"