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.
no_std tests
This directory and associated CI configs in .github is a workaround for
issues with the cargo resolver activating features from dev-dependencies
which cause std to get linked in a release target.
It contains small test crates in their own isolated workspace which ensure that
these features are not activated when linking and therefore that the crates
will link in no_std environments when consumed as a dependency of another
no_std-compatible crate.
Here are upstream issues tracking the problem: