mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
7fa56f960f
Adds a rustdoc example which completely demonstrates how to use code
written generically with `ed25519::Signature` and `signature::{Signer,
Verifier}` with the concrete `ed25519_dalek::{Keypair, PublicKey}`
types.
Unlike the previous example, which hardly showed anything, this commit
also pulls in `ed25519-dalek` as a `[dev-dependency]`, which makes it
possible to actually doctest the example.
22 lines
450 B
TOML
22 lines
450 B
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
[[package]]
|
|
name = "ed25519"
|
|
version = "1.0.1"
|
|
dependencies = [
|
|
"signature",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ed25519_no_std"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"ed25519",
|
|
]
|
|
|
|
[[package]]
|
|
name = "signature"
|
|
version = "1.2.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "29f060a7d147e33490ec10da418795238fd7545bba241504d6b31a409f2e6210"
|