Registry / networking / matrix-sdk

matrix-sdk

JSON →
library0.18.0rscratesunverified

A high level Matrix client-server library for building Matrix clients.

# Cargo.toml [dependencies] matrix-sdk = "0.18.0"
INSTALL
IMPORT
SIG · MATRIX-SDK
M
matrix-sdk
networkingrustv0.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use matrix_sdk::Client;

Creates a new Matrix client connected to the specified homeserver.

use matrix_sdk::Client; async fn main() -> Result<(), Box<dyn std::error::Error>> { let client = Client::new("https://matrix.org").await?; println!("Client created"); Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) to run.
fix
Add `tokio` as a dependency and use `#[tokio::main]` or similar.
affects: >=0.1.0
Upgrade
Version history
0.18.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
1
Resources
matrix-sdk — cargo add matrix-sdk · libregistry