Skip to content

Commit

Permalink
Cargo-toml updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-fritchman committed Sep 16, 2021
1 parent a265ede commit bc50822
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 62 deletions.
25 changes: 3 additions & 22 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'layout21'",
"name": "Debug unit tests in library 'layout21tetris'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=layout21"
"--package=layout21tetris"
],
"filter": {
"name": "layout21",
"name": "layout21tetris",
"kind": "lib"
}
},
Expand All @@ -80,25 +80,6 @@
"args": [],
"cwd": "${workspaceFolder}/layout21raw"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'layout21macros'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=layout21macros"
],
"filter": {
"name": "layout21macros",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ members = [
"layout21tetris",
"layout21meta",
"layout21utils",
"layout21macros",
]
8 changes: 5 additions & 3 deletions gds21/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[package]
name = "gds21"
version = "0.1.1"
description = "Gds21 Integrated Circuit Layout Parser & Writer"
name = "gds21"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
license = "BSD-3-Clause"
repository = "https://github.com/dan-fritchman/Layout21"
authors = ["Dan Fritchman <dan@fritch.mn>"]
version = "0.2.0"
workspace = "../"

[dependencies]
# Local workspace dependencies
Expand Down
9 changes: 0 additions & 9 deletions layout21macros/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions layout21macros/src/lib.rs

This file was deleted.

11 changes: 8 additions & 3 deletions layout21meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
[package]
description = "Layout21 Meta-Crate, re-exporting all internally defined crates"
name = "layout21meta"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
description = "Layout21 meta-crate"
edition = "2018"
name = "layout21meta"
version = "0.1.0"
license = "BSD-3-Clause"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.2.0"
workspace = "../"

[dependencies]
gds21 = {path = "../gds21", features = ["selftest"]}
layout21protos = {path = "../layout21protos"}
layout21raw = {path = "../layout21raw"}
layout21tetris = {path = "../layout21tetris"}
layout21utils = {path = "../layout21utils"}
lef21 = {path = "../lef21"}
12 changes: 9 additions & 3 deletions layout21meta/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Re-export all of the meta-dependencies
//! # Layout21 Meta-Crate
//!
//! Re-exports all internally defined crates
//!
pub use gds21;
pub use layout21protos;
pub use layout21raw;
pub use layout21protos as protos;
pub use layout21raw as raw;
pub use layout21tetris as tetris;
pub use layout21utils as utils;
pub use lef21;
9 changes: 7 additions & 2 deletions layout21protos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[package]
name = "layout21protos"
desc = "Layout21 ProtoBuf Definitions"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
name = "layout21protos"
version = "0.1.0"
license = "BSD-3-Clause"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.2.0"
workspace = "../"

[dependencies]
prost = "0.8.0"
Expand Down
9 changes: 7 additions & 2 deletions layout21raw/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[package]
name = "layout21raw"
desc = "Layout21 Raw-Format Integrated Circuit Layout"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
name = "layout21raw"
version = "0.1.0"
license = "BSD-3-Clause"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.2.0"
workspace = "../"

[dependencies]
# Local workspace dependencies
Expand Down
11 changes: 6 additions & 5 deletions layout21tetris/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
desc = "Layout21 Gridded 'Tetris' Integrated Circuit Layout"
name = "layout21tetris"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
name = "layout21"
version = "0.1.0"
license = "BSD-3-Clause"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.2.0"
workspace = "../"

[dependencies]
Expand All @@ -16,7 +20,4 @@ num-integer = "0.1"
num-traits = "0.2"
serde = {version = "1.0", features = ["derive"]}
serde_derive = "1.0.88"
serde_json = "1.0"
serde_yaml = "0.8"
slotmap = {version = "1.0", features = ["serde"]}
toml = "0.5.7"
7 changes: 4 additions & 3 deletions layout21utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
authors = ["Dan Fritchman <dan@fritch.mn>"]
description = "Layout21 Internal Utility Crate"
name = "layout21utils"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
license = "BSD-3-Clause"
name = "layout21utils"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.1.0"
version = "0.2.0"
workspace = "../"

[dependencies]
Expand Down
10 changes: 4 additions & 6 deletions lef21/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
authors = ["Dan Fritchman <dan@fritch.mn>"]
description = "Library Exchange Format (LEF) Integrated Circuit Layout Parser & Writer"
name = "lef21"
# Shared layout21 attributes
authors = ["Dan Fritchman <dan@fritch.mn>"]
edition = "2018"
license = "BSD-3-Clause"
name = "lef21"
repository = "https://github.com/dan-fritchman/Layout21"
version = "0.1.0"
version = "0.2.0"
workspace = "../"

[dependencies]
Expand All @@ -19,6 +20,3 @@ num-traits = "0.2"
rust_decimal = {version = "1.14.3"}
serde = {version = "1.0", features = ["derive"]}
serde_derive = "1.0.88"
serde_json = "1.0"
serde_yaml = "0.8"
toml = "0.5.7"

0 comments on commit bc50822

Please # to comment.