-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- feat: reactive (async request-reply) websocket server - feat: periodic broadcast websocket server - feat: endpoint based pubsub broadcast websocket server - feat: re-export used dependencies to avoid dependencies nightmare - feat: sentry option to capture panic - feat: re-export MiMalloc as a secure memory allocator option
- Loading branch information
Showing
12 changed files
with
1,323 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Compile Tests | ||
run: cargo build --verbose | ||
- name: Unit Tests | ||
run: cargo test | ||
- name: Linter | ||
run: cargo clippy --all-targets --all-features -- -D warnings --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
# Compiled files and executables | ||
/target | ||
|
||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
Cargo.lock | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# VSCode | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
[package] | ||
name = "bitwyre_ws_core" | ||
version = "0.1.0" | ||
edition = "2018" | ||
publish = false | ||
|
||
|
||
# Profiles (used by cargo build/test/bench) | ||
|
||
[profile.dev] | ||
opt-level = 0 | ||
debug = true | ||
rpath = false | ||
lto = false | ||
debug-assertions = true | ||
codegen-units = 16 | ||
panic = 'unwind' | ||
incremental = true | ||
overflow-checks = true | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
debug = false | ||
rpath = false | ||
lto = true | ||
debug-assertions = false | ||
codegen-units = 1 | ||
panic = 'abort' | ||
incremental = false | ||
overflow-checks = false | ||
|
||
[profile.test] | ||
opt-level = 0 | ||
debug = 2 | ||
rpath = false | ||
lto = false | ||
debug-assertions = true | ||
codegen-units = 16 | ||
incremental = true | ||
overflow-checks = true | ||
|
||
[profile.bench] | ||
opt-level = 3 | ||
debug = false | ||
rpath = false | ||
lto = true | ||
debug-assertions = false | ||
codegen-units = 16 | ||
incremental = false | ||
overflow-checks = false | ||
|
||
|
||
# Package dependencies | ||
|
||
[dependencies] | ||
openssl = { version = "*", features = ["vendored"] } | ||
serde = { version = "*", features = ["derive"] } | ||
serde_json = "*" | ||
chrono = { version = "*", features = ["serde"] } | ||
uuid = { version = "=0.7.*", features = ["serde", "v4"] } | ||
actix = "*" | ||
actix-rt = "*" | ||
actix-server = "=0.6.*" | ||
actix-codec = "*" | ||
actix-web = "*" | ||
actix-web-actors = "*" | ||
env_logger = "=0.7.1" | ||
url = "*" | ||
log = "*" | ||
sentry = "*" | ||
futures = "*" | ||
futures-locks = "*" | ||
crossbeam-channel = "*" | ||
crossbeam-utils = "*" | ||
mimalloc = { version = "*", default-features = false } |
Oops, something went wrong.