diff --git a/.cargo/config.toml b/.cargo/config.toml index 35049cbcb..9c41044f8 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,7 @@ +# Local builds pick up the optional craft-fonts checkout next to this repo (Inter etc.). When the +# directory is missing the build warns and carries on with egui's bundled fonts and system fonts. +[env] +CRAFT_FONTS_DIR = { value = "../craft-fonts", relative = true } + [alias] xtask = "run --package xtask --"