bincode-next 2.1.0

A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "bincode-next"
version = "2.1.0"
authors = [
    "Xinyu Yang <pana.yang@hotmail.com>",
    "Ty Overby <ty@pre-alpha.com>",
    "Zoey Riordan <zoey@dos.cafe>",
    "Victor Koenders <bincode@trangar.com>",
    "The bincode-next & bincode developers",
]
build = false
exclude = [
    "logo.svg",
    "examples/*",
    ".gitignore",
    ".github/",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!"
documentation = "https://docs.rs/bincode_next"
readme = "README.md"
keywords = [
    "binary",
    "encode",
    "decode",
    "serialize",
    "deserialize",
]
categories = [
    "encoding",
    "network-programming",
]
license = "MIT or Apache-2.0"
repository = "https://github.com/Apich-Organization/bincode"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["serde?/alloc"]
default = [
    "std",
    "derive",
]
derive = ["bincode_derive-next"]
std = [
    "alloc",
    "serde?/std",
]

[lib]
name = "bincode_next"
crate-type = [
    "cdylib",
    "rlib",
    "staticlib",
]
path = "src/lib.rs"

[[test]]
name = "alloc"
path = "tests/alloc.rs"

[[test]]
name = "atomic"
path = "tests/atomic.rs"

[[test]]
name = "basic_types"
path = "tests/basic_types.rs"

[[test]]
name = "context"
path = "tests/context.rs"

[[test]]
name = "derive"
path = "tests/derive.rs"

[[test]]
name = "derive_rename"
path = "tests/derive_rename.rs"

[[test]]
name = "error_size"
path = "tests/error_size.rs"

[[test]]
name = "issues"
path = "tests/issues.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[[test]]
name = "std"
path = "tests/std.rs"

[[test]]
name = "utils"
path = "tests/utils.rs"

[[bench]]
name = "inline"
path = "benches/inline.rs"
harness = false

[[bench]]
name = "string"
path = "benches/string.rs"
harness = false

[[bench]]
name = "varint"
path = "benches/varint.rs"
harness = false

[dependencies.bincode_derive-next]
version = "2.1.0"
optional = true

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dependencies.unty]
version = "0.1.0"
package = "unty-next"

[dev-dependencies.bincode_1]
version = "1.3"
package = "bincode"

[dev-dependencies.bumpalo]
version = "3.16.0"
features = ["collections"]

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.glam]
version = "0.32"
features = ["serde"]

[dev-dependencies.ouroboros]
version = "0.18.3"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_derive]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"
default-features = false

[dev-dependencies.tempfile]
version = "3.2"

[dev-dependencies.uuid]
version = "1.1"
features = ["serde"]

[lints.clippy]
empty-line-after-doc-comments = "allow"

[profile.bench]
lto = true
codegen-units = 1
debug = 1

[profile.dev]
opt-level = 0
lto = false
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true