blob: cbb62838fe6828f39ca3b2c8e812130980e59be1 [file] [log] [blame]
Jakub Koturdd59cf92020-12-21 17:28:14 +01001[package]
2name = "bstr"
Joel Galenson6b1d0012021-09-22 10:51:18 -07003version = "0.2.17" #:version
Jakub Koturdd59cf92020-12-21 17:28:14 +01004authors = ["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"]
Joel Galenson906f1452021-05-19 14:29:24 -070014edition = "2018"
Jakub Koturdd59cf92020-12-21 17:28:14 +010015
Joel Galenson906f1452021-05-19 14:29:24 -070016[workspace]
17members = ["bench"]
Jakub Koturdd59cf92020-12-21 17:28:14 +010018
19[lib]
20bench = false
21
22[features]
23default = ["std", "unicode"]
Joel Galenson906f1452021-05-19 14:29:24 -070024std = ["memchr/std"]
Jakub Koturdd59cf92020-12-21 17:28:14 +010025unicode = ["lazy_static", "regex-automata"]
26serde1 = ["std", "serde1-nostd", "serde/std"]
27serde1-nostd = ["serde"]
28
29[dependencies]
Joel Galenson906f1452021-05-19 14:29:24 -070030memchr = { version = "2.4.0", default-features = false }
31lazy_static = { version = "1.2.0", optional = true }
Jakub Koturdd59cf92020-12-21 17:28:14 +010032regex-automata = { version = "0.1.5", default-features = false, optional = true }
33serde = { version = "1.0.85", default-features = false, optional = true }
34
35[dev-dependencies]
Joel Galensonbd985812021-04-01 15:14:48 -070036quickcheck = { version = "1", default-features = false }
Jakub Koturdd59cf92020-12-21 17:28:14 +010037ucd-parse = "0.1.3"
38unicode-segmentation = "1.2.1"
39
40[profile.release]
41debug = true