File tree Expand file tree Collapse file tree 10 files changed +64
-179
lines changed Expand file tree Collapse file tree 10 files changed +64
-179
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ MULTI_REGION ?= 1
7
7
8
8
ALL_FEATURES := integration-tests
9
9
10
- INTEGRATION_TEST_ARGS := --no-default-features -- features "integration-tests"
10
+ INTEGRATION_TEST_ARGS := --features "integration-tests"
11
11
12
12
default : check
13
13
14
14
check :
15
- cargo check --all --all-targets --no-default-features -- features " ${ALL_FEATURES} "
15
+ cargo check --all --all-targets --features " ${ALL_FEATURES} "
16
16
cargo fmt -- --check
17
- cargo clippy --all-targets --no-default-features -- features " ${ALL_FEATURES} " -- -D clippy::all
17
+ cargo clippy --all-targets --features " ${ALL_FEATURES} " -- -D clippy::all
18
18
19
19
unit-test :
20
20
cargo test --all --no-default-features
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ impl From<crate::proto::kvrpcpb::KeyError> for Error {
120
120
/// A result holding an [`Error`](enum@Error).
121
121
pub type Result < T > = result:: Result < T , Error > ;
122
122
123
+ #[ doc( hidden) ]
123
124
#[ macro_export]
124
125
macro_rules! internal_err {
125
126
( $e: expr) => ( {
Original file line number Diff line number Diff line change 95
95
#![ allow( clippy:: field_reassign_with_default) ]
96
96
#![ allow( clippy:: arc_with_non_send_sync) ]
97
97
98
+ pub mod backoff;
99
+ #[ doc( hidden) ]
100
+ pub mod raw;
98
101
pub mod request;
99
102
#[ doc( hidden) ]
100
103
pub mod transaction;
101
104
102
- mod backoff;
103
105
mod common;
104
106
mod compat;
105
107
mod config;
106
108
mod kv;
107
109
mod pd;
108
110
mod proto;
109
- #[ doc( hidden) ]
110
- pub mod raw;
111
111
mod region;
112
112
mod region_cache;
113
113
mod stats;
You can’t perform that action at this time.
0 commit comments