Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e741da

Browse files
build: upgrade to 2021 edition
1 parent9e6dd65 commit7e741da

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

‎postgres-derive-test/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres-derive-test"
33
version ="0.1.0"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66

77
[dev-dependencies]
88
trybuild ="1.0"

‎postgres-derive/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "postgres-derive"
33
version ="0.4.6"
44
authors = ["Steven Fackler <sfackler@palantir.com>"]
55
license ="MIT OR Apache-2.0"
6-
edition ="2018"
6+
edition ="2021"
77
description ="An internal crate used by postgres-types"
88
repository ="https://github.com/sfackler/rust-postgres"
99

‎postgres-derive/src/tosql.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub fn expand_derive_tosql(input: DeriveInput) -> Result<TokenStream, Error> {
112112
let generics =append_generic_bound(input.generics.to_owned(),&new_tosql_bound());
113113
let(impl_generics, ty_generics, where_clause) = generics.split_for_impl();
114114
let out =quote!{
115-
impl#impl_generics postgres_types::ToSqlfor #ident#ty_generics #where_clause{
115+
impl#impl_generics postgres_types::ToSqlfor #ident#ty_generics #where_clause{
116116
fn to_sql(&self,
117117
_type:&postgres_types::Type,
118118
buf:&mut postgres_types::private::BytesMut)

‎postgres-native-tls/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres-native-tls"
33
version ="0.5.1"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
license ="MIT OR Apache-2.0"
77
description ="TLS support for tokio-postgres via native-tls"
88
repository ="https://github.com/sfackler/rust-postgres"

‎postgres-openssl/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres-openssl"
33
version ="0.5.1"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
license ="MIT OR Apache-2.0"
77
description ="TLS support for tokio-postgres via openssl"
88
repository ="https://github.com/sfackler/rust-postgres"

‎postgres-protocol/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres-protocol"
33
version ="0.6.8"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
description ="Low level Postgres protocol APIs"
77
license ="MIT OR Apache-2.0"
88
repository ="https://github.com/sfackler/rust-postgres"

‎postgres-types/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres-types"
33
version ="0.2.9"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
license ="MIT OR Apache-2.0"
77
description ="Conversions between Rust and Postgres values"
88
repository ="https://github.com/sfackler/rust-postgres"

‎postgres/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="postgres"
33
version ="0.19.10"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
license ="MIT OR Apache-2.0"
77
description ="A native, synchronous PostgreSQL client"
88
repository ="https://github.com/sfackler/rust-postgres"

‎tokio-postgres/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name ="tokio-postgres"
33
version ="0.7.13"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
5-
edition ="2018"
5+
edition ="2021"
66
license ="MIT OR Apache-2.0"
77
description ="A native, asynchronous PostgreSQL client"
88
repository ="https://github.com/sfackler/rust-postgres"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp