libsane 0.1.0

Scan documents and images from Rust: safe bindings to SANE (Scanner Access Now Easy) for flatbed scanners, document feeders and multifunction printers on Linux, BSD and macOS
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 = "libsane"
version = "0.1.0"
build = false
include = [
    "/src/**",
    "/tests/**",
    "/examples/**",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scan documents and images from Rust: safe bindings to SANE (Scanner Access Now Easy) for flatbed scanners, document feeders and multifunction printers on Linux, BSD and macOS"
documentation = "https://docs.rs/libsane"
readme = "README.md"
keywords = [
    "sane",
    "scanner",
    "scanning",
    "document",
    "image",
]
categories = [
    "api-bindings",
    "hardware-support",
    "multimedia::images",
    "os::unix-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AlixANNERAUD/libsane_rust"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
image = ["dep:image"]

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

[[example]]
name = "scan_to_png"
path = "examples/scan_to_png.rs"
required-features = ["image"]

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

[dependencies.image]
version = "0.25"
optional = true
default-features = false

[dependencies.sane-sys]
version = "0.1.0"

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