[package]
name = "libremetaverse-openjpeg"
version = "0.0.1"
edition = "2024"
rust-version = "1.97.1"
license = "BSD-3-Clause"
repository = "https://git.rfc1437.de/hugo/MetaCrate"
description = "Safe, bounded OpenJPEG 2.5.4 adapter for MetaCrate"
build = "build.rs"

[build-dependencies]
pkg-config = "0.3"
vcpkg = "0.2"

# cargo-machete cannot associate target-conditional build.rs references with
# build dependencies. Both crates are invoked directly in build.rs.
[package.metadata.cargo-machete]
ignored = ["pkg-config", "vcpkg"]

# Unsafe code is permitted only in this workspace member: it is the reviewed
# native ABI boundary. All callers use its safe, owned Rust API.
[lints.rust]
unsafe_code = "allow"

[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
