liminal-sdk 0.2.1

Application-facing SDK traits for liminal messaging clients
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.85"
name = "liminal-sdk"
version = "0.2.1"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Application-facing SDK traits for liminal messaging clients"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/ablative-io/liminal"
resolver = "2"

[features]
default = ["std"]
std = [
    "thiserror/std",
    "serde/std",
    "dep:liminal",
]

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

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

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

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.liminal]
version = "0.2.1"
optional = true
package = "liminal-rs"

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

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

[dependencies.spin]
version = "0.9"
features = [
    "mutex",
    "spin_mutex",
]
default-features = false

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

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

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

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

[lints.rust]
unsafe_code = "deny"