64 releases

new 0.10.1-release-candidate-… Apr 14, 2025
0.10.1-release-candidate-… Feb 20, 2025
0.10.0 Dec 23, 2024
0.10.0-rc9 Nov 13, 2024
0.0.2 Nov 24, 2022

#614 in Magic Beans

Download history 34/week @ 2024-12-25 80/week @ 2025-01-08 155/week @ 2025-01-15 251/week @ 2025-01-22 240/week @ 2025-01-29 18/week @ 2025-02-05 117/week @ 2025-02-12 131/week @ 2025-02-19 65/week @ 2025-02-26 122/week @ 2025-04-02 78/week @ 2025-04-09

200 downloads per month
Used in 2 crates

CAL-1.0 license

135KB
4.5K SLoC

Rust 3K SLoC // 0.0% comments GraphQL 1K SLoC // 0.0% comments

AD4M client library in Rust

This is a library for interacting with the AD4M executor / agent, analogous to https://www.npmjs.com/package/@coasys/ad4m.

Usage

use ad4m_client::Ad4mClient;

let executor_url = "http://localhost:4000".to_string();
let cap_token = read_capability_token_from_file();

let ad4m_client = Ad4mClient::new(executor_url, cap_token);

println!("{:?}", ad4m_client.agent.me()?);

Until documentation will be added, have a look at the AD4M cli code for a full usage example: https://github.com/perspect3vism/ad4m/tree/main/cli.

Dependencies

~20–36MB
~595K SLoC