Skip to content

Commit

Permalink
Add a workspace Cargo manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Nov 20, 2023
1 parent 22c4b03 commit 979cb0b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ target_wrapper.*
# QtCreator CMake
CMakeLists.txt.user*

# QtCreator 4.8< compilation database
# QtCreator 4.8< compilation database
compile_commands.json

# QtCreator local machine specific files for imported projects
Expand Down Expand Up @@ -1071,4 +1071,8 @@ dkms.conf

.justfile

.vscode
.vscode

# Rust Lang
Cargo.lock
target/
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[workspace]
resolver = "2"
members = [
"oddity-rtsp-protocol",
"oddity-rtsp-server",
"oddity-sdp-protocol"
]
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ stream.
```
Sources: Sessions:
🖥 ️
🖥 ️
┌──────────────────────┐ ┌────────────────┐
│ ~/myvideo.mp4 ├───┐ ┌───►│ PLAY /video/1 │
└──────────────────────┘ │ │ └────────────────┘
│ │ 💻
│ │ 💻
┌──────────────────────┐ │ ┌───────────────┐ │ ┌────────────────┐
│ rtsp://mystream.net/ ├───┼───►│ RTSP SERVER ├───┼───►│ PLAY /stream/1 │
└──────────────────────┘ │ └───────────────┘ │ └────────────────┘
│ │ 🖥️
│ │ 🖥️
┌──────────────────────┐ │ │ ┌────────────────┐
│ http://mystream.com/ ├───┘ └───►│ PLAY /stream/1 │
└──────────────────────┘ └────────────────┘
Expand Down Expand Up @@ -164,6 +164,9 @@ The repo consists of a number of crates, each with their own specific function:

* `oddity-sdp-protocol`: Parsing and serialization for the SDP protocol.

Building these crates from sources requires that both `clang` and `libavdevice`
are available for linking against on your system.

## ✨ Credits

`oddity-rtsp` only exists thanks to the following organizations and people:
Expand All @@ -190,4 +193,4 @@ at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
dual licensed as above, without any additional terms or conditions.

0 comments on commit 979cb0b

Please sign in to comment.