Skip to content

Commit a70816d

Browse files
committed
configure Cargo workspace
1 parent 9101f1d commit a70816d

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[workspace]
2+
members = ["serial-core", "serial-unix", "serial-windows", "serial"]

serial-unix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ readme = "README.md"
1111
keywords = ["serial", "hardware", "system", "RS232"]
1212

1313
[dependencies]
14-
serial-core = { path = "../serial-core" }
14+
serial-core = { version = "0.4", path = "../serial-core" }
1515
libc = "0.2.1"
1616
termios = "0.2.2"
1717
ioctl-rs = "0.1.5"

serial-windows/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ readme = "README.md"
1111
keywords = ["serial", "hardware", "system", "RS232"]
1212

1313
[dependencies]
14-
serial-core = { path = "../serial-core" }
14+
serial-core = { version = "0.4", path = "../serial-core" }
1515
libc = "0.2"

serial/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ readme = "README.md"
1111
keywords = ["serial", "hardware", "system", "RS232"]
1212

1313
[dependencies]
14-
serial-core = { path = "../serial-core" }
14+
serial-core = { version = "=0.4.0", path = "../serial-core" }
1515

1616
[target.'cfg(unix)'.dependencies]
17-
serial-unix = { path = "../serial-unix" }
17+
serial-unix = { version = "=0.4.0", path = "../serial-unix" }
1818

1919
[target.'cfg(windows)'.dependencies]
20-
serial-windows = { path = "../serial-windows" }
20+
serial-windows = { version = "=0.4.0", path = "../serial-windows" }

0 commit comments

Comments
 (0)