Download Cargo.toml from Reza2kn/Bina-0.4-Microscopy-Rust: direct link, hf CLI and curl.
- Browser
- Download file 983 Bytes
-
https://huggingface.co/Reza2kn/Bina-0.4-Microscopy-Rust/resolve/main/Cargo.toml
- Command line
-
hf download hf://Reza2kn/Bina-0.4-Microscopy-Rust/Cargo.toml
-
curl -L -o Cargo.toml https://huggingface.co/Reza2kn/Bina-0.4-Microscopy-Rust/resolve/main/Cargo.toml
983 Bytes
| [package] | |
| name = "bina_microscopy" | |
| version = "0.2.0" | |
| edition = "2021" | |
| description = "Bina 0.4 Microscopy: Persian page OCR (9.55M parameters)" | |
| license = "CC-BY-NC-4.0" | |
| [features] | |
| default = ["ort"] | |
| # ONNX Runtime engine: fastest on CPUs, supports the INT8 reader. Downloads a prebuilt ONNX Runtime at build time. | |
| ort = ["dep:ort"] | |
| # tract engine: pure Rust, no C++ dependency (cross-compiles anywhere, including WebAssembly); slower. | |
| tract = ["dep:tract-onnx", "dep:tract-linalg"] | |
| [dependencies] | |
| anyhow = "1" | |
| image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp", "tiff"] } | |
| serde_json = "1" | |
| ort = { version = "=2.0.0-rc.15", optional = true, default-features = false, features = ["std", "download-binaries", "tls-rustls", "copy-dylibs", "api-23"] } | |
| tract-onnx = { version = "0.23", optional = true } | |
| tract-linalg = { version = "0.23", features = ["multithread-mm"], optional = true } | |
| [profile.release] | |
| opt-level = 3 | |
| lto = "thin" | |
| codegen-units = 1 | |