rusto-rs 0.2.1

RustO! - Pure Rust OCR library based on RapidOCR with PaddleOCR engine
# 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 = "rusto-rs"
version = "0.2.1"
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE*",
    "/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RustO! - Pure Rust OCR library based on RapidOCR with PaddleOCR engine"
readme = "README.md"
keywords = [
    "ocr",
    "paddle",
    "mnn",
    "computer-vision",
    "text-recognition",
]
categories = [
    "computer-vision",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/byrizki/rusto-rs"

[features]
build-from-source = ["mnn/build-from-source"]
coreml = ["mnn/coreml"]
cuda = ["mnn/cuda"]
default = []
ffi = ["dep:jni"]
hiai = ["mnn/hiai"]
metal = ["mnn/metal"]
nnapi = ["mnn/nnapi"]
opencl = ["mnn/opencl"]
qnn = ["mnn/qnn"]
use-opencv = ["opencv"]
vulkan = ["mnn/vulkan"]

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

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.geo-clipper]
version = "0.9"

[dependencies.geo-types]
version = "0.7"

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

[dependencies.jni]
version = "0.21"
optional = true

[dependencies.mnn]
version = "0.2.1"
package = "rusto-mnn"

[dependencies.nalgebra]
version = "0.33"

[dependencies.ndarray]
version = "0.16"
features = ["rayon"]

[dependencies.opencv]
version = "0.97.2"
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

[profile.dev]
opt-level = 1
debug = 2
incremental = true

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true

[profile.release-with-debug]
debug = 2
inherits = "release"
strip = false

[profile.test]
opt-level = 1
debug = 2
incremental = true