dataport 0.1.0

Port abstractions for data types
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.95.0"
name = "dataport"
version = "0.1.0"
authors = ["stepkun <stephan.kunz@kabelbw.de>"]
build = false
exclude = [
    "laze*",
    "benches/**",
    "coverage/**",
    "embedded/**",
    "examples/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Port abstractions for data types"
homepage = "https://dibbots.com/"
documentation = "https://docs.rs/dataport"
readme = "README.md"
categories = ["development-tools"]
license-file = "LICENSE"
repository = "https://codeberg.org/dibbots/dataport.git"
resolver = "3"

[features]
default = ["std"]
std = [
    "embassy-sync/std",
    "spin/std",
    "thiserror/std",
]

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

[dependencies.dataport-macros]
version = "0.1"

[dependencies.embassy-sync]
version = "0.8"
default-features = false

[dependencies.portable-atomic-util]
version = "0.2"
features = ["alloc"]
default-features = false

[dependencies.spin]
version = "0.12"
features = [
    "portable-atomic",
    "rwlock",
    "use_ticket_mutex",
]
default-features = false

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

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.doc-comment]
version = "0.3.4"

[build-dependencies]

[profile.production]
panic = "abort"
inherits = "release"
strip = "symbols"

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
overflow-checks = true

[profile.samply]
debug = 2
inherits = "release"