ic-storage 0.65.1

Governed stable allocation and collections for Internet Computer applications
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.99.1"
name = "ic-storage"
version = "0.65.1"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Governed stable allocation and collections for Internet Computer applications"
homepage = "https://github.com/dragginzgame/ic-storage"
documentation = "https://docs.rs/ic-storage"
readme = "README.md"
keywords = [
    "stable-memory",
    "storage",
    "collections",
    "canister",
    "icp",
]
categories = [
    "wasm",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/dragginzgame/ic-storage"

[features]
test-support = []

[lib]
name = "ic_storage"
path = "src/lib.rs"

[[example]]
name = "allocation_measurements"
path = "examples/allocation_measurements.rs"

[[example]]
name = "composed_host"
path = "examples/composed_host.rs"
test = true

[[example]]
name = "key_only"
path = "examples/key_only.rs"

[[example]]
name = "recovered_admission"
path = "examples/recovered_admission.rs"

[[example]]
name = "repo-tool"
path = "examples/repo-tool.rs"
test = true

[[example]]
name = "wasm-admission-size-probe"
crate-type = ["cdylib"]
path = "examples/wasm_admission_size_probe.rs"

[[example]]
name = "wasm-core-size-probe"
crate-type = ["cdylib"]
path = "examples/wasm_core_size_probe.rs"

[[example]]
name = "wasm-diagnostics-size-probe"
crate-type = ["cdylib"]
path = "examples/wasm_diagnostics_size_probe.rs"

[[example]]
name = "wasm-io-qualification"
crate-type = ["cdylib"]
path = "examples/wasm_io_qualification.rs"

[[example]]
name = "wasm-runtime-integration-size-probe"
crate-type = ["cdylib"]
path = "examples/wasm_runtime_integration_size_probe.rs"

[[example]]
name = "wasm-storage-qualification"
crate-type = ["cdylib"]
path = "examples/wasm_storage_qualification.rs"

[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"

[[test]]
name = "runtime"
path = "tests/runtime.rs"

[dependencies.ic-wire]
version = "0.15.0"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "alloc",
    "derive",
]
default-features = false

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.toml]
version = "1.1.6"

[dev-dependencies.trybuild]
version = "1.0.121"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.clap]
version = "4.6"
features = [
    "derive",
    "std",
    "help",
    "usage",
    "error-context",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ic-build]
version = "0.74.0"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ic-host-artifacts]
version = "0.74.1"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ic-host-fs]
version = "0.74.1"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ic-host-process]
version = "0.74.1"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.ic-platform-runtime]
version = "0.18.0"
features = [
    "ic0",
    "runtime",
]
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 = "warn"
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