# 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.88"
name = "hwpforge-smithy-hwpx"
version = "0.7.0"
authors = ["Pignuante <hanyul.ryu@hanyul.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HWPX format codec (encoder + decoder) for HwpForge"
homepage = "https://ai-screams.github.io/HwpForge/"
documentation = "https://docs.rs/hwpforge"
readme = "README.md"
keywords = [
    "hwp",
    "hwpx",
    "hancom",
    "hangul",
    "korean",
]
categories = [
    "parser-implementations",
    "encoding",
    "text-processing",
    "template-engine",
    "internationalization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ai-screams/HwpForge"

[features]
schemars = ["dep:schemars"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.hwpforge-blueprint]
version = "0.7.0"

[dependencies.hwpforge-core]
version = "0.7.0"

[dependencies.hwpforge-foundation]
version = "0.7.0"

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

[dependencies.schemars]
version = "1.2"
features = [
    "preserve_order",
    "indexmap2",
]
optional = true

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

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.pretty_assertions]
version = "1.4"

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