Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
1 Debian patch 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.83"
15 name = "pyo3-ffi"
16 version = "0.28.2"
17 authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
18 build = "build.rs"
19 links = "python"
20 autolib = false
21 autobins = false
22 autoexamples = false
23 autotests = false
24 autobenches = false
25 description = "Python-API bindings for the PyO3 ecosystem"
26 homepage = "https://github.com/pyo3/pyo3"
27 readme = "README.md"
28 keywords = [
29 "pyo3",
30 "python",
31 "cpython",
32 "ffi",
33 ]
34 categories = [
35 "api-bindings",
36 "development-tools::ffi",
37 ]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/pyo3/pyo3"
40
41 [package.metadata.cpython]
42 min-version = "3.7"
43 max-version = "3.15"
44
45 [package.metadata.pypy]
46 min-version = "3.11"
47 max-version = "3.11"
48
49 [features]
50 abi3 = ["pyo3-build-config/abi3"]
51 abi3-py310 = [
52 "abi3-py311",
53 "pyo3-build-config/abi3-py310",
54 ]
55 abi3-py311 = [
56 "abi3-py312",
57 "pyo3-build-config/abi3-py311",
58 ]
59 abi3-py312 = [
60 "abi3-py313",
61 "pyo3-build-config/abi3-py312",
62 ]
63 abi3-py313 = [
64 "abi3-py314",
65 "pyo3-build-config/abi3-py313",
66 ]
67 abi3-py314 = [
68 "abi3",
69 "pyo3-build-config/abi3-py314",
70 ]
71 abi3-py37 = [
72 "abi3-py38",
73 "pyo3-build-config/abi3-py37",
74 ]
75 abi3-py38 = [
76 "abi3-py39",
77 "pyo3-build-config/abi3-py38",
78 ]
79 abi3-py39 = [
80 "abi3-py310",
81 "pyo3-build-config/abi3-py39",
82 ]
83 default = []
84 extension-module = ["pyo3-build-config/extension-module"]
85
86 [lib]
87 name = "pyo3_ffi"
88 path = "src/lib.rs"
89
90 [dependencies.libc]
91 version = "0.2.62"
92
93 [dev-dependencies.paste]
94 version = "1"
95
96 [build-dependencies.pyo3-build-config]
97 version = "=0.28.2"
98 features = ["resolve-config"]
99
100 [lints.clippy]
101 checked_conversions = "warn"
102 dbg_macro = "warn"
103 explicit_into_iter_loop = "warn"
104 explicit_iter_loop = "warn"
105 filter_map_next = "warn"
106 flat_map_option = "warn"
107 let_unit_value = "warn"
108 manual_assert = "warn"
109 manual_ok_or = "warn"
110 todo = "warn"
111 undocumented_unsafe_blocks = "allow"
112 unnecessary_wraps = "warn"
113 used_underscore_binding = "warn"
114 useless_transmute = "warn"
115
116 [lints.rust]
117 elided_lifetimes_in_paths = "warn"
118 invalid_doc_attributes = "warn"
119 rust_2021_prelude_collisions = "warn"
120 unsafe_op_in_unsafe_fn = "warn"
121 unused_lifetimes = "warn"
122
123 [lints.rust.rust_2018_idioms]
124 level = "warn"
125 priority = -1
126
127 [lints.rustdoc]
128 bare_urls = "warn"
129 broken_intra_doc_links = "warn"