Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
Source reconstructed at patch state 0 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.67"
15 name = "codespan-reporting"
16 version = "0.12.0"
17 authors = ["Brendan Zabarauskas <[email protected]>"]
18 build = false
19 exclude = ["assets/**"]
20 autolib = false
21 autobins = false
22 autoexamples = false
23 autotests = false
24 autobenches = false
25 description = "Beautiful diagnostic reporting for text-based programming languages"
26 homepage = "https://github.com/brendanzab/codespan"
27 documentation = "https://docs.rs/codespan-reporting"
28 readme = "README.md"
29 license = "Apache-2.0"
30 repository = "https://github.com/brendanzab/codespan"
31
32 [features]
33 ascii-only = []
34 default = [
35 "std",
36 "termcolor",
37 ]
38 serialization = ["serde"]
39 std = ["serde?/std"]
40 termcolor = [
41 "std",
42 "dep:termcolor",
43 ]
44
45 [lib]
46 name = "codespan_reporting"
47 path = "src/lib.rs"
48
49 [[example]]
50 name = "custom_files"
51 path = "examples/custom_files.rs"
52 required-features = ["termcolor"]
53
54 [[example]]
55 name = "readme_preview"
56 path = "examples/readme_preview.rs"
57 required-features = ["termcolor"]
58
59 [[example]]
60 name = "reusable_diagnostic"
61 path = "examples/reusable_diagnostic.rs"
62 required-features = ["termcolor"]
63
64 [[example]]
65 name = "term"
66 path = "examples/term.rs"
67 required-features = ["termcolor"]
68
69 [[test]]
70 name = "term"
71 path = "tests/term.rs"
72 required-features = ["termcolor"]
73
74 [dependencies.serde]
75 version = "1"
76 features = [
77 "derive",
78 "alloc",
79 ]
80 optional = true
81 default-features = false
82
83 [dependencies.termcolor]
84 version = "1.0.4"
85 optional = true
86
87 [dependencies.unicode-width]
88 version = ">=0.1,<0.3"
89
90 [dev-dependencies.anyhow]
91 version = "1"
92
93 [dev-dependencies.insta]
94 version = "1.6.3"
95
96 [dev-dependencies.lazy_static]
97 version = "1.4"
98
99 [dev-dependencies.pico-args]
100 version = "0.5.0"
101
102 [dev-dependencies.unindent]
103 version = "0.2"
104
105 [lints.clippy]
106 alloc_instead_of_core = "warn"
107 std_instead_of_alloc = "warn"
108 std_instead_of_core = "warn"