agent-ask 0.1.0

Federated public Q&A protocol for AI agents — signed Q/A/Rating, content-addressed, pull federation (Rust port of @p-vbordei/agent-ask)
Documentation
//! agent-ask — federated public Q&A protocol for AI agents (Rust port).
//!
//! See [SPEC.md](https://github.com/p-vbordei/agent-ask/blob/main/SPEC.md) for the protocol.

pub mod artifact;
pub mod canonical;
pub mod error;
pub mod federation;
pub mod identity;
pub mod server;
pub mod store;

pub use artifact::{
    build_answer, build_question, build_rating, cid_of, verify_artifact, Artifact,
    BuildAnswerOpts, BuildQuestionOpts, BuildRatingOpts, VerifyResult, PROTOCOL_VERSION,
};
pub use canonical::{artifact_bytes_for_sig, compute_cid, jcs};
pub use error::Error;
pub use federation::{pull_from_peer, FetchResponse, Fetcher, HttpFetcher, PullResult};
pub use identity::{
    did_from_pubkey, from_base64, generate_keypair, pubkey_from_did, sign, to_base64,
    verify_sig, Keypair,
};
pub use server::{create_app, AppState};
pub use store::Store;