[package]
edition = "2024"
rust-version = "1.92.0"
name = "canic-core"
version = "0.9.11"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canic — a canister orchestration and management toolkit for the Internet Computer"
homepage = "https://github.com/dragginzgame/canic"
documentation = "https://docs.rs/canic-core"
readme = "README.md"
keywords = [
"internet-computer",
"canister",
"dfinity",
"icp",
"management",
]
categories = ["wasm"]
license = "MIT"
repository = "https://github.com/dragginzgame/canic"
resolver = "2"
[lib]
name = "canic_core"
path = "src/lib.rs"
[[test]]
name = "pic_intent_race"
path = "tests/pic_intent_race.rs"
[[test]]
name = "pic_sharding_bootstrap"
path = "tests/pic_sharding_bootstrap.rs"
[[test]]
name = "trap_guard"
path = "tests/trap_guard.rs"
[[bench]]
name = "serialize"
path = "benches/serialize.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.candid]
version = "0.10"
default-features = false
[dependencies.canic-cdk]
version = "0.9.11"
[dependencies.canic-memory]
version = "0.9.11"
[dependencies.canic-utils]
version = "0.9.11"
[dependencies.ctor]
version = "0.6"
[dependencies.derive_more]
version = "2.0"
features = ["full"]
default-features = false
[dependencies.ic-canister-sig-creation]
version = "1.3.1"
[dependencies.ic-signature-verification]
version = "0.2"
[dependencies.num-traits]
version = "0.2"
[dependencies.remain]
version = "0.2"
[dependencies.serde]
version = "1.0"
default-features = false
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.9"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.pocket-ic]
version = "11.0"
[build-dependencies.candid]
version = "0.10"
default-features = false
[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