Skip to content

Commit e62e716

Browse files
committed
chore: add MSRV cargo metadata (#1730)
This branch adds the `[package.rust]` metadata to `Cargo.toml` for all crates. See https://rust-lang.github.io/rfcs/2495-min-rust-version.html for details.
1 parent 6461d6b commit e62e716

File tree

15 files changed

+15
-0
lines changed

15 files changed

+15
-0
lines changed

Diff for: examples/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "tracing-examples"
33
version = "0.0.0"
44
publish = false
55
edition = "2018"
6+
rust = "1.42.0"
67

78
[features]
89
default = []

Diff for: tracing-appender/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ categories = [
1818
]
1919
keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"]
2020
edition = "2018"
21+
rust = "1.51.0"
2122

2223
[dependencies]
2324
crossbeam-channel = "0.5.0"

Diff for: tracing-attributes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ keywords = ["logging", "tracing", "macro", "instrument", "log"]
2828
license = "MIT"
2929
readme = "README.md"
3030
edition = "2018"
31+
rust = "1.42.0"
3132

3233
[lib]
3334
proc-macro = true

Diff for: tracing-core/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ categories = [
2424
]
2525
keywords = ["logging", "tracing", "profiling"]
2626
edition = "2018"
27+
rust = "1.42.0"
2728

2829
[features]
2930
default = ["std"]

Diff for: tracing-error/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ keywords = [
3232
"backtrace"
3333
]
3434
edition = "2018"
35+
rust = "1.42.0"
3536

3637
[features]
3738
default = ["traced-error"]

Diff for: tracing-flame/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ categories = [
1919
"asynchronous",
2020
]
2121
keywords = ["tracing", "subscriber", "flamegraph", "profiling"]
22+
rust = "1.42.0"
2223

2324
[features]
2425
default = ["smallvec"]

Diff for: tracing-futures/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ categories = [
1616
]
1717
keywords = ["logging", "profiling", "tracing", "futures", "async"]
1818
license = "MIT"
19+
rust = "1.42.0"
1920

2021
[features]
2122
default = ["std-future", "std"]

Diff for: tracing-journald/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ categories = [
1313
"development-tools::profiling",
1414
]
1515
keywords = ["tracing", "journald"]
16+
rust = "1.42.0"
1617

1718
[dependencies]
1819
tracing-core = { path = "../tracing-core", version = "0.1.10" }

Diff for: tracing-log/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ categories = [
1515
keywords = ["logging", "tracing", "log"]
1616
license = "MIT"
1717
readme = "README.md"
18+
rust = "1.42.0"
1819

1920
[features]
2021
default = ["log-tracer", "trace-logger", "std"]

Diff for: tracing-macros/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ categories = [
1515
]
1616
keywords = ["logging", "tracing"]
1717
license = "MIT"
18+
rust = "1.42.0"
1819

1920
[dependencies]
2021
tracing = "0.1.18"

Diff for: tracing-opentelemetry/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ categories = [
1717
keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"]
1818
license = "MIT"
1919
edition = "2018"
20+
rust = "1.42.0"
2021

2122
[features]
2223
default = ["tracing-log"]

Diff for: tracing-serde/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ categories = [
1616
"encoding",
1717
]
1818
keywords = ["logging", "tracing", "serialization"]
19+
rust = "1.42.0"
1920

2021
[dependencies]
2122
serde = "1"

Diff for: tracing-subscriber/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ categories = [
2020
"asynchronous",
2121
]
2222
keywords = ["logging", "tracing", "metrics", "subscriber"]
23+
rust = "1.42.0"
2324

2425
[features]
2526

Diff for: tracing-tower/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ categories = [
1515
]
1616
keywords = ["logging", "tracing"]
1717
license = "MIT"
18+
rust = "1.42.0"
1819

1920
[features]
2021
default = ["tower-layer", "tower-make"]

Diff for: tracing/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ categories = [
2525
]
2626
keywords = ["logging", "tracing", "metrics", "async"]
2727
edition = "2018"
28+
rust = "1.42.0"
2829

2930
[dependencies]
3031
tracing-core = { path = "../tracing-core", version = "0.1.21", default-features = false }

0 commit comments

Comments
 (0)