[package]
edition = "2024"
rust-version = "1.90"
name = "mynd"
version = "0.2.1"
build = false
include = [
"Cargo.toml",
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
"src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security-first, resource-bounded no_std image codecs and processing."
homepage = "https://github.com/valkyoth/mynd"
documentation = "https://docs.rs/mynd"
readme = "README.md"
keywords = [
"image",
"codec",
"no-std",
"graphics",
]
categories = [
"multimedia::images",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valkyoth/mynd"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = ["mynd-core/alloc"]
default = []
std = [
"alloc",
"mynd-core/std",
]
[lib]
name = "mynd"
path = "src/lib.rs"
[dependencies.mynd-core]
version = "=0.1.0"
default-features = false
[lints.clippy]
arithmetic_side_effects = "forbid"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
expect_used = "forbid"
indexing_slicing = "forbid"
panic = "forbid"
undocumented_unsafe_blocks = "forbid"
unwrap_used = "forbid"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "forbid"
unused_must_use = "deny"