uftp 0.3.0

UFTP 3.1, the USEF Flex Trading Protocol (LF Energy Shapeshifter), in Rust: all 26 messages, CS1 signing and a receive pipeline for DSOs and aggregators.
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.88"
name = "uftp"
version = "0.3.0"
authors = ["The uftp contributors"]
build = false
exclude = [
    "concepts/",
    "specs/",
    ".specify/",
    ".agents/",
    ".claude/",
    ".cargo/",
    ".gitignore",
    ".github/",
    "fuzz/",
    "interop/",
    "site/",
    "tests/",
    "xsd/",
    "justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "UFTP 3.1, the USEF Flex Trading Protocol (LF Energy Shapeshifter), in Rust: all 26 messages, CS1 signing and a receive pipeline for DSOs and aggregators."
homepage = "https://hupe1980.github.io/uftp/"
documentation = "https://docs.rs/uftp"
readme = "README.md"
keywords = [
    "uftp",
    "shapeshifter",
    "flexibility",
    "energy",
    "smart-grid",
]
categories = [
    "encoding",
    "network-programming",
    "cryptography",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/hupe1980/uftp"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cs1 = [
    "dep:ed25519-dalek",
    "dep:base64",
    "dep:zeroize",
]
default = ["cs1"]
http = [
    "cs1",
    "dep:http",
]

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

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

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

[dependencies.base64]
version = "0.23"
optional = true

[dependencies.ed25519-dalek]
version = "3"
features = [
    "fast",
    "zeroize",
]
optional = true
default-features = false

[dependencies.http]
version = "1"
optional = true

[dependencies.jiff]
version = "1"
features = [
    "std",
    "tzdb-bundle-always",
]
default-features = false

[dependencies.quick-xml]
version = "0.42"

[dependencies.rust_decimal]
version = "1.43"
features = ["std"]
default-features = false

[dependencies.uuid]
version = "1"
features = ["std"]
default-features = false

[dependencies.zeroize]
version = "1.9"
optional = true

[dev-dependencies.base64]
version = "0.23"

[dev-dependencies.ed25519-dalek]
version = "3"
features = ["fast"]
default-features = false

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

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

[dev-dependencies.proptest]
version = "1.12"

[dev-dependencies.rust_decimal]
version = "1.43"
features = ["std"]
default-features = false

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

[lints.clippy]
doc_markdown = "allow"
struct_field_names = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"