-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-merge for PR #107 via VersionBot
Transitioning to CircleCI and running latest clippy and rustfmt
- Loading branch information
Showing
18 changed files
with
312 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
build: &build | ||
docker: | ||
- image: majorz/rust-$CIRCLE_JOB:rust-1.23.0 | ||
steps: | ||
- checkout | ||
- run: cargo build | ||
|
||
version: 2 | ||
|
||
jobs: | ||
aarch64: | ||
<<: *build | ||
rpi: | ||
<<: *build | ||
armv7hf: | ||
<<: *build | ||
i386: | ||
<<: *build | ||
amd64: | ||
<<: *build | ||
test: | ||
docker: | ||
- image: majorz/rust-test-deploy:rust-nightly-2018-01-08 | ||
steps: | ||
- checkout | ||
- run: cargo fmt -- --write-mode=diff | ||
- run: cargo clippy -- -D warnings | ||
|
||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- test | ||
build: | ||
jobs: | ||
- aarch64 | ||
- rpi | ||
- armv7hf | ||
- i386 | ||
- amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ indent_size = 4 | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,4 @@ | ||
dist: trusty | ||
sudo: required | ||
language: rust | ||
cache: cargo | ||
rust: | ||
- nightly | ||
- beta | ||
- stable | ||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -yq --no-install-recommends libdbus-1-dev | ||
install: | ||
- type -p cargo-install-update || cargo install cargo-update | ||
- cargo install-update -i cargo-update | ||
- cargo install-update -i rustfmt | ||
- if [ $TRAVIS_RUST_VERSION == nightly ]; then | ||
cargo install-update -i clippy; | ||
fi | ||
script: | ||
- cargo fmt -- --write-mode=diff | ||
- if [ $TRAVIS_RUST_VERSION == nightly ]; then | ||
cargo clippy -- -D warnings; | ||
fi | ||
- cargo build | ||
language: generic | ||
script: printf 'empty' | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "network-manager" | ||
version = "0.8.2" | ||
version = "0.8.3" | ||
authors = ["Joseph Roberts <[email protected]>", "Zahari Petkov <[email protected]>"] | ||
description = "Rust NetworkManager bindings" | ||
homepage = "https://github.com/resin-io-modules/network-manager" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,28 @@ | ||
network-manager | ||
============== | ||
=============== | ||
|
||
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/resin-io-modules/NetworkManager/blob/master/LICENSE) | ||
[![Build Status](https://travis-ci.org/resin-io-modules/network-manager.svg?branch=master)](https://travis-ci.org/resin-io-modules/network-manager) | ||
> Rust NetworkManager bindings | ||
[![Current Release](https://img.shields.io/github/release/resin-io-modules/network-manager.svg?style=flat-square)](https://github.com/resin-io-modules/network-manager/releases/latest) | ||
[![CircleCI status](https://img.shields.io/circleci/project/github/resin-io-modules/network-manager.svg?style=flat-square)](https://circleci.com/gh/resin-io-modules/network-manager) | ||
[![License](https://img.shields.io/github/license/resin-io-modules/network-manager.svg?style=flat-square)](https://github.com/resin-io-modules/network-manager/blob/master/LICENSE) | ||
[![Issues](https://img.shields.io/github/issues/resin-io-modules/network-manager.svg?style=flat-square)](https://github.com/resin-io-modules/network-manager/issues) | ||
|
||
<div align="center"> | ||
<sub>an open source :satellite: project by <a href="https://resin.io">resin.io</a></sub> | ||
</div> | ||
|
||
*** | ||
|
||
Support | ||
------- | ||
|
||
If you're having any problem, please [raise an issue](https://github.com/resin-io-modules/network-manager/issues/new) on GitHub or [contact us](https://resin.io/community/), and the resin.io team will be happy to help. | ||
|
||
*** | ||
|
||
License | ||
------- | ||
|
||
network-manager is free software, and may be redistributed under the terms specified in | ||
the [license](https://github.com/resin-io-modules/network-manager/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,2 @@ | ||
array_layout = "Block" | ||
chain_indent = "Block" | ||
control_style = "Rfc" | ||
fn_args_layout = "Block" | ||
fn_args_paren_newline = false | ||
fn_call_style = "Block" | ||
fn_call_width = 80 | ||
match_block_trailing_comma = true | ||
struct_lit_multiline_style = "ForceMulti" | ||
struct_lit_style = "Block" | ||
use_try_shorthand = true |
Oops, something went wrong.