Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "codespan-reporting"
3 version = "0.12.0"
4 readme = "../README.md"
5 license = "Apache-2.0"
6 authors = ["Brendan Zabarauskas <[email protected]>"]
7 description = "Beautiful diagnostic reporting for text-based programming languages"
8 homepage = "https://github.com/brendanzab/codespan"
9 repository = "https://github.com/brendanzab/codespan"
10 documentation = "https://docs.rs/codespan-reporting"
11 exclude = ["assets/**"]
12 edition = "2021"
13 rust-version = "1.67"
14
15 [dependencies]
16 serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
17 termcolor = { version = "1.0.4", optional = true }
18 unicode-width = ">=0.1,<0.3"
19
20 [dev-dependencies]
21 pico-args = "0.5.0"
22 anyhow = "1"
23 insta = "1.6.3"
24 lazy_static = "1.4"
25 peg = "0.7"
26 rustyline = "6"
27 unindent = "0.1"
28
29 [features]
30 default = ["std", "termcolor"]
31 std = ["serde?/std"]
32 termcolor = ["std", "dep:termcolor"]
33 serialization = ["serde"]
34 ascii-only = []
35
36 [lints.clippy]
37 # Certain items from `core` are re-exported in `alloc` and `std`, and likewise `alloc` has items
38 # re-exported in `std`.
39 # `core` is available on all platforms, `alloc` is available on almost all, and `std` is only
40 # available on some.
41 # These lints ensure we don't import from a "less available" crate without reason.
42 alloc_instead_of_core = "warn"
43 std_instead_of_alloc = "warn"
44 std_instead_of_core = "warn"