[package]
name = "wasmtime-cache"
version.workspace = true
authors.workspace = true
description = "Support for automatic module caching with Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
documentation = "https://docs.rs/wasmtime-cache/"
edition.workspace = true
[lints]
workspace = true
[dependencies]
anyhow = { workspace = true, features = ['std'] }
base64 = "0.21.0"
postcard = { workspace = true }
directories-next = "2.0"
log = { workspace = true }
serde = { workspace = true }
serde_derive = { workspace = true }
sha2 = "0.10.2"
toml = { workspace = true }
zstd = { version = "0.13.0", default-features = false }
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
workspace = true
features = [
"Win32_System_Threading",
]
[target.'cfg(not(target_os = "windows"))'.dependencies]
rustix = { workspace = true, features = ["process"] }
[dev-dependencies]
filetime = "0.2.7"
once_cell = { workspace = true }
pretty_env_logger = { workspace = true }
tempfile = "3"