gear-wasmtime-cache 2.0.0

Wasmtime executor's in-memory module cache used by Gear nodes
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.91"
name = "gear-wasmtime-cache"
version = "2.0.0"
authors = ["Gear Technologies"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wasmtime executor's in-memory module cache used by Gear nodes"
homepage = "https://gear-tech.io"
documentation = "https://docs.rs/gear-wasmtime-cache"
readme = false
license = "GPL-3.0"
repository = "https://github.com/gear-tech/gear"

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

[[bench]]
name = "lru_cache"
path = "benches/lru_cache.rs"
harness = false

[dependencies.gear-core]
version = "=2.0.0"
default-features = false

[dependencies.gear-workspace-hack]
version = "0.1.0"

[dependencies.lru]
version = "0.16.1"

[dependencies.tracing]
version = "0.1.40"
default-features = false

[dependencies.wasmtime]
version = "44.0.1"
features = ["winch"]

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7.2"

[target."cfg(not(loom))".dev-dependencies.criterion]
version = "0.8.2"

[target."cfg(not(loom))".dev-dependencies.tempfile]
version = "3.19"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(fuzz)",
    "cfg(loom)",
    "cfg(substrate_runtime)",
]