title: How am I messing up these modules?
body: <p>I'm trying to create a crate that has a library and one or more binaries. I've looked at <a href="https://stackoverflow.com/questions/26946646/rust-package-with-both-a-library-and-a-binary">Rust package with both a library and a binary?</a> and <a href="http://rust.dev/book/crates-and-modules.html" rel="nofollow noreferrer">the Rust book section on crates and modules</a> but am still running into errors when I try and compile.</p>
  
  <p>I've included the relevant sections of each file (I think).</p>
  
  <p>../cargo.toml:</p>
  
  <pre><code>[package]
  name = "plotmote"
  version = "0.1.0"
  authors = ["Camden Narzt &lt;my@nice.email&gt;"]
  
  [lib]
  name = "lib_plotMote"
  path = "src/lib.rs"
  
  [[bin]]
  name = "plotMote"
  path = "src/main.rs"
  </code></pre>
  
  <p>lib.rs:</p>
  
  <pre><code>pub mod lib_plotMote;
  </code></pre>
  
  <p>lib_plotMote/mod.rs:</p>
  
  <pre><code>pub mod LogstreamProcessor;
  </code></pre>
  
  <p>lib_plotMote/LogstreamProcessor.rs:</p>
  
  <pre><code>pub struct LogstreamProcessor {
  </code></pre>
  
  <p>main.rs:</p>
  
  <pre><code>extern crate lib_plotMote;
  use lib_plotMote::LogStreamProcessor;
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>cargo build
     Compiling plotmote v0.1.0 (file:///Users/camdennarzt/Developer/Rust/plotmote)
  main.rs:6:5: 6:37 error: unresolved import `lib_plotMote::LogStreamProcessor`. There is no `LogStreamProcessor` in `lib_plotMote` [E0432]
  </code></pre>