reliakit-codec 0.2.2

Deterministic canonical binary encoding and decoding traits for reliability-oriented Rust values.
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.85"
name = "reliakit-codec"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic canonical binary encoding and decoding traits for reliability-oriented Rust values."
homepage = "https://github.com/satyakwok/reliakit"
documentation = "https://docs.rs/reliakit-codec"
readme = "README.md"
keywords = [
    "codec",
    "binary",
    "canonical",
    "no-std",
    "reliability",
]
categories = [
    "encoding",
    "no-std",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/satyakwok/reliakit"

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

[features]
alloc = []
default = ["std"]
primitives = [
    "alloc",
    "dep:reliakit-primitives",
    "reliakit-primitives/alloc",
]
std = [
    "alloc",
    "reliakit-primitives?/std",
]

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

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

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

[dependencies.reliakit-primitives]
version = "0.4"
optional = true
default-features = false

[lints.rust]
unsafe_code = "forbid"