# 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 = "2018"
name = "fs-err"
version = "2.9.0"
authors = ["Andrew Hickman <andrew.hickman1@sky.com>"]
exclude = [
    ".github",
    ".gitignore",
    "README.tpl",
]
description = "A drop-in replacement for std::fs with more helpful error messages."
documentation = "https://docs.rs/fs-err"
readme = "README.md"
categories = [
    "command-line-interface",
    "filesystem",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/andrewhickman/fs-err"

[package.metadata.release]
tag-name = "{{version}}"
sign-tag = true

[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = 'html_root_url = "https://docs\.rs/fs-err/.*?"'
replace = "html_root_url = \"https://docs.rs/fs-err/{{version}}\""
exactly = 1

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.tokio]
version = "1.21"
features = ["fs"]
optional = true
default_features = false

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

[features]
io_safety = []
