Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 = "2024"
14 name = "bendy"
15 version = "0.6.1"
16 authors = [
17 "P3KI <[email protected]>",
18 "TQ Hirsch <[email protected]>",
19 "Bruno Kirschner <[email protected]>",
20 "Oliver Uvman <[email protected]>",
21 ]
22 build = false
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """
29 A rust library for encoding and decoding bencode with enforced canonicalization rules.
30 """
31 readme = "README.md"
32 keywords = [
33 "bencode",
34 "serialization",
35 "deserialization",
36 "bittorent",
37 ]
38 categories = [
39 "encoding",
40 "no-std",
41 ]
42 license = "BSD-3-Clause"
43 repository = "https://github.com/P3KI/bendy"
44
45 [package.metadata.docs.rs]
46 all-features = true
47
48 [badges.maintenance]
49 status = "actively-developed"
50
51 [badges.travis-ci]
52 repository = "P3KI/bendy"
53
54 [features]
55 debug = []
56 default = ["std"]
57 inspect = ["smallvec"]
58 serde = [
59 "serde_",
60 "serde_bytes",
61 ]
62 std = ["thiserror/std"]
63
64 [lib]
65 name = "bendy"
66 path = "src/lib.rs"
67
68 [[example]]
69 name = "decode_torrent"
70 path = "examples/decode_torrent.rs"
71
72 [[example]]
73 name = "encode_torrent"
74 path = "examples/encode_torrent.rs"
75 required-features = ["std"]
76
77 [[test]]
78 name = "core_test"
79 path = "tests/core_test.rs"
80 required-features = ["std"]
81
82 [[test]]
83 name = "performance_test"
84 path = "tests/performance_test.rs"
85
86 [[test]]
87 name = "struct_codec"
88 path = "tests/struct_codec.rs"
89
90 [dependencies.rustversion]
91 version = "1.0.4"
92
93 [dependencies.serde_]
94 version = "^1.0"
95 optional = true
96 package = "serde"
97
98 [dependencies.serde_bytes]
99 version = "^0.11.3"
100 optional = true
101
102 [dependencies.smallvec]
103 version = "^1.15.1"
104 optional = true
105
106 [dependencies.thiserror]
107 version = "^2.0.14"
108 default-features = false
109
110 [dev-dependencies.doc-comment]
111 version = "0.3.3"
112
113 [dev-dependencies.regex]
114 version = "^1.0"
115
116 [dev-dependencies.serde_derive]
117 version = "^1.0"
118
119 [dev-dependencies.smallvec]
120 version = "^1.15.1"
121
122 [dev-dependencies.timeit]
123 version = "0.1.2"