aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml21
-rw-r--r--Cargo.toml7
-rw-r--r--README.md7
3 files changed, 32 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d2dcadf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,21 @@
+language: rust
+cache: cargo
+
+rust:
+ - stable
+ - beta
+ - nightly
+
+matrix:
+ allow_failures:
+ - rust: nightly
+
+before_script:
+ - export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
+ - if [[ $(rustup show active-toolchain) == stable* ]]; then rustup component add rustfmt; fi;
+ - if [[ $(rustup show active-toolchain) == stable* ]]; then rustup component add clippy; fi;
+
+script:
+ - if [[ $(rustup show active-toolchain) == stable* ]]; then cargo fmt -- --check; fi;
+ - if [[ $(rustup show active-toolchain) == stable* ]]; then cargo clippy -- -D clippy; fi;
+ - cargo test --verbose
diff --git a/Cargo.toml b/Cargo.toml
index f540c3c..de57649 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,12 +1,13 @@
[package]
name = "simple-xmlrpc"
-description = "A simple XML-RPC implementation for Rust"
+description = "A simple, no nonsense, XML-RPC implementation for Rust"
license = "MIT"
version = "0.1.0"
authors = ["Kaleb Elwert <belak@coded.io>"]
edition = "2018"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+documentation = "https://docs.rs/simple-xmlrpc"
+repository = "https://github.com/belak/simple-xmlrpc-rs"
+readme = "README.md"
[dependencies]
anyhow = "1.0"
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..eebd533
--- /dev/null
+++ b/README.md
@@ -0,0 +1,7 @@
+# simple-xmlrpc-rs
+
+[![Build Status](https://img.shields.io/travis/belak/simple-xmlrpc-rs)](https://travis-ci.org/belak/simple-xmlrpc-rs)
+[![Crates.io](https://img.shields.io/crates/v/simple-xmlrpc)](https://crates.io/crates/simple-xmlrpc)
+[![Docs](https://img.shields.io/badge/docs-stable-blue)](https://docs.rs/simple-xmlrpc)
+
+A simple XMLRPC library. This is meant to be the minimal needed to build out applications using XMLRPC. No additional parsing, no transports, etc.