Sven Kanoldt

Results 105 comments of Sven Kanoldt

a bit time back we changed the behavior or the `--git` argument. It only accepts proper urls anymore. So you have 3 options of using it now: 1. `cargo generate...

closing it as known limitations with a possible workaround.

I believe we made some improvements here. So for now I'll close it. Feel free to open specific issues for portions that needs more love.

I totally missed it. > but maybe we should move the text on the liquid filters to its own chapter under templates - like we have one for the Rhai...

Hey @Andrew15-5, that's a very good question! I've seen this stuff first some time ago in a `Cargo.toml` like ```toml [target.'cfg(target_arch = "x86_64")'.dependencies] ``` and I found it quite creepy....

Sorry, I found it [this code here](https://github.com/cargo-generate/cargo-generate/blob/main/src/lib.rs#L689) actually takes care of the conditional evaluation. And, the whole logic is not backed by toml as I thought but by our rhai...

it's a simple [rhai expression](https://docs.rs/rhai/1.17.1/rhai/struct.Engine.html#method.eval_expression) that is evaluated.

I think we have a solution meanwhile, and things are fixed.

I see. It's right, the default values should take place if there are missing defined values.