Skip to content

Commit

Permalink
47: add support for handling name bytes if they have nul
Browse files Browse the repository at this point in the history
 - fixes documentation
 - add documentation test to ci
  • Loading branch information
jac18281828 committed Feb 16, 2024
1 parent bb2c7d6 commit fb93d06
Show file tree
Hide file tree
Showing 9 changed files with 399 additions and 272 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ jobs:
profile: minimal
override: true
- name: Run tests
run: |
cargo test --tests tests -p lib-didethresolver --all-features
env:
CARGO_INCREMENTAL: 0
run: |
cargo test -p lib-didethresolver --all-features --tests tests
id: test
- name: Invoke cargo doc
run: |
rm -rf ./_site
cargo doc --workspace --no-deps
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps
rm -f target/doc/.lock
cp -r target/doc _site
echo "<meta http-equiv=\"refresh\" content=\"0; url=didethresolver\">" > _site/index.html
if [ ! -d _site/lib_didethresolver ]; then
echo "Error: _site/lib_didethresolver does not exist"
exit 1
fi
echo "<meta http-equiv=\"refresh\" content=\"0; url=lib_didethresolver\">" > _site/index.html
echo "Taking care of pedantic permissions requirements required by GitHub Pages"
chmod -R +rX _site
id: docgen
Expand Down
4 changes: 3 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"cargo": {
"args": [
"build",
"--bin=resolver",
"--package=resolver"
],
"filter": {
Expand All @@ -38,6 +37,9 @@
}
},
"args": [],
"env": {
"RPC_URL": "wss://eth-sepolia.g.alchemy.com/v2/",
},
"cwd": "${workspaceFolder}"
},
]
Expand Down
Loading

0 comments on commit fb93d06

Please sign in to comment.