p2panda-auth 0.6.0

Decentralised group management with fine-grained, per-member permissions
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 = "p2panda-auth"
version = "0.6.0"
authors = [
    "adz <x12@adz.garden>",
    "sandreae <contact@samandreae.com>",
    "glyph <glyph@mycelial.technology>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decentralised group management with fine-grained, per-member permissions"
readme = "README.md"
keywords = [
    "auth",
    "access-control",
    "groups",
    "crdt",
    "offline-first",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/p2panda/p2panda"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["processor"]
processor = [
    "dep:p2panda-core",
    "dep:p2panda-store",
    "dep:p2panda-stream",
    "dep:tokio",
    "serde",
]
serde = ["dep:serde"]
test = ["test_utils"]
test_utils = [
    "dep:p2panda-core",
    "dep:p2panda-stream",
    "dep:rand",
    "dep:tokio",
    "dep:tracing-subscriber",
    "serde",
]

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

[[example]]
name = "groups"
path = "examples/groups.rs"

[dependencies.p2panda-core]
version = "0.6.0"
optional = true
default-features = true

[dependencies.p2panda-store]
version = "0.6.0"
optional = true
default-features = true

[dependencies.p2panda-stream]
version = "0.6.0"
optional = true
default-features = true

[dependencies.petgraph]
version = "0.8.3"
features = ["serde-1"]

[dependencies.rand]
version = "0.10.1"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "sync",
    "signal",
]
optional = true
default-features = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
optional = true

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.ciborium]
version = "0.2.2"

[dev-dependencies.futures-util]
version = "0.3.32"

[dev-dependencies.p2panda-core]
version = "0.6.0"
features = ["test_utils"]
default-features = true

[dev-dependencies.p2panda-net]
version = "0.6.0"
default-features = true

[dev-dependencies.p2panda-store]
version = "0.6.0"
features = ["test_utils"]
default-features = true

[dev-dependencies.p2panda-sync]
version = "0.6.0"
default-features = true

[lints.rust]