Debian Codegraph @

Cargo.toml

raw symbols SCIP
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 name = "apt-sources"
15 version = "0.3.0"
16 authors = [
17 "Michał Fita <[email protected]>",
18 "Jelmer Vernooij <[email protected]>",
19 ]
20 build = false
21 autolib = false
22 autobins = false
23 autoexamples = false
24 autotests = false
25 autobenches = false
26 description = "A parser for APT source files (package repositories specification)"
27 homepage = "https://github.com/jelmer/debian-parsers"
28 readme = false
29 keywords = [
30 "debian",
31 "deb822",
32 "rfc822",
33 "edit",
34 "apt",
35 ]
36 categories = ["parser-implementations"]
37 license = "Apache-2.0"
38 repository = "https://github.com/jelmer/debian-parsers"
39
40 [features]
41 cli = [
42 "dep:clap",
43 "dep:env_logger",
44 "dep:log",
45 ]
46 default = [
47 "lossless",
48 "legacy",
49 ]
50 key-management = [
51 "dep:sequoia-openpgp",
52 "dep:sequoia-net",
53 "dep:tokio",
54 ]
55 launchpad = [
56 "dep:launchpadlib",
57 "dep:reqwest",
58 "dep:serde_json",
59 ]
60 legacy = ["dep:regex"]
61 lossless = []
62 tracing = ["dep:tracing"]
63
64 [lib]
65 name = "apt_sources"
66 path = "src/lib.rs"
67
68 [[bin]]
69 name = "apt-add-repository"
70 path = "src/bin/apt-add-repository.rs"
71 required-features = [
72 "key-management",
73 "launchpad",
74 "cli",
75 ]
76
77 [[bin]]
78 name = "ppa-info"
79 path = "src/bin/ppa-info.rs"
80 required-features = [
81 "launchpad",
82 "cli",
83 ]
84
85 [[example]]
86 name = "source-for-docker"
87 path = "examples/source-for-docker.rs"
88
89 [dependencies.clap]
90 version = "4"
91 features = ["derive"]
92 optional = true
93
94 [dependencies.colored]
95 version = ">=2.1,<4"
96
97 [dependencies.deb822-fast]
98 version = ">=0.1, <0.3"
99 features = ["derive"]
100
101 [dependencies.env_logger]
102 version = "0.11"
103 optional = true
104
105 [dependencies.indicatif]
106 version = ">=0.17,<0.19"
107
108 [dependencies.itertools]
109 version = "0.14.0"
110
111 [dependencies.launchpadlib]
112 version = "0.5.5"
113 features = [
114 "blocking",
115 "api-v1_0",
116 "packages",
117 "keyring",
118 ]
119 optional = true
120 default-features = false
121
122 [dependencies.log]
123 version = "0.4"
124 optional = true
125
126 [dependencies.regex]
127 version = "1.11.1"
128 optional = true
129
130 [dependencies.reqwest]
131 version = ">=0.12,<0.14"
132 features = [
133 "blocking",
134 "json",
135 ]
136 optional = true
137
138 [dependencies.sequoia-net]
139 version = "0.30"
140 optional = true
141 default-features = false
142
143 [dependencies.sequoia-openpgp]
144 version = "2.0"
145 features = [
146 "compression-deflate",
147 "crypto-nettle",
148 ]
149 optional = true
150 default-features = false
151
152 [dependencies.serde_json]
153 version = "1.0"
154 optional = true
155
156 [dependencies.tokio]
157 version = "1"
158 features = [
159 "rt",
160 "macros",
161 ]
162 optional = true
163
164 [dependencies.tracing]
165 version = "0.1"
166 optional = true
167
168 [dependencies.url]
169 version = "2.5.4"
170 features = ["serde"]
171
172 [dev-dependencies.indoc]
173 version = "2.0.6"
174
175 [dev-dependencies.tempfile]
176 version = "3"