# 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 = "bnto-encode"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared image format detection and encoding for Bnto engine crates"
homepage = "https://bnto.io"
readme = "README.md"
keywords = [
    "wasm",
    "image",
    "encoding",
    "format",
]
categories = ["multimedia::images"]
license = "MIT"
repository = "https://github.com/Develonaut/bnto"
resolver = "2"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-O",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
    "--enable-sign-ext",
    "--enable-mutable-globals",
    "--enable-reference-types",
    "--enable-multivalue",
]

[lib]
name = "bnto_encode"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.bnto-core]
version = "0.1.3"

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dev-dependencies.wasm-bindgen-test]
version = "0.3"
