[package]
edition = "2024"
rust-version = "1.91.0"
name = "ic-backup"
version = "0.4.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 = "attempt_recovery"
path = "tests/attempt_recovery.rs"
[[test]]
name = "consistency"
path = "tests/consistency.rs"
[[test]]
name = "control_authority"
path = "tests/control_authority.rs"
[[test]]
name = "download_integrity"
path = "tests/download_integrity.rs"
[[test]]
name = "effect_order"
path = "tests/effect_order.rs"
[[test]]
name = "execution_progress"
path = "tests/execution_progress.rs"
[[test]]
name = "execution_settlement"
path = "tests/execution_settlement.rs"
[[test]]
name = "fence_acquisition"
path = "tests/fence_acquisition.rs"
[[test]]
name = "fence_obligation"
path = "tests/fence_obligation.rs"
[[test]]
name = "fence_reconciliation"
path = "tests/fence_reconciliation.rs"
[[test]]
name = "ic_lifecycle_reply"
path = "tests/ic_lifecycle_reply.rs"
[[test]]
name = "ic_mutation"
path = "tests/ic_mutation.rs"
[[test]]
name = "ic_observation"
path = "tests/ic_observation.rs"
[[test]]
name = "ic_request"
path = "tests/ic_request.rs"
[[test]]
name = "ic_snapshot_artifact"
path = "tests/ic_snapshot_artifact.rs"
[[test]]
name = "ic_snapshot_data"
path = "tests/ic_snapshot_data.rs"
[[test]]
name = "ic_snapshot_metadata"
path = "tests/ic_snapshot_metadata.rs"
[[test]]
name = "ic_snapshot_reply"
path = "tests/ic_snapshot_reply.rs"
[[test]]
name = "ic_snapshot_upload"
path = "tests/ic_snapshot_upload.rs"
[[test]]
name = "inventory_selection"
path = "tests/inventory_selection.rs"
[[test]]
name = "local_recovery"
path = "tests/local_recovery.rs"
[[test]]
name = "local_restore_source"
path = "tests/local_restore_source.rs"
[[test]]
name = "membership"
path = "tests/membership.rs"
[[test]]
name = "operation_plan"
path = "tests/operation_plan.rs"
[[test]]
name = "restore_safety"
path = "tests/restore_safety.rs"
[[test]]
name = "snapshot_inventory_delta"
path = "tests/snapshot_inventory_delta.rs"
[[test]]
name = "snapshot_read"
path = "tests/snapshot_read.rs"
[dependencies.candid]
version = "0.10"
[dependencies.ic-host-tools]
version = "0.2"
[dependencies.ic-management-canister-types]
version = "=0.11.0"
[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.ic-metrics]
version = "0.2"
default-features = false
[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"