[package]
edition = "2024"
rust-version = "1.91.0"
name = "ic-testkit-native"
version = "0.69.5"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native allocation measurement and optional memory IO observations for tests"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dragginzgame/ic-tooling"
[features]
stable-memory = [
"dep:ic-platform",
"ic-platform/stable-structures",
]
[lib]
name = "ic_testkit_native"
path = "src/lib.rs"
[[test]]
name = "measurement"
path = "tests/measurement.rs"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ic-platform]
version = "0.7.1"
optional = true
default-features = false
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"