hl7v2-cli 1.2.1

Command-line interface for HL7 v2 message manipulation and validation.
# 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 = "hl7v2-cli"
version = "1.2.1"
authors = ["EffortlessMetrics <team@effortlessmetrics.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for HL7 v2 message manipulation and validation."
homepage = "https://github.com/EffortlessMetrics/hl7v2-rs"
readme = "README.md"
keywords = [
    "hl7",
    "healthcare",
    "parser",
    "validator",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/EffortlessMetrics/hl7v2-rs"
resolver = "2"

[[bin]]
name = "hl7v2-cli"
path = "src/main.rs"

[[test]]
name = "bdd_tests"
path = "tests/bdd_tests.rs"
harness = false

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

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "derive",
]

[dependencies.hl7v2]
version = "1.2.1"
features = [
    "profile",
    "ack",
    "normalize",
    "batch",
    "stream",
    "network",
    "synthetic",
]

[dependencies.hl7v2-server]
version = "1.2.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.10.0"
package = "serde_yaml_ng"

[dependencies.sysinfo]
version = "0.38.2"

[dependencies.tokio]
version = "1.50"
features = [
    "full",
    "full",
]

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.cucumber]
version = "0.22"
features = ["macros"]
default-features = false

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.tempfile]
version = "3.19"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arc_with_non_send_sync = "deny"
arithmetic_side_effects = "warn"
assertions_on_result_states = "deny"
await_holding_invalid_type = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
blanket_clippy_restriction_lints = "deny"
cast_abs_to_unsigned = "deny"
cast_enum_truncation = "deny"
cast_nan_to_int = "deny"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "deny"
char_indices_as_byte_indices = "deny"
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
drop_non_drop = "deny"
error_impl_error = "deny"
exit = "deny"
expect_used = "deny"
expl_impl_clone_on_copy = "deny"
fallible_impl_from = "deny"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "deny"
float_cmp_const = "deny"
float_equality_without_abs = "deny"
forget_non_drop = "deny"
format_in_format_args = "deny"
future_not_send = "warn"
get_unwrap = "deny"
ignore_without_reason = "deny"
index_refutable_slice = "deny"
indexing_slicing = "deny"
ineffective_open_options = "deny"
infallible_try_from = "deny"
invalid_upcast_comparisons = "deny"
iter_cloned_collect = "warn"
iter_not_returning_iterator = "deny"
iter_overeager_cloned = "warn"
join_absolute_paths = "deny"
large_futures = "warn"
let_underscore_future = "deny"
let_underscore_lock = "deny"
let_underscore_must_use = "deny"
lines_filter_map_ok = "deny"
lossy_float_literal = "deny"
manual_div_ceil = "warn"
manual_is_multiple_of = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
manual_midpoint = "warn"
manual_ok_or = "warn"
manual_split_once = "warn"
manual_strip = "warn"
map_err_ignore = "deny"
match_result_ok = "deny"
mem_forget = "deny"
missing_errors_doc = "warn"
missing_panics_doc = "deny"
multiple_unsafe_ops_per_block = "deny"
mut_mutex_lock = "deny"
needless_collect = "warn"
nonsensical_open_options = "deny"
out_of_bounds_indexing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
path_buf_push_overwrite = "deny"
rc_mutex = "deny"
read_line_without_trim = "warn"
readonly_write_lock = "deny"
redundant_closure = "warn"
redundant_closure_for_method_calls = "warn"
repr_packed_without_abi = "deny"
result_large_err = "warn"
result_unit_err = "warn"
should_panic_without_expect = "deny"
sliced_string_as_bytes = "deny"
string_slice = "deny"
suspicious_open_options = "deny"
to_string_in_format_args = "deny"
todo = "deny"
unchecked_time_subtraction = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
uninlined_format_args = "warn"
unnecessary_debug_formatting = "warn"
unreachable = "deny"
unused_format_specs = "deny"
unused_result_ok = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"

[lints.rust]
const_item_interior_mutations = "deny"
function_casts_as_integer = "deny"
unexpected_cfgs = "warn"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"