Skip to content

Commit

Permalink
Update Rust toolchain to 1.56.1
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Nov 19, 2021
1 parent 365545b commit 99d09c5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pbjson-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pbjson-build"
version = "0.2.1"
authors = ["Raphael Taylor-Davies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Generates Serialize and Deserialize implementations for prost message types"
license = "MIT"
keywords = ["protobuf", "json", "serde"]
Expand Down
2 changes: 1 addition & 1 deletion pbjson-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pbjson-test"
version = "0.2.1"
authors = ["Raphael Taylor-Davies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Test resources for pbjson converion"
repository = "https://github.com/influxdata/pbjson"

Expand Down
2 changes: 1 addition & 1 deletion pbjson-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pbjson-types"
version = "0.2.1"
authors = ["Raphael Taylor-Davies <[email protected]>"]
description = "Protobuf well known types with serde serialization support"
edition = "2018"
edition = "2021"
license = "MIT"
keywords = ["protobuf", "json", "serde"]
categories = ["encoding"]
Expand Down
1 change: 0 additions & 1 deletion pbjson-types/src/duration.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::Duration;
use serde::{Deserialize, Serialize};
use std::convert::{TryFrom, TryInto};

impl TryFrom<Duration> for std::time::Duration {
type Error = std::num::TryFromIntError;
Expand Down
1 change: 0 additions & 1 deletion pbjson-types/src/timestamp.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::Timestamp;
use chrono::{DateTime, NaiveDateTime, Utc};
use serde::{Deserialize, Serialize};
use std::convert::{TryFrom, TryInto};

impl TryFrom<Timestamp> for chrono::DateTime<Utc> {
type Error = std::num::TryFromIntError;
Expand Down
2 changes: 1 addition & 1 deletion pbjson/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pbjson"
version = "0.2.1"
authors = ["Raphael Taylor-Davies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Utilities for pbjson conversion"
license = "MIT"
keywords = ["protobuf", "json", "serde"]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.55"
channel = "1.56.1"
components = [ "rustfmt", "clippy" ]

0 comments on commit 99d09c5

Please sign in to comment.