Skip to content

Commit

Permalink
Prepare for 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
LVala committed Jan 25, 2024
1 parent 184e7de commit aa0d2f5
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: cargo binstall --no-confirm --version ~0.18 trunk
- name: Compile the client
working-directory: ./client
run: trunk build --release
run: trunk build --release --dist ../dist
- name: Install rtpeeker
run: cargo install --locked --path .

Expand Down
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
name = "rtpeeker"
version = "0.1.0"
edition = "2021"
include = ["/client"]
license = "MIT"
description = "RTP streams analysis and visualization tool"
homepage = "https://github.com/LVala/rtpeeker/"
repository = "https://github.com/LVala/rtpeeker/"
readme = "README.md"
keywords = ["streaming", "RTP", "networking"]
categories = ["development-tools", "multimedia", "visualization"]
include = ["/dist/"]

[dependencies]
rtpeeker_common = { path = "./common", version = "0.1" }
Expand Down
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
# RTPeeker

_Work in progress_
![CI](https://img.shields.io/github/actions/workflow/status/LVala/rtpeeker/ci.yml)
![crates.io](https://img.shields.io/crates/v/rtpeeker)

RTP streams analysis and visualization tool.

_Work in progress..._

## Installation

_TODO_
Supports Linux and MacOS.

1. RTPeeker depends on `libpcap`, make sure to install it:

```shell
# installed on MacOS by default

# for Ubuntu
sudo apt install libpcap-dev

# for Arch
sudo pacman -S libpcap
```

2. Install RTPeeker using the [Rust toolchain](https://www.rust-lang.org/tools/install):

```shell
cargo install --locked rtpeeker
```

3. Run RTPeeker:

```shell
rtpeeker --help
```
5 changes: 5 additions & 0 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
name = "rtpeeker_common"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Crate with common utilities for rtpeeker"
homepage = "https://github.com/LVala/rtpeeker/"
repository = "https://github.com/LVala/rtpeeker/"
readme = false

[dependencies]
serde = { version ="1.0", features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const WS_PATH: &str = "ws";
static NEXT_CLIENT_ID: AtomicUsize = AtomicUsize::new(1);

#[derive(RustEmbed)]
#[folder = "client/dist"]
#[folder = "dist"]
struct Asset;

struct Client {
Expand Down

0 comments on commit aa0d2f5

Please sign in to comment.