Registry / other / ruma-identifiers

ruma-identifiers

JSON →
library0.22.1rscratesunverified

Deprecated: crate merged into ruma-common.

# Cargo.toml [dependencies] ruma-identifiers = "0.22.1"
INSTALL
IMPORT
SIG · RUMA-IDENTIFIERS
R
ruma-identifiers
otherrustv0.22.1
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.

UserId
use ruma_identifiers::UserId;

Parses a Matrix user ID.

use ruma_identifiers::UserId; fn main() { let user = UserId::parse("@user:example.com").unwrap(); println!("{}", user); }
Debug
Known issues
breakingThis crate is deprecated; use ruma-common instead.
fix
Replace `ruma-identifiers` with `ruma-common` in Cargo.toml and update imports.
affects: >=0.22.0
Upgrade
Version history
0.22.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
ruma-identifiers — cargo add ruma-identifiers · libregistry