stellar-xdr 30.0.0

Stellar XDR types, encoding, and decoding.
Documentation
1
2
3
4
5
6
7
8
9
10
#![cfg(all(feature = "schemars", feature = "serde", feature = "alloc"))]

#[allow(clippy::too_many_lines)]
#[test]
fn test_serde_tx_schema() -> Result<(), Box<dyn std::error::Error>> {
    let schema = schemars::schema_for!(crate::ScVal);
    let s = serde_json::to_string_pretty(&schema)?;
    println!("{s}");
    Ok(())
}