zkvc 0.1.0

A Rust crate for building zero-knowledge proof-based volunteer computing systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub enum VerificationResponse {
    Valid {
        #[serde(skip_serializing_if = "Option::is_none")]
        result: Option<Vec<String>>,
    },
    Invalid {
        reason: String,
    },
    Error {
        error: String,
    },
}