summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2021-04-17 10:40:13 +0300
committerYuval Adam <_@yuv.al>2021-04-17 10:40:13 +0300
commitf938410c5754ecae07db9e40743e4661f23534a3 (patch)
tree85af57c6667ccaec7e37643c870f5ccdc1ed9f0f
parentc430b4b2f5467a0b86d2312f742e5b4ece4f4bad (diff)
Initial binary skeleton
-rw-r--r--Cargo.toml8
-rw-r--r--src/rustl_fm.rs3
2 files changed, 11 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 171186f..c98590f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,3 +5,11 @@ authors = ["Yuval Adam <_@yuv.al>"]
[dependencies]
rusb = "0.8"
+
+[lib]
+name = "rustl_sdr"
+path = "src/lib.rs"
+
+[[bin]]
+name = "rustl_fm"
+path = "src/rustl_fm.rs"
diff --git a/src/rustl_fm.rs b/src/rustl_fm.rs
new file mode 100644
index 0000000..03c18f1
--- /dev/null
+++ b/src/rustl_fm.rs
@@ -0,0 +1,3 @@
+pub fn main() {
+ println!("Usage: rustl_fm")
+}