Closed VorpalBlade closed 4 months ago
Hi @VorpalBlade, thank you for the report. Mirroring Rhai's feature flag seems reasonable to me, so I made a quick PR here https://github.com/ltabis/rhai-autodocs/pull/30. I tested it on my end and it seems to work fine, but I would encourage you to try it with your code.
I seem unable to test it. Usually the following works:
[patch.crates-io]
rhai-autodocs = { git = "https://github.com/ltabis/rhai-autodocs.git", branch = "fix/feature_flags#29" }
I suspect cargo gets confused by the #
? I tested url-encoding it as well to no avail.
I cloned it and used a path override instead, this seems to have worked. Build and behaviour seems to work fine. Thanks!
You can use rhai-autodocs 0.6.2 now https://github.com/ltabis/rhai-autodocs/releases/tag/v0.6.2
If you use rhai with
no_float
, then rhai-autodocs doesn't build. Due to feature unification I don't think there is a way around this. Probably rhai-autodocs also need ano_float
flag and to disable that float code if rhai is built without it?