gemstone-rs 0.2.0

Safe Rust client API for GemStone/S over GCI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Does not require a live GemStone/S stone.
//
// Expected output starts with:
//
// output: src/generated/gemstone_wrappers.rs
// // @generated by gemstone-rs codegen. Do not edit by hand.

use gemstone_rs::codegen;

fn main() -> codegen::Result<()> {
    let config = codegen::Config::parse(codegen::sample_config(), None)?;
    let generated = codegen::generate(&config);

    println!("output: {}", generated.output.display());
    println!("{}", generated.source);
    Ok(())
}