# 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.1"
name = "ome-metadata"
version = "0.3.2"
authors = ["Wim Pomp <w.pomp@nki.nl>"]
build = false
exclude = ["/tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ome metadata as a rust/python structure."
homepage = "https://github.com/wimpomp/ome-metadata"
documentation = "https://docs.rs/ome-metadata"
readme = "README.md"
keywords = [
    "bioformats",
    "imread",
    "ome",
    "metadata",
]
categories = [
    "multimedia::images",
    "science",
]
license = "MIT"
repository = "https://github.com/wimpomp/ome-metadata"

[features]
python = ["dep:pyo3"]

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

[dependencies.enum-utils]
version = "0.1"

[dependencies.pyo3]
version = "0.27"
features = [
    "extension-module",
    "abi3-py310",
    "generate-import-lib",
    "anyhow",
]
optional = true

[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]

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

[dependencies.thiserror]
version = "2"
