[package]
edition = "2024"
rust-version = "1.88.0"
name = "ic-testkit"
version = "0.1.5"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PocketIC-oriented test utilities for IC canister tests"
homepage = "https://github.com/dragginzgame/ic-testkit"
readme = "README.md"
keywords = [
"internet-computer",
"canister",
"dfinity",
"icp",
"testing",
]
categories = [
"development-tools::testing",
"wasm",
]
license = "MIT"
repository = "https://github.com/dragginzgame/ic-testkit"
resolver = "2"
[lib]
name = "ic_testkit"
path = "src/lib.rs"
[[test]]
name = "artifact_helpers"
path = "tests/artifact_helpers.rs"
[[test]]
name = "benchmark"
path = "tests/benchmark.rs"
[[test]]
name = "canister_benchmark"
path = "tests/canister_benchmark.rs"
[dependencies.candid]
version = "0.10"
default-features = false
[dependencies.ic-cdk]
version = "0.20.1"
[dependencies.serde]
version = "1.0"
default-features = false
[dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.flate2]
version = "1.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pocket-ic]
version = "14.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"rustls-tls",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"
[lints.clippy]
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
enum_variant_names = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "warn"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
significant_drop_tightening = "allow"
struct_field_names = "allow"
uninlined_format_args = "warn"
use_self = "warn"
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