consortium-codec 0.1.0

Codec traits and implementations for Consortium IPC serialization
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.87"
name = "consortium-codec"
version = "0.1.0"
authors = ["Ethan Wu <7086cmd@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Codec traits and implementations for Consortium IPC serialization"
homepage = "https://github.com/consortium-rs/consortium"
readme = "README.md"
keywords = [
    "amp",
    "embedded",
    "heterogeneous",
    "ipc",
    "no-std",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/consortium-rs/consortium"
resolver = "2"

[features]
alloc = [
    "rkyv?/alloc",
    "rkyv?/bytecheck",
]
default = []
defmt = [
    "consortium-log/defmt",
    "dep:defmt",
    "postcard?/use-defmt",
]
postcard = [
    "dep:postcard",
    "dep:serde",
]
prost = ["dep:prost"]
rkyv = [
    "consortium-codec-macros",
    "dep:rkyv",
]
std = [
    "consortium-log/tracing",
    "rkyv?/bytecheck",
    "rkyv?/std",
]

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

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

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

[dependencies.consortium-codec-macros]
version = "0.1.0"
optional = true

[dependencies.consortium-log]
version = "0.1.0"
default-features = false

[dependencies.defmt]
version = "1.1.0"
optional = true

[dependencies.postcard]
version = "1.1.3"
optional = true

[dependencies.prost]
version = "0.14.3"
optional = true
default-features = false

[dependencies.rkyv]
version = "0.8.16"
features = ["bytecheck"]
optional = true
default-features = false

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

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
default-features = false

[dev-dependencies.trybuild]
version = "1"