Skip to content

Commit

Permalink
Merge branch 'master' into refactor/log_levels
Browse files Browse the repository at this point in the history
  • Loading branch information
tetter27 committed Sep 9, 2024
2 parents a5f4226 + 242d6c7 commit 85d938c
Show file tree
Hide file tree
Showing 36 changed files with 139 additions and 313 deletions.
95 changes: 0 additions & 95 deletions .circleci/config.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .circleci/get_token.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .circleci/post_coverage.sh

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Lint

on:
pull_request:
branches:
- master

jobs:
lint-and-test:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Install Clippy and Rustfmt
run: |
rustup component add clippy
rustup component add rustfmt
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Check code formatting
run: cargo fmt -- --check
- name: Run Unit Tests
run: cargo test
pretiier:
runs-on: ubuntu-latest
container:
image: cimg/node:21.6.2
steps:
- uses: actions/checkout@v4
- name: Install Prettier
run: npm install ./js
- name: Check code formatting
run: npx prettier --check "js/**/*.{js,jsx,ts,tsx,json,css,md}"
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions moqt-client-sample/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]

# [features]
# default = ["console_error_panic_hook", "wee_alloc"]
[features]
default = ["console_error_panic_hook"]

[dependencies]
bytes = "1.5.0"
cfg-if = "1.0.0"
console_error_panic_hook = "0.1.2"
console_error_panic_hook = { version = "0.1.7", optional = true }
js-sys = "0.3.64"
serde = { version = "1.0.188", features = ["derive"] }
serde-wasm-bindgen = "0.6.0"
Expand All @@ -36,3 +35,6 @@ features = [
'ReadableStream',
'WritableStream',
]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
Loading

0 comments on commit 85d938c

Please sign in to comment.