From 61545291510f9f89fb2714c566abf39ce6b80504 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 19 Nov 2021 16:11:00 -0800 Subject: [PATCH] chore: add MSRV cargo metadata 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 9f3ab39402..355dabe1f4 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 6b61ad9436..55b93da048 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 3105ee0935..1c20256578 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 9e3ae1b51f..34ef0d336b 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 48193be622..d0864bddb8 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 cf2a04609c..b3b33f0e51 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 fbe40b1ebd..460fbd3e03 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 11cbbab9bc..cac962c73c 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.2" } diff --git a/tracing-log/Cargo.toml b/tracing-log/Cargo.toml index e7c7078db9..4b025fd4e2 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", "std"] diff --git a/tracing-macros/Cargo.toml b/tracing-macros/Cargo.toml index b7c5ab3d2a..6d984d045c 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 = { path = "../tracing", version = "0.2", default-features = false, features = ["std"] } diff --git a/tracing-opentelemetry/Cargo.toml b/tracing-opentelemetry/Cargo.toml index f7d2934e98..bdd7f13f5b 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 89c9892aa3..de3eb36d72 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" [features] default = ["std"] diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index ab4486d62b..7a7c26aed9 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 1418405df4..96ff8a6a5b 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 1131855742..430b6467d1 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -28,6 +28,7 @@ categories = [ ] keywords = ["logging", "tracing", "metrics", "async"] edition = "2018" +rust = "1.42.0" [dependencies] tracing-core = { path = "../tracing-core", version = "0.2", default-features = false }