sausage-plugin part 1: run, #[rpc], #[schema], rpc.discover, calls, locks, Ctx, hooks
Checkpoint. Known issues, fixed in part 2: short writes on stdout, byte-wise stdin reads, Result suffix on all result schemas, lost enum variant docs, serde errors as invalid params, missing item docs.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
//! Require method documentation.
|
||||
struct Bad;
|
||||
#[sausage_plugin::rpc]
|
||||
impl Bad { fn bad(&self)->sausage_plugin::Result<()> {Ok(())} }
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user