* add explicit permission error handling * create error_helpers as mod to keep main.rs succint * rename error_helpers -> startup_helpers
21 lines
354 B
Rust
21 lines
354 B
Rust
#[macro_use]
|
|
extern crate rust_embed;
|
|
|
|
pub mod startup_helpers;
|
|
pub mod lightclient;
|
|
pub mod grpcconnector;
|
|
pub mod lightwallet;
|
|
pub mod commands;
|
|
|
|
|
|
#[derive(RustEmbed)]
|
|
#[folder = "zcash-params/"]
|
|
pub struct SaplingParams;
|
|
|
|
pub const ANCHOR_OFFSET: u32 = 4;
|
|
|
|
|
|
pub mod grpc_client {
|
|
include!(concat!(env!("OUT_DIR"), "/cash.z.wallet.sdk.rpc.rs"));
|
|
}
|