openehr 0.6.0

openEHR Reference Model types, validation, paths, AQL parsing, and change-control security primitives
Documentation
# 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 = "openehr"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "openEHR Reference Model types, validation, paths, AQL parsing, and change-control security primitives"
readme = "README.md"
keywords = [
    "openehr",
    "ehr",
    "healthcare",
    "archetype",
    "aql",
]
categories = [
    "data-structures",
    "science",
    "encoding",
]
license = "MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only"
repository = "https://github.com/openehr-rust/openehr-rust"

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

[[example]]
name = "01_build_composition"
path = "examples/01_build_composition.rs"

[[example]]
name = "02_validate_incoming"
path = "examples/02_validate_incoming.rs"

[[example]]
name = "03_paths_and_aql"
path = "examples/03_paths_and_aql.rs"

[[example]]
name = "04_versioning_and_audit"
path = "examples/04_versioning_and_audit.rs"

[[example]]
name = "05_access_and_redaction"
path = "examples/05_access_and_redaction.rs"

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

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

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

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

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

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

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

[dependencies.hmac]
version = "0.12"

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

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "float_roundtrip",
    "arbitrary_precision",
]

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

[dev-dependencies.criterion]
version = "0.8.2"
features = ["cargo_bench_support"]
default-features = false

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

[dev-dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "float_roundtrip",
    "arbitrary_precision",
]

[lints.clippy]
missing_errors_doc = "deny"
missing_panics_doc = "deny"

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

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"