-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
43 lines (36 loc) · 1.31 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "fs-err"
description = "A drop-in replacement for std::fs with more helpful error messages."
version = "3.0.0"
authors = ["Andrew Hickman <andrew.hickman1@sky.com>"]
edition = "2018"
repository = "https://github.com/andrewhickman/fs-err"
documentation = "https://docs.rs/fs-err"
categories = ["command-line-interface", "filesystem"]
license = "MIT/Apache-2.0"
readme = "README.md"
exclude = [".github", ".gitignore", "README.tpl"]
[dependencies]
tokio = { version = "1.21", optional = true, default-features = false, features = ["fs"] }
[build-dependencies]
autocfg = "1"
[dev-dependencies]
serde_json = "1.0.64"
[features]
# Allow custom formatting of the error source
#
# When enabled errors emit `std::error::Error::source()` as Some (default is `None`) and
# no longer include the original `std::io::Error` source in the `Display` implementation.
# This is useful if errors are wrapped in another library such as Anyhow.
expose_original_error = []
[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"]