# 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 = "2021"
name = "masuri"
version = "0.1.2"
authors = ["wonsup"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast barcode decoder for Code128/EAN/UPC - Rust port of zbar with NEON SIMD and rayon parallelism"
homepage = "https://github.com/TeamMilestone/masuri"
readme = "README.md"
keywords = [
    "barcode",
    "code128",
    "ean",
    "upc",
    "zbar",
]
categories = [
    "multimedia::images",
    "encoding",
]
license = "LGPL-2.1-or-later"
repository = "https://github.com/TeamMilestone/masuri"

[features]
android = ["uniffi"]
default = []
python = ["pyo3"]

[lib]
name = "masuri"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "debug"
path = "src/bin/debug.rs"

[[bin]]
name = "masuri"
path = "src/main.rs"

[[bin]]
name = "uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"
required-features = ["android"]

[dependencies.image]
version = "0.25"

[dependencies.pyo3]
version = "0.24"
features = ["extension-module"]
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.uniffi]
version = "0.28"
features = ["cli"]
optional = true

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
