e30d192b6efe088f69788701135495e917edaa07
[sanitise-file-name] / Cargo.toml
1 [package]
2 name = "sanitise-file-name"
3 description = "An unusually flexible and efficient file name sanitiser"
4 authors = ["Chris Morgan <rust@chrismorgan.info>"]
5 license = "BlueOak-1.0.0 OR MIT OR Apache-2.0"
6 version = "1.0.0"
7 edition = "2021"
8 keywords = ["sanitiser", "filename", "sanitizer"]
9 categories = ["filesystem", "text-processing"]
10 repository = "https://gitlab.com/chris-morgan/sanitise-file-name"
11 # The test matrix arrangement produces >800KB of files, uncompressed,
12 # so I’m excluding them from publish; go to the source repo if you want it all.
13 exclude = [".gitignore", "tests/"]
14
15 [package.metadata.docs.rs]
16 all-features = true
17 rustdoc-args = ["--cfg", "docsrs"]
18
19 [features]
20 default = ["std"]
21 std = ["alloc"]
22 alloc = []
23 const-fn-trait-bound = []
24
25 [dev-dependencies]
26 # Only the tests depend on rustc_1_55.
27 tinyvec_string = { version = "0.3", features = ["rustc_1_55"] }
28
29 [dependencies]
30 tinyvec_string = { version = "0.3", optional = true }