# 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 = "2021"
name = "ifs"
version = "0.1.38"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "util for write / read file"
homepage = "https://github.com/i18n-site/rust/tree/main/ifs"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/i18n-site/rust.git"

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

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

[dependencies.aok]
version = "0.1.12"

[dependencies.blake3]
version = "1.5.3"
features = ["traits-preview"]
optional = true

[dependencies.digest]
version = "0.10.7"

[dependencies.dirs]
version = "5.0.1"
optional = true

[dependencies.intbin]
version = "0.1.2"
optional = true

[dependencies.lzma-rs]
version = "0.3.0"
optional = true

[dependencies.pipe]
version = "0.4.0"

[dependencies.prost]
version = "0.13.1"
optional = true

[dependencies.static_init]
version = "1.0.3"
optional = true

[dependencies.tar]
version = "0.4.41"
optional = true

[dependencies.tokio]
version = "1.38.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "fs",
    "io-util",
]

[dependencies.tracing]
version = "0.1.40"

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dependencies.xerr]
version = "0.1.14"

[dev-dependencies.aok]
version = "0.1.12"

[dev-dependencies.loginit]
version = "0.1.13"

[dev-dependencies.tokio]
version = "1.38.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "sync",
]

[features]
b3 = ["dep:blake3"]
b3_len = [
    "hash",
    "dep:intbin",
    "b3",
]
conf = [
    "dir",
    "dep:prost",
]
confdir = ["dep:dirs"]
cp = []
default = [
    "hash",
    "fs",
    "txz_hash_d",
    "conf",
    "rsync",
    "b3_len",
    "confdir",
    "is_hidden",
]
dir = [
    "dep:dirs",
    "dep:static_init",
]
fs = []
hash = ["dep:blake3"]
is_hidden = ["dep:walkdir"]
ln = []
rsync = ["dep:walkdir"]
txz_hash_d = [
    "dep:lzma-rs",
    "dep:tar",
    "hash",
]
unix_path = []
