Debian Codegraph @

Cargo.toml.orig

raw
1 [workspace]
2 members = ["derive", "compatibility"]
3
4 [package]
5 name = "bincode"
6 version = "2.0.1" # remember to update html_root_url and bincode_derive
7 authors = [
8 "Ty Overby <[email protected]>",
9 "Zoey Riordan <[email protected]>",
10 "Victor Koenders <[email protected]>",
11 ]
12 exclude = ["logo.svg", "examples/*", ".gitignore", ".github/"]
13 rust-version = "1.85.0"
14
15 publish = true
16
17 repository = "https://github.com/bincode-org/bincode"
18 documentation = "https://docs.rs/bincode"
19 readme = "./readme.md"
20 categories = ["encoding", "network-programming"]
21 keywords = ["binary", "encode", "decode", "serialize", "deserialize"]
22
23 license = "MIT"
24 description = "A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!"
25
26 edition = "2021"
27
28 [features]
29 default = ["std", "derive"]
30 std = ["alloc", "serde?/std"]
31 alloc = ["serde?/alloc"]
32 derive = ["bincode_derive"]
33
34 [dependencies]
35 bincode_derive = { path = "derive", version = "2.0.1", optional = true }
36 serde = { version = "1.0", default-features = false, optional = true }
37 unty = "0.0.4"
38
39 # Used for tests
40 [dev-dependencies]
41 ouroboros = "0.18.3"
42 serde_derive = "1.0"
43 serde_json = { version = "1.0", default-features = false }
44 tempfile = "3.2"
45 criterion = "0.5"
46 rand = "0.8"
47 uuid = { version = "1.1", features = ["serde"] }
48 chrono = { version = "0.4", features = ["serde"] }
49 glam = { version = "0.25", features = ["serde"] }
50 bincode_1 = { version = "1.3", package = "bincode" }
51 serde = { version = "1.0", features = ["derive"] }
52 bumpalo = { version = "3.16.0", features = ["collections"] }
53
54 [[bench]]
55 name = "varint"
56 harness = false
57
58 [[bench]]
59 name = "inline"
60 harness = false
61
62 [[bench]]
63 name = "string"
64 harness = false
65
66 [profile.bench]
67 codegen-units = 1
68 debug = 1
69 lto = true
70
71 [package.metadata.docs.rs]
72 all-features = true
73 rustdoc-args = ["--cfg", "docsrs"]