[package]
edition = "2024"
rust-version = "1.91.0"
name = "ic-backup"
version = "0.1.5"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host-side snapshot backup and same-release recovery for Internet Computer canisters"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dragginzgame/ic-backup"
[lib]
name = "ic_backup"
path = "src/lib.rs"
[[test]]
name = "attempt_recovery"
path = "tests/attempt_recovery.rs"
[[test]]
name = "effect_order"
path = "tests/effect_order.rs"
[[test]]
name = "execution_progress"
path = "tests/execution_progress.rs"
[[test]]
name = "inventory_selection"
path = "tests/inventory_selection.rs"
[[test]]
name = "local_recovery"
path = "tests/local_recovery.rs"
[[test]]
name = "operation_plan"
path = "tests/operation_plan.rs"
[dependencies.ic_principal]
version = "=0.1.5"
features = ["convert"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2.0"
[target."cfg(unix)".dependencies.command-fds]
version = "=0.3.3"
[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = ["fs"]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unfulfilled_lint_expectations = "deny"
unsafe_code = "forbid"