# 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.95"
name = "hl7-2"
version = "0.2.7"
authors = ["Joel Parker Henderson <joel@joelparkerhenderson.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HL7® v2 (releases 2.1-2.9) for Rust: parse, navigate, validate, modify, and render Health Level Seven (HL7) version 2 messages, in three modes: generic, schema-based, and struct-based. Published as `hl7-2` (the name `hl7-v2` belongs to an unrelated crate); most users get it through the `hl7` umbrella crate instead, as `hl7::v2`. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work."
readme = "README.md"
keywords = [
"hl7",
"healthcare",
"er7",
"v2",
"parser",
]
categories = [
"parser-implementations",
"command-line-utilities",
]
license = "MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only"
repository = "https://github.com/hl7-rust/hl7-rust"
[features]
default = []
derive = ["dep:hl7-2-derive"]
[lib]
name = "hl7_2"
path = "src/lib.rs"
[[bin]]
name = "hl7-v2"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "scratch_nhs"
path = "tests/scratch_nhs.rs"
[[test]]
name = "spec"
path = "tests/spec.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[dependencies.er7]
version = "0.1.0"
[dependencies.hl7-2-derive]
version = "0.1.3"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false