[package]
name = "ic-metrics-assert"
version = "0.5.0"
description = "Fluent assertions for metrics"
license = "Apache-2.0"
readme = "README.md"
include = ["src", "Cargo.toml", "CHANGELOG.md", "LICENSE", "README.md"]
repository = "https://github.com/dfinity/ic"
authors.workspace = true
edition.workspace = true
documentation = "https://docs.rs/ic_metrics_assert"

[dependencies]
async-trait = { workspace = true }
candid = { workspace = true }
ic-http-types = { version = "0.1.0", path = "../ic-http-types" }
ic-management-canister-types = { workspace = true, optional = true }
pocket-ic = { version = "13.0.0", path = "../../packages/pocket-ic", optional = true }
regex = "1.11.0"

[features]
pocket_ic = [
    "dep:ic-management-canister-types",
    "dep:pocket-ic",
]
