simple-someip 0.8.0

A lightweight SOME/IP serialization and communication library
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"
name = "simple-someip"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight SOME/IP serialization and communication library"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/luminartech/simple_someip"

[features]
_alloc = []
bare-metal-runtime = [
    "bare_metal",
    "server",
    "dep:embassy-executor",
]
bare_metal = ["dep:embassy-sync"]
client = ["dep:futures-util"]
client-tokio = [
    "client",
    "std",
    "dep:tokio",
    "dep:socket2",
]
default = ["std"]
embassy_channels = [
    "bare_metal",
    "_alloc",
]
server = ["dep:futures-util"]
server-tokio = [
    "server",
    "std",
    "dep:tokio",
    "dep:socket2",
]
std = [
    "embedded-io/std",
    "thiserror/std",
    "tracing",
    "tracing/std",
    "_alloc",
]
tracing = ["dep:tracing"]

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

[[test]]
name = "bare_metal_client"
path = "tests/bare_metal_client.rs"
required-features = [
    "client",
    "bare_metal",
]

[[test]]
name = "bare_metal_client_local"
path = "tests/bare_metal_client_local.rs"
required-features = [
    "client",
    "bare_metal",
]

[[test]]
name = "bare_metal_e2e"
path = "tests/bare_metal_e2e.rs"
required-features = [
    "client",
    "server",
    "bare_metal",
]

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

[[test]]
name = "bare_metal_server"
path = "tests/bare_metal_server.rs"
required-features = [
    "server",
    "bare_metal",
]

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

[[test]]
name = "client_server"
path = "tests/client_server.rs"
required-features = [
    "client-tokio",
    "server-tokio",
]

[[test]]
name = "no_alloc_server_witness"
path = "tests/no_alloc_server_witness.rs"
harness = false
required-features = [
    "server",
    "bare_metal",
]

[[test]]
name = "no_alloc_witness"
path = "tests/no_alloc_witness.rs"
harness = false
required-features = [
    "client",
    "bare_metal",
]

[[test]]
name = "static_channels_alloc_witness"
path = "tests/static_channels_alloc_witness.rs"
required-features = [
    "client",
    "bare_metal",
]

[[test]]
name = "vsomeip_sd_compat"
path = "tests/vsomeip_sd_compat.rs"
required-features = [
    "client-tokio",
    "server-tokio",
]

[dependencies.crc]
version = "3.4"

[dependencies.embassy-executor]
version = "0.6"
features = ["nightly"]
optional = true
default-features = false

[dependencies.embassy-sync]
version = "0.6"
optional = true

[dependencies.embedded-io]
version = "0.7"

[dependencies.futures-util]
version = "0.3"
features = [
    "async-await",
    "async-await-macro",
]
optional = true
default-features = false

[dependencies.heapless]
version = "0.9"

[dependencies.socket2]
version = "0.5"
features = ["all"]
optional = true

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt",
    "sync",
    "time",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true
default-features = false

[dev-dependencies.critical-section]
version = "1"
features = ["std"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"