[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