title: Rust constants in different modules?
body: <p>I have this "main.rs" file which I declare a version constant. </p>
  
  <pre><code>pub const VERSION: &amp;'static str = "v2";
  mod game;
  fn main() {
     do_stuff();
  }
  </code></pre>
  
  <p>Then I want to access this global constant in a different module "game.rs":</p>
  
  <pre><code>pub fn do_stuff() {
     println!("This is version: {}", VERSION);
  }
  </code></pre>
  
  <p>How do I make the constant available everywhere?</p>