[package]
edition = "2024"
rust-version = "1.91.0"
name = "ic-backup"
version = "0.1.1"
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 = "local_recovery"
path = "tests/local_recovery.rs"
[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.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"