Debian Codegraph @

Cargo.toml

raw
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 = "2024"
14 rust-version = "1.93"
15 name = "crates-io"
16 version = "0.40.18"
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = """
24 Helpers for interacting with crates.io
25 """
26 readme = "README.md"
27 license = "MIT OR Apache-2.0"
28 repository = "https://github.com/rust-lang/cargo"
29 resolver = "2"
30
31 [lib]
32 name = "crates_io"
33 path = "lib.rs"
34
35 [dependencies.curl]
36 version = "0.4.49"
37
38 [dependencies.percent-encoding]
39 version = "2.3.2"
40
41 [dependencies.serde]
42 version = "1.0.228"
43 features = ["derive"]
44
45 [dependencies.serde_json]
46 version = "1.0.148"
47
48 [dependencies.thiserror]
49 version = "2.0.17"
50
51 [dependencies.url]
52 version = "2.5.7"
53
54 [lints.clippy]
55 dbg_macro = "warn"
56 disallowed_methods = "warn"
57 print_stderr = "warn"
58 print_stdout = "warn"
59 self_named_module_files = "warn"
60
61 [lints.clippy.all]
62 level = "allow"
63 priority = -2
64
65 [lints.clippy.correctness]
66 level = "warn"
67 priority = -1
68
69 [lints.rust]
70 rust_2018_idioms = "warn"
71
72 [lints.rustdoc]
73 private_intra_doc_links = "allow"