[package]
edition = "2021"
name = "ghostkey-common"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire types for communicating with the Freenet ghostkey delegate (GhostkeyRequest/GhostkeyResponse). Use this crate from a Freenet dapp that needs to sign messages or read ghostkey identity info via the delegate. For low-level ghostkey certificate crypto, see ghostkey_lib instead."
readme = "README.md"
keywords = [
"freenet",
"ghostkey",
"delegate",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/freenet/ghostkeys"
[features]
crypto = [
"dep:ed25519-dalek",
"dep:blake3",
"dep:bs58",
]
default = []
[lib]
name = "ghostkey_common"
path = "src/lib.rs"
[dependencies.blake3]
version = "1"
optional = true
[dependencies.bs58]
version = "0.5"
optional = true
[dependencies.ciborium]
version = "0.2"
[dependencies.ed25519-dalek]
version = "2.1"
features = ["serde"]
optional = true
[dependencies.freenet-stdlib]
version = "0.6"
[dependencies.serde]
version = "1.0"
features = ["derive"]