Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ jobs:
toolchain: ${{matrix.rust}}
- name: Docs check
run: |
cargo rustdoc -p volo --all-features -- --deny warnings
cargo rustdoc -p volo-build --all-features -- --deny warnings
cargo rustdoc -p volo-grpc --all-features -- --deny warnings
cargo rustdoc -p volo-http --all-features -- --deny warnings
cargo rustdoc -p volo-thrift --all-features -- --deny warnings
cargo +nightly rustdoc -p volo --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
cargo +nightly rustdoc -p volo-build --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
cargo +nightly rustdoc -p volo-grpc --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
cargo +nightly rustdoc -p volo-http --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
cargo +nightly rustdoc -p volo-thrift --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings

test-linux:
runs-on: [self-hosted, Linux, amd64]
Expand Down Expand Up @@ -182,4 +182,4 @@ jobs:
with:
files: lcov.info
fail_ci_if_error: true
verbose: true
verbose: true
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions scripts/selftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ fmt_check() {
}

docs_check() {
echo_and_run cargo rustdoc -p volo --all-features -- --deny warnings
echo_and_run cargo rustdoc -p volo-build --all-features -- --deny warnings
echo_and_run cargo rustdoc -p volo-grpc --all-features -- --deny warnings
echo_and_run cargo rustdoc -p volo-http --all-features -- --deny warnings
echo_and_run cargo rustdoc -p volo-thrift --all-features -- --deny warnings
echo_and_run cargo +nightly rustdoc -p volo --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
echo_and_run cargo +nightly rustdoc -p volo-build --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
echo_and_run cargo +nightly rustdoc -p volo-grpc --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
echo_and_run cargo +nightly rustdoc -p volo-http --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
echo_and_run cargo +nightly rustdoc -p volo-thrift --all-features --config 'build.rustdocflags=["--cfg", "docsrs"]' -- --deny warnings
}

clippy_and_test() {
Expand Down
2 changes: 1 addition & 1 deletion volo-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-grpc"
version = "0.12.0"
version = "0.12.1"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
1 change: 0 additions & 1 deletion volo-grpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
)]
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![allow(clippy::result_large_err)]

pub mod body;
Expand Down
2 changes: 1 addition & 1 deletion volo-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-http"
version = "0.5.1"
version = "0.5.2"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-http/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
html_logo_url = "https://github.com/cloudwego/volo/raw/main/.github/assets/logo.png?sanitize=true"
)]
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(missing_docs)]

pub mod body;
Expand Down
2 changes: 1 addition & 1 deletion volo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo"
version = "0.12.0"
version = "0.12.1"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
html_logo_url = "https://github.com/cloudwego/volo/raw/main/.github/assets/logo.png?sanitize=true"
)]
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub use motore::{Service, layer, layer::Layer, service};
pub use tokio::main;
Expand Down
Loading