Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 2 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
53 [[example]]
54 name = "readme_preview"
55 path = "examples/readme_preview.rs"
56
57 [[example]]
58 name = "reusable_diagnostic"
59 path = "examples/reusable_diagnostic.rs"
60
61 [[example]]
62 name = "term"
63 path = "examples/term.rs"
64
65 [[test]]
66 name = "term"
67 path = "tests/term.rs"
68
69 [dependencies.serde]
70 version = "1"
71 features = [
72 "derive",
73 "alloc",
74 ]
75 optional = true
76 default-features = false
77
78 [dependencies.termcolor]
79 version = "1.0.4"
80 optional = true
81
82 [dependencies.unicode-width]
83 version = ">=0.1,<0.3"
84
85 [dev-dependencies.anyhow]
86 version = "1"
87
88 [dev-dependencies.insta]
89 version = "1.6.3"
90
91 [dev-dependencies.lazy_static]
92 version = "1.4"
93
94 [dev-dependencies.pico-args]
95 version = "0.5.0"
96
97 [dev-dependencies.unindent]
98 version = "0.2"
99
100 [lints.clippy]
101 alloc_instead_of_core = "warn"
102 std_instead_of_alloc = "warn"
103 std_instead_of_core = "warn"