blob: c41fd67586176f6a919f713892160096d5e6fabe (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
set -e
export CARGO_TARGET_DIR=target
for toml in $(find . -maxdepth 2 -name "Cargo.toml"); do
cargo update --manifest-path $toml || true
features=$(cargo read-manifest --manifest-path $toml | jq -r '.features|keys|join(" ")')
cargo doc --no-deps --manifest-path $toml --features "$features"
done
|