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 = "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 = "struct_codec"
84 path = "tests/struct_codec.rs"
85
86 [dependencies.rustversion]
87 version = "1.0.4"
88
89 [dependencies.serde_]
90 version = "^1.0"
91 optional = true
92 package = "serde"
93
94 [dependencies.serde_bytes]
95 version = "^0.11.3"
96 optional = true
97
98 [dependencies.smallvec]
99 version = "^1.15.1"
100 optional = true
101
102 [dependencies.thiserror]
103 version = "^2.0.14"
104 default-features = false
105
106 [dev-dependencies.doc-comment]
107 version = "0.3.3"
108
109 [dev-dependencies.regex]
110 version = "^1.0"
111
112 [dev-dependencies.serde_derive]
113 version = "^1.0"
114
115 [dev-dependencies.smallvec]
116 version = "^1.15.1"
117