Skip to content

Commit

Permalink
Add initial cargo crate layout. (#3)
Browse files Browse the repository at this point in the history
* Add initial cargo crate layout.

This change applies the basic repository layout discussed in

Fixes #1

* Extend Cargo.toml with more info
  • Loading branch information
daschl authored Feb 19, 2018
1 parent 4261b56 commit c4ae896
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target/
Cargo.lock
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[workspace]
members = [
"opentracing-api",
"opentracing-noop",
"opentracing-mock"
]
13 changes: 13 additions & 0 deletions opentracing-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "opentracing-api"
version = "0.1.0" # remember to update html_root_url
authors = ["The OpenTracing Developers"]
license = "Apache-2.0"
homepage = "http://opentracing.io"
repository = "https://github.com/opentracing/opentracing-rust"
description = "OpenTracing API for Rust"
documentation = "https://docs.rs/opentracing-api"
keywords = ["opentracing", "tracing"]

[badges]
maintenance = { status = "actively-developed" }
1 change: 1 addition & 0 deletions opentracing-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#![doc(html_root_url = "https://docs.rs/opentracing-api/0.1.0")]
13 changes: 13 additions & 0 deletions opentracing-mock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "opentracing-mock"
version = "0.1.0" # remember to update html_root_url
authors = ["The OpenTracing Developers"]
license = "Apache-2.0"
homepage = "http://opentracing.io"
repository = "https://github.com/opentracing/opentracing-rust"
description = "A OpenTracing Mock Tracer"
documentation = "https://docs.rs/opentracing-mock"
keywords = ["opentracing", "tracing"]

[badges]
maintenance = { status = "actively-developed" }
1 change: 1 addition & 0 deletions opentracing-mock/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#![doc(html_root_url = "https://docs.rs/opentracing-mock/0.1.0")]
13 changes: 13 additions & 0 deletions opentracing-noop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "opentracing-noop"
version = "0.1.0" # remember to update html_root_url
authors = ["The OpenTracing Developers"]
license = "Apache-2.0"
homepage = "http://opentracing.io"
repository = "https://github.com/opentracing/opentracing-rust"
description = "A OpenTracing Noop Tracer"
documentation = "https://docs.rs/opentracing-noop"
keywords = ["opentracing", "tracing"]

[badges]
maintenance = { status = "actively-developed" }
1 change: 1 addition & 0 deletions opentracing-noop/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#![doc(html_root_url = "https://docs.rs/opentracing-noop/0.1.0")]

0 comments on commit c4ae896

Please sign in to comment.