# 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.92.0"
name = "eryx-vfs"
version = "0.4.10"
authors = ["Ben Sully <ben.sully88@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Virtual filesystem implementation for eryx sandbox"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/sd2k/eryx"
resolver = "2"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.cap-fs-ext]
version = "3"

[dependencies.cap-std]
version = "3"

[dependencies.fs-set-times]
version = "0.20"

[dependencies.system-interface]
version = "0.27"
features = ["cap_std_impls"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.wasmtime]
version = "44"
features = [
    "component-model",
    "async",
]

[dependencies.wasmtime-wasi]
version = "44"

[dependencies.wasmtime-wasi-io]
version = "44"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
all = "warn"
expect_used = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
