offline-protocol-core 0.26.0

Core types and data structures for the Offline Protocol SDK
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 = "2021"
rust-version = "1.87"
name = "offline-protocol-core"
version = "0.26.0"
authors = ["Offline Protocol, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and data structures for the Offline Protocol SDK"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/Offline-Protocol/offline-protocol-sdk"

[features]
default = ["std"]
std = [
    "serde/std",
    "serde_json/std",
    "base64/std",
    "unicode-normalization/std",
    "thiserror/std",
    "uuid/std",
    "uuid/v4",
    "dep:tracing",
]

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

[dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false

[dependencies.bech32]
version = "0.11.1"
features = ["alloc"]
default-features = false

[dependencies.postcard]
version = "1.0"
features = ["alloc"]
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false

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

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.unicode-normalization]
version = "0.1"
default-features = false

[dependencies.uuid]
version = "1.6"
features = ["serde"]
default-features = false

[dev-dependencies]

[lints.clippy]
unwrap_used = "deny"