# 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" rust-version = "1.81.0" name = "openslide-rs" version = "2.3.0" authors = ["AzHicham "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings of OpenSlide C library" homepage = "https://github.com/AzHicham/openslide-rs" readme = "README.md" keywords = [ "openslide", "histopathology", "microscopy", ] categories = ["science"] license = "MIT/Apache-2.0" repository = "https://github.com/AzHicham/openslide-rs" [lib] name = "openslide_rs" path = "src/lib.rs" [[test]] name = "deepzoom" path = "tests/deepzoom.rs" [[test]] name = "openslide" path = "tests/openslide.rs" [[test]] name = "properties" path = "tests/properties.rs" [[bench]] name = "bench_read" path = "benches/bench_read.rs" harness = false [dependencies.fast_image_resize] version = "5" features = ["image"] optional = true [dependencies.image] version = "0.25" optional = true default-features = false [dependencies.lazy_static] version = "1" [dependencies.libc] version = "0.2" [dependencies.openslide-sys] version = "1" [dependencies.regex] version = "1" [dependencies.thiserror] version = "2" [dev-dependencies.assert_approx_eq] version = "1" [dev-dependencies.bencher] version = "0.1" [dev-dependencies.rstest] version = "0.23" [dev-dependencies.version-compare] version = "0.2" [features] deepzoom = ["image"] default = ["deepzoom"] image = [ "dep:image", "dep:fast_image_resize", ] openslide4 = []