# 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.91.0"
name = "ic-memory"
version = "0.39.10"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistent allocation-governance infrastructure for Internet Computer stable memory"
homepage = "https://github.com/dragginzgame/canic"
documentation = "https://docs.rs/ic-memory"
readme = "README.md"
keywords = [
    "internet-computer",
    "canister",
    "dfinity",
    "icp",
    "management",
]
categories = ["wasm"]
license = "MIT"
repository = "https://github.com/dragginzgame/canic"
resolver = "2"

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

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

[dependencies.thiserror]
version = "2.0"

[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
