1 | [package]
|
2 | name = "text-size"
|
3 | version = "1.1.1"
|
4 | edition = "2018"
|
5 |
|
6 | authors = [
|
7 | "Aleksey Kladov <aleksey.kladov@gmail.com>" ,
|
8 | "Christopher Durham (CAD97) <cad97@cad97.com>"
|
9 | ]
|
10 | description = "Newtypes for text offsets"
|
11 | license = "MIT OR Apache-2.0"
|
12 | repository = "https://github.com/rust-analyzer/text-size"
|
13 | documentation = "https://docs.rs/text-size"
|
14 |
|
15 | [dependencies]
|
16 | serde = { version = "1.0" , optional = true, default_features = false }
|
17 |
|
18 | [dev-dependencies]
|
19 | serde_test = "1.0"
|
20 | static_assertions = "1.1"
|
21 |
|
22 | [[test]]
|
23 | name = "serde"
|
24 | path = "tests/serde.rs"
|
25 | required-features = ["serde" ]
|
26 | |