Skip to content

Commit

Permalink
chore(Cargo): Add more fields in Cargo.toml, add travis.yml badge in …
Browse files Browse the repository at this point in the history
…README.md
  • Loading branch information
shonenada committed Dec 4, 2019
1 parent 922001d commit 9f90291
Show file tree
Hide file tree
Showing 6 changed files with 353 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
# will have compiled files and executables
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
25 changes: 25 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
[package]
name = "roundrobin"
version = "0.1.0"
authors = ["shonenada <[email protected]>"]
authors = ["Yaoda Liu <[email protected]>"]
license = "MIT"
description = "A simple roundrobin implementation."
repository = "https://github.com/shonenada/roundrobin-rs"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
categories = ["web-programming"]
keywords = ["roundrobin"]
include = ["src/**/*", "Cargo.toml", "docs/**/*", "LICENSE", "README.md"]

[dependencies]
log = "0.4"

[badges]
travis-ci = { repository = "shonenada/roundrobin-rs", branch="master" }
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Roundrobin

[![Build Status](https://travis-ci.com/shonenada/roundrobin-rs.svg?branch=master)](https://travis-ci.com/shonenada/roundrobin-rs)

A weighted roundrobin implementation.

## Quick Start
Expand Down
314 changes: 314 additions & 0 deletions examples/wrr_server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion examples/wrr_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "wrr_server"
version = "0.1.0"
authors = ["shonenada <[email protected]>"]
authors = ["Yaoda Liu <[email protected]>"]
edition = "2018"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down

0 comments on commit 9f90291

Please sign in to comment.