Skip to content

Commit adec4d0

Browse files
authored
refactor: order Cargo.toml (#312)
1 parent 87fb5e4 commit adec4d0

12 files changed

Lines changed: 16 additions & 27 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ members = [
99
"tonic-tracing-opentelemetry",
1010
"tracing-opentelemetry-instrumentation-sdk",
1111
]
12-
1312
exclude = ["target"]
1413

1514
[workspace.package]
1615
edition = "2021"
1716
version = "0.32.0"
18-
authors = ["David Bernard"]
1917
license = "CC0-1.0"
2018
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk"
2119
repository = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk"
2220
rust-version = "1.83.0"
2321

22+
[workspace.metadata.release]
23+
pre-release-commit-message = "🚀 (cargo-release) version {{version}}"
24+
tag-prefix = ""
25+
tag-name = "{{prefix}}{{version}}"
26+
tag-message = "🔖 {{version}}"
27+
2428
[workspace.dependencies]
2529
assert2 = "0.3"
2630
axum = { version = "0.8", default-features = false }
@@ -54,9 +58,3 @@ opt-level = 3
5458

5559
[profile.dev.package.similar]
5660
opt-level = 3
57-
58-
[workspace.metadata.release]
59-
pre-release-commit-message = "🚀 (cargo-release) version {{version}}"
60-
tag-prefix = ""
61-
tag-name = "{{prefix}}{{version}}"
62-
tag-message = "🔖 {{version}}"

axum-tracing-opentelemetry/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/
1212
rust-version.workspace = true
1313
edition.workspace = true
1414
version = "0.32.2"
15-
authors.workspace = true
1615
repository.workspace = true
1716
license.workspace = true
1817

examples/axum-otlp/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "examples-axum-otlp"
33
publish = false
44
edition.workspace = true
55
version.workspace = true
6-
authors.workspace = true
76
repository.workspace = true
87
license.workspace = true
98

examples/bug_234_tls/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "bug_234_tls"
33
publish = false
44
edition.workspace = true
55
version.workspace = true
6-
authors.workspace = true
76
repository.workspace = true
87
license.workspace = true
98

examples/grpc/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "examples-grpc"
33
publish = false
44
edition.workspace = true
55
version.workspace = true
6-
authors.workspace = true
76
repository.workspace = true
87
license.workspace = true
98

examples/init-tracing-with/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "init-tracing-with"
33
publish = false
44
edition.workspace = true
55
version.workspace = true
6-
authors.workspace = true
76
repository.workspace = true
87
license.workspace = true
98

examples/load/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "examples-load"
33
publish = false
44
edition.workspace = true
55
version.workspace = true
6-
authors.workspace = true
76
repository.workspace = true
87
license.workspace = true
98

fake-opentelemetry-collector/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ keywords = ["tracing", "opentelemetry", "faker", "mock"]
66
categories = ["development-tools::testing"]
77
edition.workspace = true
88
version = "0.33.0"
9-
authors.workspace = true
109
repository.workspace = true
1110
license.workspace = true
1211

init-tracing-opentelemetry/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ categories = ["development-tools::debugging", "development-tools::profiling"]
77
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tree/main/init-tracing-opentelemetry"
88
edition.workspace = true
99
version = "0.34.0"
10-
authors.workspace = true
1110
repository.workspace = true
1211
license.workspace = true
1312

13+
[package.metadata.docs.rs]
14+
all-features = true
15+
rustdoc-args = ["--cfg", "docs_rs"]
16+
1417
[dependencies]
1518
opentelemetry = { workspace = true }
1619
opentelemetry-aws = { workspace = true, optional = true, features = ["trace"] }
@@ -82,9 +85,6 @@ metrics = [
8285
"opentelemetry-stdout/metrics",
8386
]
8487

85-
[package.metadata.docs.rs]
86-
all-features = true
87-
rustdoc-args = ["--cfg", "docs_rs"]
88-
88+
[lints]
8989
[lints.rust]
9090
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }

testing-tracing-opentelemetry/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/
88
publish = false
99
edition.workspace = true
1010
version = "0.19.0"
11-
authors.workspace = true
1211
repository.workspace = true
1312
license.workspace = true
1413

0 commit comments

Comments
 (0)