From fce791717cdee601deb3f183e3ac2b3f8cfe54d8 Mon Sep 17 00:00:00 2001 From: oupson Date: Fri, 7 Oct 2022 13:20:05 +0200 Subject: [PATCH] Remove useless serde_json error --- Cargo.lock | 1 - rustcryptfs-linux/Cargo.toml | 1 - rustcryptfs-linux/src/error.rs | 3 --- 3 files changed, 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6c681c2..d1e2398 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -570,7 +570,6 @@ dependencies = [ "libc", "log", "rustcryptfs-lib", - "serde_json", "thiserror", ] diff --git a/rustcryptfs-linux/Cargo.toml b/rustcryptfs-linux/Cargo.toml index df25158..cbb3b6f 100644 --- a/rustcryptfs-linux/Cargo.toml +++ b/rustcryptfs-linux/Cargo.toml @@ -10,5 +10,4 @@ fuser = "0.11" log = "0.4" rustcryptfs-lib = { path = "../rustcryptfs-lib" } thiserror = "1.0" -serde_json = "1.0" libc = "0.2" \ No newline at end of file diff --git a/rustcryptfs-linux/src/error.rs b/rustcryptfs-linux/src/error.rs index 6e51870..c0215e7 100644 --- a/rustcryptfs-linux/src/error.rs +++ b/rustcryptfs-linux/src/error.rs @@ -7,9 +7,6 @@ pub enum Error { #[error(transparent)] IoError(#[from] std::io::Error), - #[error(transparent)] - JsonError(#[from] serde_json::Error), - #[error(transparent)] RustCryptFsError(#[from] rustcryptfs_lib::error::Error),