Skip to content

Commit d8801a3

Browse files
build(rust): Update Rust toolchain to 1.92 (#3033)
Update Rust toolchain to 1.92 (1.92.0). **Changes:** - Update `rust-toolchain.toml` channel to `1.92` **Release Notes:** https://github.com/rust-lang/rust/releases/tag/1.92.0 --- 🤖 *This PR was created automatically by the Rust toolchain update bot.* --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Szoke <[email protected]>
1 parent 5153fd0 commit d8801a3

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
22
# We pin the minor version to prevent new Clippy lints from breaking CI.
33
# But, we still want to pick up new patch versions.
4-
channel = "1.91"
4+
channel = "1.92"

src/commands/derive_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::utils::auth_token::AuthToken;
22
use crate::utils::value_parsers::{auth_token_parser, kv_parser};
3-
use clap::{command, ArgAction::SetTrue, Parser, Subcommand};
3+
use clap::{ArgAction::SetTrue, Parser, Subcommand};
44

55
use super::dart_symbol_map::DartSymbolMapArgs;
66
use super::logs::LogsArgs;

src/commands/send_metric/common_args.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::utils::value_parsers;
22
use anyhow::{anyhow, Result};
3-
use clap::command;
43
use clap::Args;
54
use sentry::metrics::MetricStr;
65
use std::str::FromStr;

src/commands/send_metric/increment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use super::common_args::CommonMetricArgs;
22
use crate::{api::envelopes_api::EnvelopesApi, utils::metrics::DefaultTags as _};
33
use anyhow::Result;
4-
use clap::{command, Args};
4+
use clap::Args;
55
use sentry::metrics::Metric;
66

77
#[derive(Args)]

src/commands/send_metric/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use self::increment::IncrementMetricArgs;
1010
use self::set::SetMetricArgs;
1111
use super::derive_parser::{SentryCLI, SentryCLICommand};
1212
use anyhow::Result;
13-
use clap::{command, Args, Subcommand};
1413
use clap::{ArgMatches, Command, Parser as _};
14+
use clap::{Args, Subcommand};
1515

1616
const DEPRECATION_MESSAGE: &str = "DEPRECATION NOTICE: \
1717
The send-metric commands are deprecated and will be \

src/commands/send_metric/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use super::common_args::CommonMetricArgs;
22
use crate::{api::envelopes_api::EnvelopesApi, utils::metrics::DefaultTags as _};
33
use anyhow::Result;
4-
use clap::{command, Args};
4+
use clap::Args;
55
use sentry::metrics::Metric;
66

77
#[derive(Args)]

0 commit comments

Comments
 (0)