switchy_fs 0.3.0

Switchy File-system package
# 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 = "switchy_fs"
version = "0.3.0"
authors = ["Braden Steffaniak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Switchy File-system package"
readme = "README.md"
keywords = ["time"]
categories = [
    "development-tools",
    "filesystem",
]
license = "MPL-2.0"
repository = "https://github.com/MoosicBox/MoosicBox"

[package.metadata]
examples = true

[package.metadata.workspaces]
group = "switchy"

[features]
async = [
    "dep:switchy_async",
    "switchy_async/io",
]
default = [
    "async",
    "simulator",
    "std",
    "sync",
    "tokio",
]
fail-on-warnings = ["switchy_async?/fail-on-warnings"]
simulator = [
    "dep:bytes",
    "switchy_async?/simulator",
    "sync",
]
simulator-real-fs = [
    "dep:scoped-tls",
    "dep:switchy_async",
    "std",
    "switchy_async/rt-multi-thread",
    "tokio",
]
std = [
    "dep:tempfile",
    "sync",
]
sync = ["switchy_async?/sync"]
tokio = [
    "async",
    "dep:tokio",
    "switchy_async?/fs",
    "switchy_async?/tokio",
]

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

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

[dependencies.bytes]
version = "1.11.1"
optional = true

[dependencies.log]
version = "0.4.29"
features = ["release_max_level_trace"]

[dependencies.scoped-tls]
version = "1.0.1"
optional = true

[dependencies.switchy_async]
version = "0.3.0"
features = [
    "io",
    "rt-multi-thread",
    "sync",
]
optional = true
default-features = false

[dependencies.tempfile]
version = "3.27.0"
optional = true

[dependencies.tokio]
version = "1.52.3"
optional = true