Skip to content

Commit

Permalink
refactor: define a crate data-json
Browse files Browse the repository at this point in the history
Signed-off-by: Tarek <[email protected]>
  • Loading branch information
tareknaser committed Feb 28, 2024
1 parent b9bab07 commit 9055af4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
members = [
"data-error",
"data-json",
"data-pdf",
"data-resource",
"fs-atomic-versions",
Expand All @@ -10,6 +11,7 @@ members = [

default-members = [
"data-error",
"data-json",
"data-pdf",
"data-resource",
"fs-atomic-versions",
Expand Down
11 changes: 11 additions & 0 deletions data-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "data-json"
version = "0.1.0"
edition = "2021"


[dependencies]
serde_json = "1.0.82"

[dev-dependencies]
rstest = "0.18"
File renamed without changes.
11 changes: 1 addition & 10 deletions fs-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@ edition = "2021"

[dependencies]
data-error = { path = "../data-error" }

thiserror = "1"
reqwest = "0.11.11"
serde_json = "1.0.82"
anyhow = "1"
url = { version = "2.2.2", features = ["serde"] }

[dev-dependencies]
rstest = "0.18"
tempdir = "0.3"
data-json = { path = "../data-json" }
2 changes: 1 addition & 1 deletion fs-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub use data_error as errors;
pub mod json;
pub use data_json as json;

0 comments on commit 9055af4

Please sign in to comment.