{"id":50454079,"url":"https://github.com/mizcausevic-dev/aeo-sdk-rust","last_synced_at":"2026-06-01T01:05:37.497Z","repository":{"id":357458996,"uuid":"1236267423","full_name":"mizcausevic-dev/aeo-sdk-rust","owner":"mizcausevic-dev","description":"Rust SDK for the AEO Protocol v0.1. Parse, build, validate, and fetch AEO declaration documents. serde + serde_json, optional ureq client. Clippy and rustfmt clean. Loads canonical examples from aeo-protocol-spec.","archived":false,"fork":false,"pushed_at":"2026-05-23T21:40:56.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T23:22:01.506Z","etag":null,"topics":["aeo","aeo-protocol","ai-governance","answer-engine-optimization","crates-io","kinetic-gain-protocol-suite","protocol-implementation","rust","rust-sdk","serde","well-known"],"latest_commit_sha":null,"homepage":"https://github.com/mizcausevic-dev/aeo-sdk-rust","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizcausevic-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-12T05:12:48.000Z","updated_at":"2026-05-23T21:40:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mizcausevic-dev/aeo-sdk-rust","commit_stats":null,"previous_names":["mizcausevic-dev/aeo-sdk-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mizcausevic-dev/aeo-sdk-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizcausevic-dev","download_url":"https://codeload.github.com/mizcausevic-dev/aeo-sdk-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33755379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aeo","aeo-protocol","ai-governance","answer-engine-optimization","crates-io","kinetic-gain-protocol-suite","protocol-implementation","rust","rust-sdk","serde","well-known"],"created_at":"2026-06-01T01:05:37.419Z","updated_at":"2026-06-01T01:05:37.483Z","avatar_url":"https://github.com/mizcausevic-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aeo-sdk-rust\n\n[![Crates.io](https://img.shields.io/crates/v/aeo-protocol.svg)](https://crates.io/crates/aeo-protocol)\n[![docs.rs](https://img.shields.io/docsrs/aeo-protocol.svg)](https://docs.rs/aeo-protocol)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nRust SDK for the [AEO Protocol v0.1](https://github.com/mizcausevic-dev/aeo-protocol-spec) — parse, build, validate, and fetch AEO declaration documents.\n\n## Install\n\n```toml\n[dependencies]\naeo-protocol = \"0.1\"\n```\n\n## Quickstart\n\n```rust\nuse aeo_protocol::{Document, fetch_well_known};\n\nfn main() -\u003e Result\u003c(), aeo_protocol::AeoError\u003e {\n    // Fetch and parse from a live well-known URL\n    let doc = fetch_well_known(\"https://mizcausevic-dev.github.io\")?;\n    println!(\"{}\", doc.entity.name);                    // \"Miz Causevic\"\n    println!(\"{:?}\", doc.claim_ids());                  // [\"current-role\", ...]\n    println!(\"{:?}\", doc.find_claim(\"years-experience\").map(|c| \u0026c.value));\n\n    // Parse from a string\n    let raw = std::fs::read_to_string(\"aeo.json\")?;\n    let parsed = Document::from_json(\u0026raw)?;\n    println!(\"{}\", parsed.to_json()?);\n    Ok(())\n}\n```\n\n## What it does\n\n- **Parse** — `Document::from_json(\u0026str)` returns a strongly-typed `Document`\n- **Build** — `Document`, `Entity`, `Authority`, `Claim`, `Verification`, `CitationPreferences`, `AnswerConstraints`, `Audit` are all public struct types with `serde::Serialize` + `serde::Deserialize`\n- **Serialize** — `doc.to_json()` returns canonical pretty-printed JSON\n- **Fetch** — `fetch_well_known(origin)` performs HTTP discovery against `/.well-known/aeo.json` with `Accept: application/aeo+json, application/json` (feature `client`, on by default)\n- **Query** — `doc.claim_ids()` and `doc.find_claim(id)` helpers\n\n## Features\n\n- `client` (default) — HTTP discovery via [ureq](https://crates.io/crates/ureq). Disable with `default-features = false` for a pure-serde build (no networking).\n\n## Conformance\n\nSupports the AEO Protocol at **conformance Level 1 (Declare)**. Signature verification (L2) and audit-endpoint posting (L3) deferred to v0.2.\n\n## Dependencies\n\n- [serde](https://crates.io/crates/serde) and [serde_json](https://crates.io/crates/serde_json) — JSON model\n- [thiserror](https://crates.io/crates/thiserror) — error type\n- [ureq](https://crates.io/crates/ureq) — HTTP client (optional, `client` feature only)\n\n## Development\n\n```bash\ncargo fmt --check\ncargo clippy --all-targets --all-features -- -D warnings\ncargo test --all-features\n```\n\n## Specification\n\nFull spec at [github.com/mizcausevic-dev/aeo-protocol-spec](https://github.com/mizcausevic-dev/aeo-protocol-spec).\n\n## License\n\nMIT-licensed. Free for commercial and non-commercial use with attribution. The AEO Protocol specification this SDK implements is also MIT (see [aeo-protocol-spec](https://github.com/mizcausevic-dev/aeo-protocol-spec)).\n\n## Kinetic Gain Protocol Suite\n\n| Spec | Implementation |\n|---|---|\n| [AEO Protocol](https://github.com/mizcausevic-dev/aeo-protocol-spec) | [aeo-sdk-python](https://github.com/mizcausevic-dev/aeo-sdk-python) · [aeo-sdk-typescript](https://github.com/mizcausevic-dev/aeo-sdk-typescript) · **aeo-sdk-rust** (this) · [aeo-sdk-go](https://github.com/mizcausevic-dev/aeo-sdk-go) · [aeo-cli](https://github.com/mizcausevic-dev/aeo-cli) · [aeo-crawler](https://github.com/mizcausevic-dev/aeo-crawler) |\n| [Prompt Provenance](https://github.com/mizcausevic-dev/prompt-provenance-spec) | — |\n| [Agent Cards](https://github.com/mizcausevic-dev/agent-cards-spec) | — |\n| [AI Evidence Format](https://github.com/mizcausevic-dev/ai-evidence-format-spec) | — |\n| [MCP Tool Cards](https://github.com/mizcausevic-dev/mcp-tool-card-spec) | — |\n\n---\n\n**Connect:** [LinkedIn](https://www.linkedin.com/in/mirzacausevic/) · [Kinetic Gain](https://kineticgain.com) · [Medium](https://medium.com/@mizcausevic/) · [Skills](https://mizcausevic.com/skills/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-rust/lists"}