Open srid opened 1 year ago
To implement this, simply look at how we defined the crateName
option:
Looks like we can avoid this option entirely by adding this to Cargo.toml
?
[package.metadata.docs.rs]
all-features = true
cargo-args = ["--document-private-items"]
https://github.com/srid/cargo-doc-live/blob/fb1d4439d847f01ce4ccf1905d1630c1994569b0/flake-module.nix#L57
Instead of hardcoding
--document-private-items --all-features
, allow the user to specify them as module options. Eg.: