1[package] 2name = "bstr" 3version = "0.2.15" #:version 4authors = ["Andrew Gallant <jamslam@gmail.com>"] 5description = "A string type that is not required to be valid UTF-8." 6documentation = "https://docs.rs/bstr" 7homepage = "https://github.com/BurntSushi/bstr" 8repository = "https://github.com/BurntSushi/bstr" 9readme = "README.md" 10keywords = ["string", "str", "byte", "bytes", "text"] 11license = "MIT OR Apache-2.0" 12categories = ["text-processing", "encoding"] 13exclude = ["/.github"] 14 15[badges] 16travis-ci = { repository = "BurntSushi/bstr" } 17appveyor = { repository = "BurntSushi/bstr" } 18 19[lib] 20bench = false 21 22[features] 23default = ["std", "unicode"] 24std = ["memchr/use_std"] 25unicode = ["lazy_static", "regex-automata"] 26serde1 = ["std", "serde1-nostd", "serde/std"] 27serde1-nostd = ["serde"] 28 29[dependencies] 30memchr = { version = "2.1.2", default-features = false } 31lazy_static = { version = "1.2", optional = true } 32regex-automata = { version = "0.1.5", default-features = false, optional = true } 33serde = { version = "1.0.85", default-features = false, optional = true } 34 35[dev-dependencies] 36quickcheck = { version = "1", default-features = false } 37ucd-parse = "0.1.3" 38unicode-segmentation = "1.2.1" 39 40[profile.release] 41debug = true 42