encode 2.0.0

A simple framework for encoding binary data.
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 = "2021"
rust-version = "1.81.0"
name = "encode"
version = "2.0.0"
authors = ["Altair Bueno"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple framework for encoding binary data."
homepage = "https://github.com/Altair-Bueno/encode"
readme = "README.md"
keywords = [
    "encoding",
    "no-std",
    "no-alloc",
    "framework",
]
categories = [
    "encoding",
    "no-std",
]
license = "MIT"
repository = "https://github.com/Altair-Bueno/encode"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
arrayvec = ["dep:arrayvec"]
bytemuck = ["dep:bytemuck"]
bytes = ["dep:bytes"]
default = ["std"]
std = ["alloc"]

[lib]
name = "encode"
path = "src/lib.rs"

[[example]]
name = "bson"
path = "examples/bson.rs"
required-features = ["alloc"]

[[example]]
name = "json"
path = "examples/json.rs"
required-features = ["std"]

[dependencies.arrayvec]
version = "0.7.6"
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.25.2"
optional = true
default-features = false

[dependencies.bytes]
version = "1.10.1"
optional = true
default-features = false

[dependencies.pastey]
version = "0.2"

[dev-dependencies.rstest]
version = "0.18"