sanitise-file-name 1.0.0

An unusually flexible and efficient file name sanitiser
Documentation
[package]
name = "sanitise-file-name"
description = "An unusually flexible and efficient file name sanitiser"
authors = ["Chris Morgan <rust@chrismorgan.info>"]
license = "BlueOak-1.0.0 OR MIT OR Apache-2.0"
version = "1.0.0"
edition = "2021"
keywords = ["sanitiser", "filename", "sanitizer"]
categories = ["filesystem", "text-processing"]
repository = "https://gitlab.com/chris-morgan/sanitise-file-name"
# The test matrix arrangement produces >800KB of files, uncompressed,
# so I’m excluding them from publish; go to the source repo if you want it all.
exclude = [".gitignore", "tests/"]

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

[features]
default = ["std"]
std = ["alloc"]
alloc = []
const-fn-trait-bound = []

[dev-dependencies]
# Only the tests depend on rustc_1_55.
tinyvec_string = { version = "0.3", features = ["rustc_1_55"] }

[dependencies]
tinyvec_string = { version = "0.3", optional = true }