File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed
src/event_scanner/scanner Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 8686 - name : Clippy Check
8787 run : cargo clippy --all-targets --all-features -- -D warnings -D clippy::pedantic
8888
89+ cargo-doc :
90+ name : Cargo doc
91+ runs-on : ubuntu-latest
92+
93+ steps :
94+ - name : Harden the runner (Audit all outbound calls)
95+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
96+ with :
97+ egress-policy : audit
98+
99+ - name : Fetch Repository
100+ uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
101+
102+ - name : Install stable toolchain
103+ uses : actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
104+
105+ - name : Rustdoc Check
106+ run : cargo doc --no-deps --all-features
107+ env :
108+ RUSTDOCFLAGS : -D warnings
109+
89110 typos-cli :
90111 name : typos
91112 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -217,7 +217,8 @@ impl EventScannerBuilder<Unspecified> {
217217 /// EventScannerBuilder::sync().from_latest(10);
218218 /// ```
219219 ///
220- /// See the [sync module documentation](sync) for details on each mode.
220+ /// See [`from_block`](EventScannerBuilder::from_block) and
221+ /// [`from_latest`](EventScannerBuilder::from_latest) for details on each mode.
221222 #[ must_use]
222223 pub fn sync ( ) -> EventScannerBuilder < Synchronize > {
223224 EventScannerBuilder :: default ( )
@@ -316,7 +317,7 @@ impl EventScannerBuilder<Unspecified> {
316317 /// [subscribe]: EventScanner::subscribe
317318 /// [start]: EventScanner::start
318319 /// [sync_from_latest]: EventScannerBuilder::from_latest
319- /// [reorg]: ScannerStatus::ReorgDetected
320+ /// [reorg]: crate:: ScannerStatus::ReorgDetected
320321 #[ must_use]
321322 pub fn latest ( count : usize ) -> EventScannerBuilder < LatestEvents > {
322323 EventScannerBuilder :: < LatestEvents > :: new ( count)
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ impl EventScannerBuilder<Synchronize> {
9696 /// confirmations. On reorg, emits [`ScannerStatus::ReorgDetected`][reorg], adjusts the next
9797 /// confirmed window (possibly re-emitting confirmed portions), and continues streaming.
9898 ///
99- /// [subscribe]: from_latest::SyncFromLatestEventScanner ::subscribe
100- /// [start]: from_latest::SyncFromLatestEventScanner ::start
99+ /// [subscribe]: crate::EventScanner ::subscribe
100+ /// [start]: crate::event_scanner::EventScanner ::start
101101 /// [reorg]: crate::types::ScannerStatus::ReorgDetected
102102 /// [switch_to_live]: crate::types::ScannerStatus::SwitchingToLive
103103 #[ must_use]
@@ -201,8 +201,8 @@ impl EventScannerBuilder<Synchronize> {
201201 /// [`ScannerStatus::ReorgDetected`][reorg], adjusts the next confirmed window (possibly
202202 /// re-emitting confirmed portions), and continues streaming.
203203 ///
204- /// [subscribe]: from_latest::SyncFromLatestEventScanner ::subscribe
205- /// [start]: from_latest::SyncFromLatestEventScanner ::start
204+ /// [subscribe]: crate::EventScanner ::subscribe
205+ /// [start]: crate::event_scanner::EventScanner ::start
206206 /// [reorg]: crate::types::ScannerStatus::ReorgDetected
207207 /// [switch_to_live]: crate::types::ScannerStatus::SwitchingToLive
208208 #[ must_use]
You can’t perform that action at this time.
0 commit comments