From 74d1ade88414e543e1d7ec969edf7f725f7af152 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sun, 2 Oct 2022 01:26:17 +0200 Subject: [PATCH] Docs: Mention building with bundled roots --- docs/src/installing.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/src/installing.md b/docs/src/installing.md index 8aa2e19..d6b2a9a 100644 --- a/docs/src/installing.md +++ b/docs/src/installing.md @@ -42,17 +42,19 @@ Build and install the tool via cargo... ## Build From Source -Debug build with logging enabled: - - $ cargo build --features logging - -Release build without logging: +Release build: $ cargo build --release -To enable the log output, set the `RUST_LOG` env variable: +Release build with bundled CA roots: - $ export RUST_LOG=tldr=debug + $ cargo build --release --no-default-features --features webpki-roots + +Debug build with logging support: + + $ cargo build --features logging + +(To enable logging at runtime, export the `RUST_LOG=tldr=debug` env variable.) ## Autocompletion