doc: use snippet for rust code example and make sure rust examples run through CI (#885)

This commit is contained in:
Lei Xu
2024-01-28 14:30:30 -08:00
committed by GitHub
parent e41a52863a
commit b9c5323265
8 changed files with 141 additions and 91 deletions

View File

@@ -70,6 +70,8 @@ jobs:
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features
- name: Run examples
run: cargo run --example simple
macos:
timeout-minutes: 30
strategy: