# 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 = "osal-rs-serde"
version = "0.3.5"
authors = ["Antonio Salsi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serialization/Deserialization framework for osal-rs - extensible and reusable"
homepage = "https://github.com/HiHappyGarden/osal-rs"
documentation = "https://docs.rs/osal-rs-serde"
readme = "README.md"
keywords = [
    "serialization",
    "deserialization",
    "no-std",
    "embedded",
]
categories = [
    "embedded",
    "no-std",
    "encoding",
]
license = "GPL-3.0"
repository = "https://github.com/HiHappyGarden/osal-rs"

[features]
alloc = []
default = ["alloc"]
derive = ["osal-rs-serde-derive"]
std = ["alloc"]

[lib]
name = "osal_rs_serde"
crate-type = ["rlib"]
path = "src/lib.rs"

[[example]]
name = "arrays_tuples"
path = "examples/arrays_tuples.rs"
required-features = ["derive"]

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

[[example]]
name = "binary_serialization"
path = "examples/binary_serialization.rs"

[[example]]
name = "custom_serializer"
path = "examples/custom_serializer.rs"
required-features = ["derive"]

[[example]]
name = "integration"
path = "examples/integration.rs"
required-features = ["derive"]

[[example]]
name = "nested_structs"
path = "examples/nested_structs.rs"
required-features = ["derive"]

[[example]]
name = "optional_fields"
path = "examples/optional_fields.rs"
required-features = ["derive"]

[[example]]
name = "robot_control"
path = "examples/robot_control.rs"
required-features = ["derive"]

[[example]]
name = "with_derive"
path = "examples/with_derive.rs"
required-features = ["derive"]

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
required-features = ["derive"]

[dependencies.osal-rs-serde-derive]
version = "0.3"
optional = true
