Migrated to anyhow and chrono from failure and time crates.
This commit is contained in:
parent
30ff924e9a
commit
4776132e51
8 changed files with 76 additions and 90 deletions
|
@ -1,9 +1,5 @@
|
|||
// need this for custom derivation
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
extern crate medallion;
|
||||
|
||||
use medallion::{Header, Payload, Token};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Default, Serialize, Deserialize, PartialEq, Debug)]
|
||||
struct Custom {
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
// need this for custom derivation
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
extern crate medallion;
|
||||
|
||||
use medallion::{DefaultPayload, DefaultToken, Header};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Default, Serialize, Deserialize, PartialEq, Debug)]
|
||||
struct Custom {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue