ci: build without deps (#2196)

* ci: build without deps

* warn broken doc links

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
Matthias Seitz 2023-02-27 21:25:07 +01:00 committed by GitHub
parent f1a8a216a5
commit 5d15031b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -139,10 +139,10 @@ jobs:
with:
cache-on-failure: true
- name: cargo doc
run: cargo +nightly doc --lib --all-features
run: cargo doc --no-deps --all --all-features
env:
RUSTFLAGS: --cfg docsrs
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
RUSTDOCFLAGS: --cfg docsrs
wasm:
name: WASM

View File

@ -1,3 +1,9 @@
#![warn(missing_debug_implementations, missing_docs, rust_2018_idioms, unreachable_pub)]
#![allow(rustdoc::broken_intra_doc_links)]
#![doc(test(
no_crate_inject,
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
))]
//! # ethers-rs
//!
//! A complete Ethereum and Celo Rust library.