ofd-core 0.2.0

OFD (Open Fixed-layout Document, GB/T 33190-2016) parsing, validation and rendering library
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.93"
name = "ofd-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OFD (Open Fixed-layout Document, GB/T 33190-2016) parsing, validation and rendering library"
homepage = "https://github.com/ofd-utility/ofd-utility"
documentation = "https://docs.rs/ofd-core"
readme = "README.md"
keywords = [
    "ofd",
    "document",
    "parser",
    "render",
    "gbt33190",
]
categories = [
    "parser-implementations",
    "rendering",
    "encoding",
]
license = "MIT"
repository = "https://github.com/ofd-utility/ofd-utility"

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

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

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

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

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

[dependencies.fontdb]
version = "0.23"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "bmp",
    "tiff",
    "gif",
    "webp",
]
default-features = false

[dependencies.quick-xml]
version = "0.36"
features = [
    "serialize",
    "overlapped-lists",
]

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

[dependencies.thiserror]
version = "2"

[dependencies.tiny-skia]
version = "0.11"

[dependencies.ttf-parser]
version = "0.25"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

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

[dev-dependencies.serde_json]
version = "1"