# 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.75"
name = "mig-assembly"
version = "0.1.26"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MIG-guided EDIFACT tree assembly — parse RawSegments into typed MIG trees"
readme = false
license = "MIT"
repository = "https://github.com/Hochfrequenz/edifact_mapper"

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

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

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

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

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

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

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

[[bench]]
name = "assembly_throughput"
path = "benches/assembly_throughput.rs"
harness = false

[dependencies.edifact-parser]
version = "0.1.26"

[dependencies.edifact-primitives]
version = "0.1.26"

[dependencies.mig-types]
version = "0.1.26"

[dependencies.quick-xml]
version = "0.37"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1"
features = ["json"]

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