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:
parent
f1a8a216a5
commit
5d15031b38
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue