Skip to content
This repository was archived by the owner on Jun 4, 2020. It is now read-only.

Commit 92d6652

Browse files
authored
Merge pull request #18 from hug-dev/lints
Add stronger CI lints
2 parents a6acde2 + b125f9d commit 92d6652

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v1
18-
- run: cargo clippy --all-targets --all-features -- -D warnings
18+
- run: cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo
1919

2020
build:
2121
name: Build

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
--->
1717
# Contributing to `parsec-client-test`
1818

19-
Contributions to PARSEC need to follow the process below.
19+
Contributions to Parsec need to follow the process below.
2020

2121
* Contributions are done through GitHub pull-requests.
2222
* Contributors need to apply `rustfmt` and `clippy` to their Rust code.

Cargo.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
[package]
22
name = "parsec-client-test"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
authors = ["Paul Howard <[email protected]>",
55
"Ionut Mihalcea <[email protected]>",
66
"Hugues de Valon <[email protected]>"]
7+
description = "Parsec Test Client library to perform integration testing with the Parsec service"
8+
license = "Apache-2.0"
9+
repository = "https://github.com/parallaxsecond/parsec-client-test"
10+
readme = "README.md"
11+
keywords = ["parsec", "testing"]
12+
categories = ["development-tools"]
713
edition = "2018"
14+
publish = false
815

916
[dependencies]
10-
parsec-interface = { git = "https://github.com/parallaxsecond/parsec-interface-rs", tag = "0.6.0" }
17+
parsec-interface = { git = "https://github.com/parallaxsecond/parsec-interface-rs", tag = "0.6.1" }
1118
num = "0.2.0"
1219
rand = "0.7.2"
1320
log = "0.4.8"

PARSEC.png

-4.06 KB
Binary file not shown.

src/abstract_test_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ impl TestClient {
283283
Ok(())
284284
}
285285

286-
/// Lists the provider available for the PARSEC service.
286+
/// Lists the provider available for the Parsec service.
287287
pub fn list_providers(&mut self) -> Result<Vec<ProviderInfo>> {
288288
let result = self.send_operation(NativeOperation::ListProviders(OpListProviders {}))?;
289289

src/lib.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@
1717
const_err,
1818
dead_code,
1919
improper_ctypes,
20-
legacy_directory_ownership,
2120
non_shorthand_field_patterns,
2221
no_mangle_generic_items,
2322
overflowing_literals,
2423
path_statements,
2524
patterns_in_fns_without_body,
26-
plugin_as_library,
2725
private_in_public,
28-
safe_extern_statics,
2926
unconditional_recursion,
3027
unused,
3128
unused_allocation,
@@ -43,10 +40,12 @@
4340
unused_results,
4441
missing_copy_implementations
4542
)]
46-
//! # PARSEC Test Client library
43+
// This one is hard to avoid.
44+
#![allow(clippy::multiple_crate_versions)]
45+
//! # Parsec Test Client library
4746
//!
48-
//! This library exposes minimal functions to communicate with the PARSEC service as a real client
49-
//! would do. It is used to perform integration tests on the PARSEC service as a whole.
47+
//! This library exposes minimal functions to communicate with the Parsec service as a real client
48+
//! would do. It is used to perform integration tests on the Parsec service as a whole.
5049
//!
5150
//! It contains three subclients to communicate on different abstraction levels.
5251
//!

0 commit comments

Comments
 (0)