Skip to content

Commit

Permalink
moves serial crate to subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuddeback committed Jul 2, 2017
1 parent cc82d8b commit 81e382f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml → serial/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ readme = "README.md"
keywords = ["serial", "hardware", "system", "RS232"]

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

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

[target.'cfg(windows)'.dependencies]
serial-windows = { path = "./serial-windows" }
serial-windows = { path = "../serial-windows" }
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/probe_pins.rs → serial/examples/probe_pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const SETTINGS: serial::PortSettings = serial::PortSettings {
char_size: serial::Bits8,
parity: serial::ParityNone,
stop_bits: serial::Stop1,
flow_control: serial::FlowNone
flow_control: serial::FlowNone,
};

fn main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/read_write.rs → serial/examples/read_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const SETTINGS: serial::PortSettings = serial::PortSettings {
char_size: serial::Bits8,
parity: serial::ParityNone,
stop_bits: serial::Stop1,
flow_control: serial::FlowNone
flow_control: serial::FlowNone,
};

fn main() {
Expand Down
File renamed without changes.

0 comments on commit 81e382f

Please sign in to comment.