Initial multi-file sample rust project
commit
8a79052110
@ -0,0 +1,2 @@
|
||||
/target
|
||||
**/*.rs.bk
|
@ -0,0 +1,4 @@
|
||||
[[package]]
|
||||
name = "meson-rust"
|
||||
version = "0.1.0"
|
||||
|
@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "meson-rust"
|
||||
version = "0.1.0"
|
||||
authors = ["Mahmoud Al-Qudsi <mqudsi@neosmart.net>"]
|
||||
|
||||
[dependencies]
|
@ -0,0 +1,3 @@
|
||||
pub fn bar() -> () {
|
||||
println!("Hello, world!");
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
mod foo;
|
||||
|
||||
fn main() {
|
||||
foo::bar();
|
||||
}
|
Loading…
Reference in New Issue