Skip to content

Commit

Permalink
Remove build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
LVala committed Jan 24, 2024
1 parent a371000 commit a6f0e58
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 67 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
target/
dist/
.idea
.idea
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rtpeeker"
version = "0.1.0"
edition = "2021"
include = ["/client"]

[dependencies]
rtpeeker_common = { path = "./common" }
Expand Down
49 changes: 1 addition & 48 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,4 @@ _Work in progress_

## Installation

1. [Install Rust and cargo](https://www.rust-lang.org/tools/install)

2. Add WASM32 target
```console
rustup target add wasm32-unknown-unknown
```

3. Install native dependencies, for Ubuntu/Debian:
```console
sudo apt install build-essential pkg-config libssl-dev libpcap-dev
```

4. Install Trunk, WASM bundling tool
```console
cargo install --locked trunk
```

5. Install RTPeeker
```console
cargo install --locked --git https://github.com/LVala/rtpeeker --branch easier-install rtpeeker
```

6. Run the app
```console
rtpeeker --help
```

## Usage

List local network interfaces
```console
rtpeeker list
```

Capture from interface "en0" and file `./rtp.pcap`
```console
rtpeeker run -i en0 -f ./rtp.pcap
```

Apply capture filter (the same as in Wireshark or tcpdump)
```console
rtpeeker run -i en0 -c "src 192.0.0.5"
```

Show help explaining these options
```console
rtpeeker --help
```
_TODO_
17 changes: 0 additions & 17 deletions build.rs

This file was deleted.

2 changes: 2 additions & 0 deletions client/dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit a6f0e58

Please sign in to comment.