Skip to content

Commit

Permalink
configure Cargo workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuddeback committed Jul 2, 2017
1 parent 9101f1d commit a70816d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
@@ -0,0 +1,2 @@
[workspace]
members = ["serial-core", "serial-unix", "serial-windows", "serial"]
2 changes: 1 addition & 1 deletion serial-unix/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
keywords = ["serial", "hardware", "system", "RS232"]

[dependencies]
serial-core = { path = "../serial-core" }
serial-core = { version = "0.4", path = "../serial-core" }
libc = "0.2.1"
termios = "0.2.2"
ioctl-rs = "0.1.5"
2 changes: 1 addition & 1 deletion serial-windows/Cargo.toml
Expand Up @@ -11,5 +11,5 @@ readme = "README.md"
keywords = ["serial", "hardware", "system", "RS232"]

[dependencies]
serial-core = { path = "../serial-core" }
serial-core = { version = "0.4", path = "../serial-core" }
libc = "0.2"
6 changes: 3 additions & 3 deletions serial/Cargo.toml
Expand Up @@ -11,10 +11,10 @@ readme = "README.md"
keywords = ["serial", "hardware", "system", "RS232"]

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

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

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

0 comments on commit a70816d

Please sign in to comment.