# 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.91"
name = "rh-cli"
version = "0.2.5"
authors = ["Reason Healthcare <engineering@reason.health>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified CLI for FHIR processing tools"
homepage = "https://github.com/reason-healthcare/rh"
readme = "README.md"
keywords = [
    "fhir",
    "healthcare",
    "cli",
    "hl7",
    "validation",
]
categories = [
    "command-line-utilities",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/reason-healthcare/rh"

[[bin]]
name = "rh"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.glob]
version = "0.3"

[dependencies.is-terminal]
version = "0.4"

[dependencies.rh-codegen]
version = "0.2.5"

[dependencies.rh-cql]
version = "0.2.5"
features = ["repl"]

[dependencies.rh-fhirpath]
version = "0.2.5"
features = ["repl"]

[dependencies.rh-foundation]
version = "0.2.5"
features = ["http"]

[dependencies.rh-fsh]
version = "0.2.5"

[dependencies.rh-hl7-fhir-r4-core]
version = "0.2.5"

[dependencies.rh-packager]
version = "0.2.5"

[dependencies.rh-validator]
version = "0.2.5"

[dependencies.rh-vcl]
version = "0.2.5"
features = ["repl"]

[dependencies.rust_decimal]
version = "1.42"
features = [
    "std",
    "serde",
    "maths",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tracing]
version = "0.1"

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

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

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

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

[target.'cfg(target_env = "musl")'.dependencies.openssl]
version = "0.10"
features = ["vendored"]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
