Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,26 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

lint:
name: Rustfmt / Clippy
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Fmt
run: cargo fmt --all -- --check

cargo-shear:
name: 'cargo shear'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup show
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install cargo-shear
run: cargo binstall --no-confirm cargo-shear
- run: cargo shear
11 changes: 1 addition & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ path = "src/bin/bench_ua.rs"
[dependencies]
async-trait = "0.1.89"
futures = "0.3.31"
log = "0.4.28"
rsip = { version = "0.4.0" }
thiserror = "2.0.17"
tracing = "0.1.41"
Expand All @@ -35,22 +34,20 @@ futures-util = "0.3.31"
tokio-tungstenite = { version = "0.28.0", optional = true }
tokio-rustls = { version = "0.26.4", optional = true }
rustls-pemfile = { version = "2.2.0", optional = true }
webpki-roots = { version = "1.0.4", optional = true }
rustls = "0.23.35"
clap = { version = "4.5.47", features = ["derive"] }
http = "1.3.1"
nom = "8.0.0"

[features]
default = ["rustls", "websocket", "rsip-dns"]
rustls = ["tokio-rustls", "rustls-pemfile", "webpki-roots"]
rustls = ["tokio-rustls", "rustls-pemfile"]
websocket = ["tokio-tungstenite"]
rsip-dns = ["dep:rsip-dns"]
all-transports = ["rustls", "websocket"]

[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1.47.1", features = ["time", "sync", "macros", "io-util"] }
getrandom = { version = "0.3.4" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.48.0", features = ["full"] }
Expand All @@ -60,15 +57,9 @@ dotenv = "0.15"
sdp-rs = "0.2.1"
rtp-rs = "0.6.0"
stun-rs = "0.1.11"
openai-api-rs = "8.0.1"
base64 = "0.22.1"
serde = "1.0.228"
serde_json = "1.0.145"
dasp = { version = "0.11", features = ["all"] }
axum = { version = "0.8.6", features = ["ws"] }
tower = "0.5.2"
tower-http = { version = "0.6.6", features = ["fs", "cors"] }
hyper = "1.7.0"

[[example]]
name = "client"
Expand Down