mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-28 05:45:48 +00:00
03d12cb44e
Signed-off-by: strawberry <strawberry@puppygock.gay>
856 B
856 B
Development
Information about developing the project. If you are only interested in using it, you can safely ignore this section. If you plan on contributing, see the contributor's guide.
Debugging with tokio-console
tokio-console
can be a useful tool for debugging and profiling. To make
a tokio-console
-enabled build of Conduwuit, enable the tokio_console
feature,
disable the default release_max_log_level
feature, and set the
--cfg tokio_unstable
flag to enable experimental tokio APIs. A build might
look like this:
RUSTFLAGS="--cfg tokio_unstable" cargo build \
--release \
--no-default-features \
--features=rocksdb,systemd,element_hacks,sentry_telemetry,gzip_compression,brotli_compression,zstd_compression,tokio_console