From e62e7165f48b274f833856b5279a2a25db5d3114 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 19 Nov 2021 16:21:19 -0800 Subject: [PATCH] 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. --- examples/Cargo.toml | 1 + tracing-appender/Cargo.toml | 1 + tracing-attributes/Cargo.toml | 1 + tracing-core/Cargo.toml | 1 + tracing-error/Cargo.toml | 1 + tracing-flame/Cargo.toml | 1 + tracing-futures/Cargo.toml | 1 + tracing-journald/Cargo.toml | 1 + tracing-log/Cargo.toml | 1 + tracing-macros/Cargo.toml | 1 + tracing-opentelemetry/Cargo.toml | 1 + tracing-serde/Cargo.toml | 1 + tracing-subscriber/Cargo.toml | 1 + tracing-tower/Cargo.toml | 1 + tracing/Cargo.toml | 1 + 15 files changed, 15 insertions(+) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 1ecc7bf221..c8bc237345 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -3,6 +3,7 @@ name = "tracing-examples" version = "0.0.0" publish = false edition = "2018" +rust = "1.42.0" [features] default = [] diff --git a/tracing-appender/Cargo.toml b/tracing-appender/Cargo.toml index c47711eefa..60dda02d10 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -18,6 +18,7 @@ categories = [ ] keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"] edition = "2018" +rust = "1.51.0" [dependencies] crossbeam-channel = "0.5.0" diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 9fa17dfae0..5b48606f15 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -28,6 +28,7 @@ keywords = ["logging", "tracing", "macro", "instrument", "log"] license = "MIT" readme = "README.md" edition = "2018" +rust = "1.42.0" [lib] proc-macro = true diff --git a/tracing-core/Cargo.toml b/tracing-core/Cargo.toml index 4c97523692..04473f5d65 100644 --- a/tracing-core/Cargo.toml +++ b/tracing-core/Cargo.toml @@ -24,6 +24,7 @@ categories = [ ] keywords = ["logging", "tracing", "profiling"] edition = "2018" +rust = "1.42.0" [features] default = ["std"] diff --git a/tracing-error/Cargo.toml b/tracing-error/Cargo.toml index 21ec0f8b9a..1319ca12a0 100644 --- a/tracing-error/Cargo.toml +++ b/tracing-error/Cargo.toml @@ -32,6 +32,7 @@ keywords = [ "backtrace" ] edition = "2018" +rust = "1.42.0" [features] default = ["traced-error"] diff --git a/tracing-flame/Cargo.toml b/tracing-flame/Cargo.toml index a55263cebc..8a24865d7e 100644 --- a/tracing-flame/Cargo.toml +++ b/tracing-flame/Cargo.toml @@ -19,6 +19,7 @@ categories = [ "asynchronous", ] keywords = ["tracing", "subscriber", "flamegraph", "profiling"] +rust = "1.42.0" [features] default = ["smallvec"] diff --git a/tracing-futures/Cargo.toml b/tracing-futures/Cargo.toml index c5275d6bb1..0607245a29 100644 --- a/tracing-futures/Cargo.toml +++ b/tracing-futures/Cargo.toml @@ -16,6 +16,7 @@ categories = [ ] keywords = ["logging", "profiling", "tracing", "futures", "async"] license = "MIT" +rust = "1.42.0" [features] default = ["std-future", "std"] diff --git a/tracing-journald/Cargo.toml b/tracing-journald/Cargo.toml index 8c733367d7..1cee7fb9f8 100644 --- a/tracing-journald/Cargo.toml +++ b/tracing-journald/Cargo.toml @@ -13,6 +13,7 @@ categories = [ "development-tools::profiling", ] keywords = ["tracing", "journald"] +rust = "1.42.0" [dependencies] tracing-core = { path = "../tracing-core", version = "0.1.10" } diff --git a/tracing-log/Cargo.toml b/tracing-log/Cargo.toml index c72c302bf5..1ba84784b4 100644 --- a/tracing-log/Cargo.toml +++ b/tracing-log/Cargo.toml @@ -15,6 +15,7 @@ categories = [ keywords = ["logging", "tracing", "log"] license = "MIT" readme = "README.md" +rust = "1.42.0" [features] default = ["log-tracer", "trace-logger", "std"] diff --git a/tracing-macros/Cargo.toml b/tracing-macros/Cargo.toml index c49adb98c5..4f3418b46f 100644 --- a/tracing-macros/Cargo.toml +++ b/tracing-macros/Cargo.toml @@ -15,6 +15,7 @@ categories = [ ] keywords = ["logging", "tracing"] license = "MIT" +rust = "1.42.0" [dependencies] tracing = "0.1.18" diff --git a/tracing-opentelemetry/Cargo.toml b/tracing-opentelemetry/Cargo.toml index fb302f4488..9d3c191a08 100644 --- a/tracing-opentelemetry/Cargo.toml +++ b/tracing-opentelemetry/Cargo.toml @@ -17,6 +17,7 @@ categories = [ keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"] license = "MIT" edition = "2018" +rust = "1.42.0" [features] default = ["tracing-log"] diff --git a/tracing-serde/Cargo.toml b/tracing-serde/Cargo.toml index 8e7d21508b..552580ce46 100644 --- a/tracing-serde/Cargo.toml +++ b/tracing-serde/Cargo.toml @@ -16,6 +16,7 @@ categories = [ "encoding", ] keywords = ["logging", "tracing", "serialization"] +rust = "1.42.0" [dependencies] serde = "1" diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index f1177dfe9a..c29d0f1190 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -20,6 +20,7 @@ categories = [ "asynchronous", ] keywords = ["logging", "tracing", "metrics", "subscriber"] +rust = "1.42.0" [features] diff --git a/tracing-tower/Cargo.toml b/tracing-tower/Cargo.toml index f67c0d5d0d..f828a1c8a8 100644 --- a/tracing-tower/Cargo.toml +++ b/tracing-tower/Cargo.toml @@ -15,6 +15,7 @@ categories = [ ] keywords = ["logging", "tracing"] license = "MIT" +rust = "1.42.0" [features] default = ["tower-layer", "tower-make"] diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index e8997c7988..a5abc364b1 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -25,6 +25,7 @@ categories = [ ] keywords = ["logging", "tracing", "metrics", "async"] edition = "2018" +rust = "1.42.0" [dependencies] tracing-core = { path = "../tracing-core", version = "0.1.21", default-features = false }