Skip to content

Commit

Permalink
remove hook from default features
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrchien committed Dec 19, 2023
1 parent 10c3332 commit de7b926
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
14 changes: 12 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tokio = { version = "1", features = ["macros"] }


[features]
default = ["hook", "proxy", "balance", "multi-thread", "transport", "brutal-shutdown" ]
default = ["proxy", "balance", "multi-thread", "transport", "brutal-shutdown"]
hook = ["realm_core/hook"]
proxy = ["realm_core/proxy"]
brutal-shutdown = ["realm_core/brutal-shutdown"]
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The `realm` binary will be available in `target/release`.
- jemalloc: custom memory allocator.
- page-alloc: custom memory allocator.

Default: hook + proxy + balance + transport + brutal-shutdown + multi-thread.
Default: proxy + balance + transport + brutal-shutdown + multi-thread.

See also: [Cargo.toml](Cargo.toml).

Expand Down Expand Up @@ -101,7 +101,7 @@ Or have a look at [Cross](https://github.com/cross-rs/cross), it makes things ea
## Usage

```shell
Realm 2.5.0 [hook][proxy][balance][brutal][transport][multi-thread]
Realm 2.5.0 [proxy][balance][brutal][transport][multi-thread]
A high efficiency relay tool

USAGE:
Expand Down
2 changes: 1 addition & 1 deletion realm_hook/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ license = "MIT"

[dependencies]
once_cell = "1"
libloading = "0.7"
libloading = "0.8"

0 comments on commit de7b926

Please sign in to comment.