Skip to content

Commit 27de3cb

Browse files
authored
chore: add Cargo metadata (#215)
Signed-off-by: Eliza Weisman <[email protected]>
1 parent 6522811 commit 27de3cb

File tree

5 files changed

+73
-4
lines changed

5 files changed

+73
-4
lines changed

console-api/Cargo.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ version = "0.1.0"
44
license = "MIT"
55
edition = "2021"
66
rust-version = "1.56.0"
7+
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>",]
8+
readme = "README.md"
9+
repository = "https://github.com/tokio-rs/console/"
10+
homepage = "https://github.com/tokio-rs/console/blob/main/console-api"
11+
description = """
12+
Protobuf wire format bindings for the Tokio console.
13+
"""
14+
categories = [
15+
"development-tools::debugging",
16+
"development-tools::profiling",
17+
"asynchronous",
18+
]
19+
keywords = [
20+
"tracing",
21+
"tokio-console",
22+
"debugging",
23+
"async",
24+
"non-blocking",
25+
"tonic",
26+
"protobuf",
27+
]
728

829
[features]
930
# Generate code that is compatible with Tonic's `transport` module.
@@ -22,3 +43,8 @@ tracing-core = "0.1.17"
2243
tonic-build = { version = "0.6", default-features = false, features = [
2344
"prost",
2445
] }
46+
47+
48+
[package.metadata.docs.rs]
49+
all-features = true
50+
rustdoc-args = ["--cfg", "docsrs"]

console-subscriber/Cargo.toml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,27 @@ version = "0.1.0"
44
license = "MIT"
55
edition = "2021"
66
rust-version = "1.56.0"
7+
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>",]
8+
readme = "README.md"
9+
repository = "https://github.com/tokio-rs/console/"
10+
homepage = "https://github.com/tokio-rs/console/blob/main/console-subscriber"
11+
description = """
12+
A `tracing-subscriber::Layer` for collecting Tokio console telemetry.
13+
"""
14+
categories = [
15+
"development-tools::debugging",
16+
"development-tools::profiling",
17+
"asynchronous",
18+
]
19+
keywords = [
20+
"tracing",
21+
"tracing-subscriber",
22+
"tokio-console",
23+
"debugging",
24+
"async",
25+
"non-blocking",
26+
]
727

8-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
928
[features]
1029
default = []
1130
parking_lot = ["parking_lot_crate", "tracing-subscriber/parking_lot"]
@@ -30,6 +49,9 @@ parking_lot_crate = { package = "parking_lot", version = "0.11", optional = true
3049
humantime = "2.1.0"
3150

3251
[dev-dependencies]
33-
3452
tokio = { version = "^1.7", features = ["full", "rt-multi-thread"] }
3553
futures = "0.3"
54+
55+
[package.metadata.docs.rs]
56+
all-features = true
57+
rustdoc-args = ["--cfg", "docsrs"]

console-subscriber/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# tokio-console subscriber
22

33
&#x1F4E1;&#xFE0F; A [`tracing-subscriber`] [`Layer`] for collecting
4-
[`tokio-console`] instrumentation.
4+
[`tokio-console`] telemetry.
55

66
[![crates.io][crates-badge]][crates-url]
77
[![Documentation][docs-badge]][docs-url]

console/Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ license = "MIT"
55
repository = "https://github.com/tokio-rs/console"
66
edition = "2021"
77
rust-version = "1.56.0"
8+
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>",]
9+
readme = "README.md"
10+
homepage = "https://github.com/tokio-rs/console/blob/main/console"
11+
description = """
12+
The Tokio console: a debugger for async Rust.
13+
"""
14+
categories = [
15+
"development-tools::debugging",
16+
"development-tools::profiling",
17+
"command-line-utilities",
18+
"asynchronous",
19+
]
20+
keywords = [
21+
"tracing",
22+
"tokio-console",
23+
"debugging",
24+
"console",
25+
"async",
26+
"non-blocking",
27+
]
828

929
[dependencies]
1030
atty = "0.2"

console/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# tokio-console CLI
22

3-
&#x1f39b;&#xfe0f; The [`tokio-console`] command-line application.
3+
&#x1f39b;&#xfe0f; The [Tokio console][`tokio-console`]: a debugger for
4+
asynchronous Rust programs.
45

56
[![crates.io][crates-badge]][crates-url]
67
[![Documentation][docs-badge]][docs-url]

0 commit comments

Comments
 (0)