61 releases

new 0.10.1-rc8 Feb 12, 2025
0.10.0 Dec 23, 2024
0.10.0-rc9 Nov 13, 2024
0.10.0-rc4 Jul 31, 2024
0.0.2 Nov 24, 2022

#15 in Magic Beans

Download history 22/week @ 2024-10-31 70/week @ 2024-11-07 62/week @ 2024-11-14 19/week @ 2024-11-21 1/week @ 2024-12-05 1/week @ 2024-12-12 110/week @ 2024-12-19 23/week @ 2024-12-26 134/week @ 2025-01-09 101/week @ 2025-01-16 332/week @ 2025-01-23 167/week @ 2025-01-30 43/week @ 2025-02-06

702 downloads per month
Used in 2 crates

CAL-1.0 license

130KB
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

~18–38MB
~556K SLoC