From 96d34952c1fb2cf096b6c907feada60b0db27a8f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 16 Apr 2022 17:36:07 +0300 Subject: remove examples --- examples/serdeser.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 examples/serdeser.rs (limited to 'examples/serdeser.rs') diff --git a/examples/serdeser.rs b/examples/serdeser.rs deleted file mode 100644 index 4fdfdc2..0000000 --- a/examples/serdeser.rs +++ /dev/null @@ -1,16 +0,0 @@ -use gradecoin::schema::Transaction; -use serde_json; - -pub fn main() { - - let tx = Transaction { - source: "fingerprint_of_some_guy".to_owned(), - target: "31415926535897932384626433832795028841971693993751058209749445923".to_owned(), - amount: 2, - timestamp: chrono::NaiveDate::from_ymd(2021, 04, 13).and_hms(20, 55, 30), - }; - - let tx_string = serde_json::to_string(&tx).unwrap(); - - println!("{}", &tx_string); -} -- cgit v1.2.3-70-g09d2