polyc-web-session 2026.9.0

Browser session establishment (ADR 0007): one-time login challenges, the shared session cookie, and both the persona-passkey and wallet-passkey ceremonies that mint a polyc_crypto::session token. Consumed by polyc-control-plane; carries no ceremony-consumer naming of its own.
# 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.97"
name = "polyc-web-session"
version = "2026.9.0"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser session establishment (ADR 0007): one-time login challenges, the shared session cookie, and both the persona-passkey and wallet-passkey ceremonies that mint a polyc_crypto::session token. Consumed by polyc-control-plane; carries no ceremony-consumer naming of its own."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"

[package.metadata.polychrome]
layer = "component"
plane_role = "shared"

[features]
test-util = [
    "dep:p256",
    "polyc-passkey/test-util",
    "polyc-ceremony/test-util",
]

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

[dependencies.alloy-primitives]
version = "1.6"

[dependencies.base64]
version = "0.22"

[dependencies.p256]
version = "0.14"
optional = true

[dependencies.polyc-ceremony]
version = "=2026.9.0"

[dependencies.polyc-crypto]
version = "=2026.9.0"

[dependencies.polyc-passkey]
version = "=2026.9.0"

[dependencies.polyc-persona]
version = "=2026.9.0"

[dependencies.polyc-proto]
version = "=2026.9.0"

[dependencies.polyc-session-family]
version = "=2026.9.0"

[dependencies.tempo-primitives]
version = "1.8"

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v5",
    "v7",
]

[dev-dependencies.p256]
version = "0.14"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"

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

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

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

[lints.rustdoc]
all = "warn"