# 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" name = "hl7-parser" version = "0.2.0" authors = ["Kenton Hamaluik "] description = "Parses the structure of HL7v2 messages, but does not validate the correctness of the messages." documentation = "https://docs.rs/hl7-parser" readme = "README.md" keywords = [ "hl7", "health", "parse", "parser", ] categories = [ "parser-implementations", "science", ] license = "Apache-2.0" repository = "https://github.com/hamaluik/hl7-parser" [package.metadata.docs.rs] all-features = true [profile.bench] debug = 2 [profile.release] debug = 2 [[bench]] name = "parse" harness = false [[bench]] name = "parse_buf" harness = false [[bench]] name = "decode" harness = false [[bench]] name = "locate" harness = false [[bench]] name = "query" harness = false [[bench]] name = "timestamp" harness = false [dependencies.chrono] version = "0.4" optional = true [dependencies.indexmap] version = "2.1" features = ["serde"] [dependencies.nom] version = "7" [dependencies.nom_locate] version = "4" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" optional = true [dev-dependencies.criterion] version = "0.4" [dev-dependencies.serde] version = "1" [dev-dependencies.serde_json] version = "1" [features] chrono = ["dep:chrono"] default = [] serde = ["dep:serde"] time = ["dep:time"] [lints.rust] unsafe_code = "forbid"