error_ctx 0.1.0

Minimal context error crate with Temporary/Permanent status and compiler-enforced context on public APIs
Documentation
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test", "rustfmt_test")

rust_library(
    name = "error_ctx",
    srcs = ["src/lib.rs"],
    crate_root = "src/lib.rs",
    visibility = ["//visibility:public"],
)

rust_test(
    name = "test",
    size = "small",
    crate = ":error_ctx",
)

rustfmt_test(
    name = "rustfmt",
    size = "small",
    testonly = True,
    targets = [
        ":error_ctx",
        ":test",
    ],
)