dataport 0.1.0

Port abstractions for data types
Documentation
# Copyright © 2026 Stephan Kunz
# Preconditions:
#    rustup component add llvm-tools-preview --toolchain nightly-x86_64-unknown-linux-gnu
#    cargo install cargo-make cargo-fuzz cargo-llvm-cov

[tasks.bench-baseline]
description = "Run benchmarks and save results as the 'main' criterion baseline."
command = "cargo"
args = [
    "bench",
    "--all-features",
    "--bench",
    "dataport",
    "--",
    "--save-baseline",
    "main",
]

[tasks.bench-compare]
description = "Run benchmarks and compare against the 'main' criterion baseline."
command = "cargo"
args = [
    "bench",
    "--all-features",
    "--bench",
    "dataport",
    "--",
    "--baseline",
    "main",
]

[tasks.cov]
toolchain = "nightly"
#install_crate = "cargo-llvm-cov"
command = "cargo"
args = [
    "llvm-cov",
    "test",
    #"--no-clean",
    "--lcov",
    "--output-path",
    "coverage/lcov.info",
    "--all-features",
    "--all-targets",
    "--show-missing-lines",
    "--show-instantiations",
    "--branch",              # currently unstable, superceeded by --mcdc, not usable together
    #"--mcdc",      # currently unstable, does not work
    "--workspace",
    #"--offline",
]

[tasks.cov-html]
toolchain = "nightly"
#install_crate = "cargo-llvm-cov"
command = "cargo"
args = [
    "llvm-cov",
    "test",
    #"--no-clean",
    "--html",
    #"--output-dir",
    #"coverage",
    "--color=always",
    "--all-features",
    "--all-targets",
    "--show-missing-lines",
    "--show-instantiations",
    "--branch",              # currently unstable, superceeded by --mcdc, not usable together
    #"--mcdc",   # currently unstable, does not work
    #"--locked",
    "--workspace",
]