# 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"
name = "fs-core"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ephemeral in-memory filesystem for WebAssembly (no_std compatible)"
readme = false
keywords = [
    "wasm",
    "filesystem",
    "wasi",
    "no-std",
    "in-memory",
]
categories = [
    "wasm",
    "filesystem",
    "no-std",
]
license = "MIT"
repository = "https://github.com/ternbusty/monaka-fs"
resolver = "3"

[features]
default = ["std"]
logging = ["dep:log"]
serde = [
    "dep:serde",
    "dep:serde_bytes",
]
std = []
thread-safe = ["dashmap"]

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

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

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

[dependencies.dashmap]
version = "6"
optional = true

[dependencies.log]
version = "0.4"
optional = true
default-features = false

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

[dependencies.serde_bytes]
version = "0.11"
features = ["alloc"]
optional = true
default-features = false

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