Registry / other / lemmy-api-common

lemmy-api-common

JSON →
library0.19.19rscratesunverified

A link aggregator for the fediverse, providing common API types and utilities for Lemmy.

# Cargo.toml [dependencies] lemmy_api_common = "0.19.19"
INSTALL
IMPORT
SIG · LEMMY-API-COMMON
L
lemmy-api-common
otherrustv0.19.19
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.

LemmyError
use lemmy_api_common::LemmyError;

Create a Lemmy error instance.

use lemmy_api_common::LemmyError; fn main() { let error = LemmyError::new("Something went wrong"); println!("Error: {}", error); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.19.19latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lemmy-api-common — cargo add lemmy-api-common · libregistry