dfinity / cdk-rs

Rust canister development kit for the Internet Computer.
Apache License 2.0
202 stars 88 forks source link

chore: bump dependencies & improve doc tests #484

Closed lwshang closed 6 months ago

lwshang commented 6 months ago

Description

cargo test --all-targets doesn't run the doc-tests. So I add an explicit command cargo test --doc.

It revealed that the doc-tests of ic-cdk-macros fail. To pass the macros doc-tests, I move the doc comments from ic-cdk-macros to ic-cdk.

I also noticed that there were some broken link in the docs. To prevent such issues in the future, I added a doc job in ci.yml.

This PR also bumps syn and serde_tokenstream which had outdated major versions.

How Has This Been Tested?

CI

Checklist: