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

Add stronger CI lints #18

Merged
merged 1 commit into from
Feb 4, 2020
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo

build:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
--->
# Contributing to `parsec-client-test`

Contributions to PARSEC need to follow the process below.
Contributions to Parsec need to follow the process below.

* Contributions are done through GitHub pull-requests.
* Contributors need to apply `rustfmt` and `clippy` to their Rust code.
Expand Down
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
[package]
name = "parsec-client-test"
version = "0.1.13"
version = "0.1.14"
authors = ["Paul Howard <[email protected]>",
"Ionut Mihalcea <[email protected]>",
"Hugues de Valon <[email protected]>"]
description = "Parsec Test Client library to perform integration testing with the Parsec service"
license = "Apache-2.0"
repository = "https://github.com/parallaxsecond/parsec-client-test"
readme = "README.md"
keywords = ["parsec", "testing"]
categories = ["development-tools"]
edition = "2018"
publish = false

[dependencies]
parsec-interface = { git = "https://github.com/parallaxsecond/parsec-interface-rs", tag = "0.6.0" }
parsec-interface = { git = "https://github.com/parallaxsecond/parsec-interface-rs", tag = "0.6.1" }
num = "0.2.0"
rand = "0.7.2"
log = "0.4.8"
Expand Down
Binary file removed PARSEC.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/abstract_test_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl TestClient {
Ok(())
}

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

Expand Down
11 changes: 5 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@
const_err,
dead_code,
improper_ctypes,
legacy_directory_ownership,
non_shorthand_field_patterns,
no_mangle_generic_items,
overflowing_literals,
path_statements,
patterns_in_fns_without_body,
plugin_as_library,
private_in_public,
safe_extern_statics,
unconditional_recursion,
unused,
unused_allocation,
Expand All @@ -43,10 +40,12 @@
unused_results,
missing_copy_implementations
)]
//! # PARSEC Test Client library
// This one is hard to avoid.
#![allow(clippy::multiple_crate_versions)]
//! # Parsec Test Client library
//!
//! This library exposes minimal functions to communicate with the PARSEC service as a real client
//! would do. It is used to perform integration tests on the PARSEC service as a whole.
//! This library exposes minimal functions to communicate with the Parsec service as a real client
//! would do. It is used to perform integration tests on the Parsec service as a whole.
//!
//! It contains three subclients to communicate on different abstraction levels.
//!
Expand Down