Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GDS to JSON/ YAML/ TOML Conversion CLI #35

Merged
merged 12 commits into from
Dec 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add gds21::GdsLibrary Json Schema
  • Loading branch information
dan-fritchman committed Dec 19, 2022
commit c5cd5e8726395865ba766f6fdf742b6fee8f2e82
1 change: 1 addition & 0 deletions gds21/Cargo.toml
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ serde = {version = "1.0", features = ["derive"]}
serde_derive = "1.0.88"
serde_json = "1.0"
tempfile = {version = "3", optional = true}
schemars = {version = "0.8.10" }

[dev-dependencies]
tempfile = {version = "3"}
32 changes: 31 additions & 1 deletion gds21/resources/empty.gds.json
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
{"name":"empty","version":3,"dates":{"modified":{"DateTime":"1970-01-01T00:00:01"},"accessed":{"DateTime":"1970-01-01T00:00:01"}},"units":[0.001,1e-9],"structs":[]}
{
"name": "empty",
"version": 3,
"dates": {
"modified": {
"DateTime": {
"year": 70,
"month": 1,
"day": 1,
"hour": 0,
"minute": 0,
"second": 1
}
},
"accessed": {
"DateTime": {
"year": 70,
"month": 1,
"day": 1,
"hour": 0,
"minute": 0,
"second": 1
}
}
},
"units": [
0.001,
1e-9
],
"structs": []
}
Loading