setup initial project skeleton

This commit is contained in:
connorwalsh 2018-04-11 15:24:51 -04:00
parent 83e01c9c91
commit 7bb4450592
5 changed files with 16 additions and 1 deletions

View file

@ -3,4 +3,7 @@ name = "sstv"
version = "0.1.0"
authors = ["connorwalsh <c@polygon.pizza>"]
[lib]
path = "src/lib.rs"
[dependencies]

3
examples/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("yooo")
}

4
src/encode/mod.rs Normal file
View file

@ -0,0 +1,4 @@
pub fn read_img() {
println!("OKOK");
println!(env!("CARGO_MANIFEST_DIR"));
}

1
src/lib.rs Normal file
View file

@ -0,0 +1 @@
pub mod encode;

View file

@ -1,3 +1,7 @@
extern crate sstv;
use sstv::encode;
fn main() {
println!("Hello, world!");
encode::read_img()
}