document hot_lib for developers a bit
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
ed86a4aa9e
commit
9c0c4c292c
5 changed files with 28 additions and 13 deletions
|
@ -18,14 +18,16 @@ rust-version = "1.76.0"
|
|||
|
||||
# for hot lib reload
|
||||
[workspace]
|
||||
members = ["lib"]
|
||||
members = ["hot_lib"]
|
||||
|
||||
[dependencies]
|
||||
console-subscriber = { version = "0.1", optional = true }
|
||||
|
||||
# for hot lib reload
|
||||
# see https://github.com/rksm/hot-lib-reloader-rs?tab=readme-ov-file#usage for more details if you are a dev
|
||||
hot-lib-reloader = { version = "^0.7", optional = true }
|
||||
lib = { path = "lib", optional = true }
|
||||
hot_lib = { path = "hot_lib", optional = true }
|
||||
# not sure if we need this, will anyone be using hot lib reload on release profile?
|
||||
#no-mangle-if-debug = { version = "*" }
|
||||
|
||||
# Used for secure identifiers
|
||||
|
@ -406,7 +408,7 @@ perf_measurements = [
|
|||
# incompatible with release_max_log_level
|
||||
tokio_console = ["console-subscriber", "tokio/tracing"]
|
||||
|
||||
hot_reload = ["dep:hot-lib-reloader", "lib"]
|
||||
hot_reload = ["dep:hot-lib-reloader", "hot_lib"]
|
||||
|
||||
hardened_malloc = ["hardened_malloc-rs"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue