Registry / networking / matrix-sdk-base

matrix-sdk-base

JSON →
library0.18.0rscratesunverified

The base component to build a Matrix client library, providing core types and client abstractions.

# Cargo.toml [dependencies] matrix-sdk-base = "0.18.0"
INSTALL
IMPORT
SIG · MATRIX-SDK-BASE
M
matrix-sdk-base
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_base::Client;

Initialize a Matrix client using the base SDK.

use matrix_sdk_base::Client; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let client = Client::new().await?; Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (e.g., tokio) to function.
fix
Add tokio as a dependency and use #[tokio::main] or another async runtime.
affects: >=0.1.0
Upgrade
Version history
0.18.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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