Skip to content

Commit a58b910

Browse files
committed
Update Metadata
1 parent e7f7b0d commit a58b910

File tree

6 files changed

+48
-0
lines changed

6 files changed

+48
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name = "json_diff"
33
version = "0.1.0"
44
authors = ["ksceriath"]
55
edition = "2018"
6+
license = "Unlicense"
7+
description = "A small diff tool utility for comparing jsons"
8+
readme = "README.md"
9+
homepage = "https://github.com/ksceriath/json-diff"
10+
repository = "https://github.com/ksceriath/json-diff"
11+
keywords = ["cli", "diff", "json"]
12+
categories = ["command-line-utilities"]
613

714
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
815

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
# json-diff
2+
3+
A small command line utility to compare two jsons.
4+
5+
Usage Example:
6+
json_diff f source1.json source2.json
7+
json_diff d '{...}' '{...}'
8+
9+
Option:
10+
f : read input from json files
11+
d : read input from command line
12+

t1.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"a":"b",
3+
"b":{
4+
"c":{
5+
"d":true,
6+
"e":5,
7+
"f":9,
8+
"h":{
9+
"i":true,
10+
"j":false
11+
}
12+
}
13+
}
14+
}

t2.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"a":"b",
3+
"b":{
4+
"c":{
5+
"d":true,
6+
"e":6,
7+
"g":0,
8+
"h":{
9+
"i":false,
10+
"k":false
11+
}
12+
}
13+
}
14+
}

t3.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

t4.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"a":"b"

0 commit comments

Comments
 (0)