Skip to content

Commit

Permalink
chore: add MSRV cargo metadata (#1730)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hawkw committed Nov 20, 2021
1 parent 5a076ed commit 2e24762
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "tracing-examples"
version = "0.0.0"
publish = false
edition = "2018"
rust = "1.42.0"

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions tracing-appender/Cargo.toml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions tracing-attributes/Cargo.toml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tracing-core/Cargo.toml
Expand Up @@ -24,6 +24,7 @@ categories = [
]
keywords = ["logging", "tracing", "profiling"]
edition = "2018"
rust = "1.42.0"

[features]
default = ["std"]
Expand Down
1 change: 1 addition & 0 deletions tracing-error/Cargo.toml
Expand Up @@ -32,6 +32,7 @@ keywords = [
"backtrace"
]
edition = "2018"
rust = "1.42.0"

[features]
default = ["traced-error"]
Expand Down
1 change: 1 addition & 0 deletions tracing-flame/Cargo.toml
Expand Up @@ -19,6 +19,7 @@ categories = [
"asynchronous",
]
keywords = ["tracing", "subscriber", "flamegraph", "profiling"]
rust = "1.42.0"

[features]
default = ["smallvec"]
Expand Down
1 change: 1 addition & 0 deletions tracing-futures/Cargo.toml
Expand Up @@ -16,6 +16,7 @@ categories = [
]
keywords = ["logging", "profiling", "tracing", "futures", "async"]
license = "MIT"
rust = "1.42.0"

[features]
default = ["std-future", "std"]
Expand Down
1 change: 1 addition & 0 deletions tracing-journald/Cargo.toml
Expand Up @@ -13,6 +13,7 @@ categories = [
"development-tools::profiling",
]
keywords = ["tracing", "journald"]
rust = "1.42.0"

[dependencies]
tracing-core = { path = "../tracing-core", version = "0.2" }
Expand Down
1 change: 1 addition & 0 deletions tracing-log/Cargo.toml
Expand Up @@ -15,6 +15,7 @@ categories = [
keywords = ["logging", "tracing", "log"]
license = "MIT"
readme = "README.md"
rust = "1.42.0"

[features]
default = ["log-tracer", "std"]
Expand Down
1 change: 1 addition & 0 deletions tracing-macros/Cargo.toml
Expand Up @@ -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"] }
Expand Down
1 change: 1 addition & 0 deletions tracing-opentelemetry/Cargo.toml
Expand Up @@ -17,6 +17,7 @@ categories = [
keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "async"]
license = "MIT"
edition = "2018"
rust = "1.42.0"

[features]
default = ["tracing-log"]
Expand Down
1 change: 1 addition & 0 deletions tracing-serde/Cargo.toml
Expand Up @@ -16,6 +16,7 @@ categories = [
"encoding",
]
keywords = ["logging", "tracing", "serialization"]
rust = "1.42.0"

[features]
default = ["std"]
Expand Down
1 change: 1 addition & 0 deletions tracing-subscriber/Cargo.toml
Expand Up @@ -20,6 +20,7 @@ categories = [
"asynchronous",
]
keywords = ["logging", "tracing", "metrics", "subscriber"]
rust = "1.42.0"

[features]

Expand Down
1 change: 1 addition & 0 deletions tracing-tower/Cargo.toml
Expand Up @@ -15,6 +15,7 @@ categories = [
]
keywords = ["logging", "tracing"]
license = "MIT"
rust = "1.42.0"

[features]
default = ["tower-layer", "tower-make"]
Expand Down
1 change: 1 addition & 0 deletions tracing/Cargo.toml
Expand Up @@ -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 }
Expand Down

0 comments on commit 2e24762

Please sign in to comment.