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"
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/"]
15 [package.metadata.docs.rs]
17 rustdoc-args = ["--cfg", "docsrs"]
23 const-fn-trait-bound = []
26 # Only the tests depend on rustc_1_55.
27 tinyvec_string = { version
= "0.3", features
= ["rustc_1_55"] }
30 # I explicitly exclude this optional ~peer dependency tinyvec_string from the
31 # semver compatibility guarantee. Given the small and obvious API surface used,
32 # I hope subsequent tinyvec_string releases will be compatible, so that I can
33 # just widen the version specifier, but if not, I will consider it acceptable
34 # to break compatibility in a minor (1.x.0) release, until tinyvec_string 1.
35 tinyvec_string = { version
= "0.3", optional
= true }