Skip to content

Commit c98aefe

Browse files
committed
first commit
0 parents  commit c98aefe

File tree

4 files changed

+360
-0
lines changed

4 files changed

+360
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
.idea
3+
.vscode

Cargo.lock

+341
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "xray-rust"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
notify = "5.0.0"

src/main.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use notify::{Watcher, RecursiveMode, watcher};
2+
use std::sync::mpsc::channel;
3+
use std::time::Duration;
4+
5+
fn main() {
6+
let (sender, receiver) = channel();
7+
}

0 commit comments

Comments
 (0)