[package]
edition = "2024"
rust-version = "1.91.0"
name = "ic-testkit-native"
version = "0.66.0"
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.6.2"
optional = true
default-features = false
[lints.clippy]
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
enum_variant_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
significant_drop_tightening = "allow"
struct_field_names = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1