Skip to content

Commit

Permalink
refactor: lib-bin split to allow benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
Nereuxofficial committed Sep 6, 2023
1 parent 61b4030 commit b866f36
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 1,257 deletions.
11 changes: 4 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ license = "GPLv3"
readme = "README.md"
edition = "2021"

[workspace]

[dependencies]
lib = {path = "lib"}
# Convenient error handling
color-eyre = "0.6.2"
# Logging
Expand All @@ -32,12 +35,6 @@ serde_with = {version="3.1.0", features = ["hex"]}

# Tokio Console Support
console-subscriber = "0.1.10"
# For Websocket support
tokio-tungstenite = "0.20.0"
# For TLS support
tokio-rustls = { version="0.24.1", features = ["dangerous_configuration"], optional = true }
rustls = { version="0.21.6", features = ["dangerous_configuration"], optional = true }

[profile.release]
debug = true
codegen-units = 1
Expand All @@ -48,4 +45,4 @@ tcp = []
# TODO: Add quic, ws support
quic = []
websocket = []
tls = ["dep:tokio-rustls", "dep:rustls"]
tls = ["lib/tls"]
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pull requests are welcome. For major changes, please open an issue first to disc
Currently, the Windows build is failing in the ci, however i've only tested this on Linux so far. Maybe it works on Windows, maybe it doesn't. I don't know. Pull Requests to fix this if necessary are welcome.

## Trophies
All bugs found with this software. If you find a bug using rusty-FUME, please open an issue and i'll add it to the list.
All bugs found with this software. If you find a bug using rusty-FUME, please open an issue and I'll add it to the list once it is patched.
- [FlashMQ Null pointer dereference](https://github.com/halfgaar/FlashMQ/commit/eb3acf88771af3eeddf086e4c9dc51d703456eee)


Expand Down
206 changes: 0 additions & 206 deletions src/main.rs

This file was deleted.

Loading

0 comments on commit b866f36

Please sign in to comment.