File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ pub struct SubmitResponse {
6666 pub transaction_id : Option < String > ,
6767 pub anchored_at : Option < i64 > ,
6868 pub error : Option < String > ,
69+ }
6970
7071#[ derive( Debug , Deserialize ) ]
7172pub struct RevokeRequest {
@@ -95,6 +96,7 @@ pub struct HistoryResponse {
9596 pub transactions : Vec < TransactionRecord > ,
9697 pub count : usize ,
9798 pub cached : bool ,
99+ }
98100
99101#[ derive( Debug , Serialize ) ]
100102pub struct ValidationErrorResponse {
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ use axum::{
77} ;
88use serde:: { Deserialize , Serialize } ;
99use std:: sync:: Arc ;
10+ use stellar_doc_verifier:: app;
11+ use stellar_doc_verifier:: cache:: { CacheBackend , RedisCache } ;
12+ use stellar_doc_verifier:: config:: AppConfig ;
13+ use stellar_doc_verifier:: metrics:: MetricsRegistry ;
14+ use stellar_doc_verifier:: stellar:: StellarClient ;
15+ use stellar_doc_verifier:: * ;
1016use tokio:: net:: TcpListener ;
1117use tower_http:: trace:: TraceLayer ;
1218use tracing:: { info, warn} ;
1319use tracing_subscriber:: EnvFilter ;
14- use stellar_doc_verifier:: * ;
15- use stellar_doc_verifier:: stellar:: StellarClient ;
16- use stellar_doc_verifier:: cache:: { CacheBackend , RedisCache } ;
17- use stellar_doc_verifier:: metrics:: MetricsRegistry ;
18- use stellar_doc_verifier:: config:: AppConfig ;
19- use stellar_doc_verifier:: app;
2020
2121#[ tokio:: main]
2222async fn main ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
You can’t perform that action at this time.
0 commit comments