Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 1 | [package] |
| 2 | name = "bstr" |
Joel Galenson | 6b1d001 | 2021-09-22 10:51:18 -0700 | [diff] [blame] | 3 | version = "0.2.17" #:version |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 4 | authors = ["Andrew Gallant <jamslam@gmail.com>"] |
| 5 | description = "A string type that is not required to be valid UTF-8." |
| 6 | documentation = "https://docs.rs/bstr" |
| 7 | homepage = "https://github.com/BurntSushi/bstr" |
| 8 | repository = "https://github.com/BurntSushi/bstr" |
| 9 | readme = "README.md" |
| 10 | keywords = ["string", "str", "byte", "bytes", "text"] |
| 11 | license = "MIT OR Apache-2.0" |
| 12 | categories = ["text-processing", "encoding"] |
| 13 | exclude = ["/.github"] |
Joel Galenson | 906f145 | 2021-05-19 14:29:24 -0700 | [diff] [blame] | 14 | edition = "2018" |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 15 | |
Joel Galenson | 906f145 | 2021-05-19 14:29:24 -0700 | [diff] [blame] | 16 | [workspace] |
| 17 | members = ["bench"] |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 18 | |
| 19 | [lib] |
| 20 | bench = false |
| 21 | |
| 22 | [features] |
| 23 | default = ["std", "unicode"] |
Joel Galenson | 906f145 | 2021-05-19 14:29:24 -0700 | [diff] [blame] | 24 | std = ["memchr/std"] |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 25 | unicode = ["lazy_static", "regex-automata"] |
| 26 | serde1 = ["std", "serde1-nostd", "serde/std"] |
| 27 | serde1-nostd = ["serde"] |
| 28 | |
| 29 | [dependencies] |
Joel Galenson | 906f145 | 2021-05-19 14:29:24 -0700 | [diff] [blame] | 30 | memchr = { version = "2.4.0", default-features = false } |
| 31 | lazy_static = { version = "1.2.0", optional = true } |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 32 | regex-automata = { version = "0.1.5", default-features = false, optional = true } |
| 33 | serde = { version = "1.0.85", default-features = false, optional = true } |
| 34 | |
| 35 | [dev-dependencies] |
Joel Galenson | bd98581 | 2021-04-01 15:14:48 -0700 | [diff] [blame] | 36 | quickcheck = { version = "1", default-features = false } |
Jakub Kotur | dd59cf9 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 37 | ucd-parse = "0.1.3" |
| 38 | unicode-segmentation = "1.2.1" |
| 39 | |
| 40 | [profile.release] |
| 41 | debug = true |