mirror of
https://github.com/asmr-hex/sstv.git
synced 2025-12-06 04:12:02 +01:00
setup initial project skeleton
This commit is contained in:
parent
83e01c9c91
commit
7bb4450592
|
|
@ -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
3
examples/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("yooo")
|
||||
}
|
||||
4
src/encode/mod.rs
Normal file
4
src/encode/mod.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
pub fn read_img() {
|
||||
println!("OKOK");
|
||||
println!(env!("CARGO_MANIFEST_DIR"));
|
||||
}
|
||||
1
src/lib.rs
Normal file
1
src/lib.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod encode;
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
extern crate sstv;
|
||||
|
||||
use sstv::encode;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
encode::read_img()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue