slideforge 0.1.2

Fast whole-slide image (WSI) tile extraction in Rust, with tissue detection, stain normalization, and TFRecord output.
Documentation
# 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"
rust-version = "1.85"
name = "slideforge"
version = "0.1.2"
authors = ["Jonas Waibel <Waibel.Jonas@kabelmail.de>"]
build = false
exclude = [
    "docs/",
    "README.pdf",
    ".github/",
    "cliff.toml",
    "tests/fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast whole-slide image (WSI) tile extraction in Rust, with tissue detection, stain normalization, and TFRecord output."
homepage = "https://github.com/WaibelJonas/slideforge"
documentation = "https://docs.rs/slideforge"
readme = "README.md"
keywords = [
    "wsi",
    "pathology",
    "histology",
    "svs",
    "tiff",
]
categories = [
    "science",
    "multimedia::images",
    "command-line-utilities",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/WaibelJonas/slideforge"

[features]
cli = [
    "dep:clap",
    "dep:env_logger",
]
default = ["cli"]

[lib]
name = "slideforge"
path = "src/lib.rs"

[[bin]]
name = "slideforge"
path = "src/main.rs"
required-features = ["cli"]

[[example]]
name = "bench_extraction"
path = "examples/bench_extraction.rs"

[[example]]
name = "extract_dataset"
path = "examples/extract_dataset.rs"

[[example]]
name = "tile_manifest"
path = "examples/tile_manifest.rs"

[[test]]
name = "metadata"
path = "tests/metadata.rs"

[dependencies.clap]
version = "4.6.6"
features = ["derive"]
optional = true

[dependencies.crc32c]
version = "0.6.8"

[dependencies.env_logger]
version = "0.11.11"
optional = true

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

[dependencies.jpeg-decoder]
version = "0.3.2"

[dependencies.log]
version = "0.4.28"

[dependencies.printpdf]
version = "0.12.5"
features = ["images"]
default-features = false

[dependencies.rayon]
version = "1.12.0"

[dependencies.thiserror]
version = "2.0.19"

[dependencies.tiff]
version = "0.11.3"

[dev-dependencies.tempfile]
version = "3.14"

[profile.release]
lto = true
codegen-units = 1
strip = "symbols"