Skip to content

Commit 80e35a8

Browse files
authored
Switch min rust version to 1.64, adjust workspace. (#53)
1 parent 99bca96 commit 80e35a8

File tree

12 files changed

+57
-50
lines changed

12 files changed

+57
-50
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ members = [
2525
"tests/integration",
2626
]
2727

28+
[workspace.package]
29+
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
30+
edition = "2021"
31+
license = "MulanPSL-2.0"
32+
repository = "https://github.com/jmjoy/phper.git"
33+
rust-version = "1.64"
34+
2835
[profile.dev]
2936
lto = true
3037

examples/hello/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
[package]
1212
name = "hello"
1313
version = "0.0.0"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
publish = false
18-
license = "MulanPSL-2.0"
18+
license.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

examples/http-client/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
[package]
1212
name = "http-client"
1313
version = "0.0.0"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
publish = false
18-
license = "MulanPSL-2.0"
18+
license.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

examples/http-server/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
[package]
1212
name = "http-server"
1313
version = "0.0.0"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
publish = false
18-
license = "MulanPSL-2.0"
18+
license.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

examples/logging/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
[package]
1212
name = "logging"
1313
version = "0.0.0"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
publish = false
18-
license = "MulanPSL-2.0"
18+
license.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

phper-alloc/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
[package]
1212
name = "phper-alloc"
1313
version = "0.5.1"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
description = "Alloc related items for phper crate."
18-
repository = "https://github.com/jmjoy/phper.git"
19-
license = "MulanPSL-2.0"
18+
repository.workspace = true
19+
license.workspace = true
2020
keywords = ["php", "alloc"]
2121

2222
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

phper-build/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
[package]
1212
name = "phper-build"
1313
version = "0.5.1"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
description = "Generates stubs for project using phper."
18-
repository = "https://github.com/jmjoy/phper.git"
19-
license = "MulanPSL-2.0"
18+
repository.workspace = true
19+
license.workspace = true
2020
keywords = ["php", "binding"]
2121

2222
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

phper-macros/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
[package]
1212
name = "phper-macros"
1313
version = "0.5.1"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
description = "The proc-macros for phper crate."
18-
repository = "https://github.com/jmjoy/phper.git"
19-
license = "MulanPSL-2.0"
18+
repository.workspace = true
19+
license.workspace = true
2020
keywords = ["php", "proc-macro"]
2121

2222
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

phper-sys/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
[package]
1212
name = "phper-sys"
1313
version = "0.5.1"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
description = "Low level PHP binding for Rust."
18-
repository = "https://github.com/jmjoy/phper.git"
19-
license = "MulanPSL-2.0"
18+
repository.workspace = true
19+
license.workspace = true
2020
keywords = ["php", "binding"]
2121

2222
[build-dependencies]

phper-test/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
[package]
1212
name = "phper-test"
1313
version = "0.5.1"
14-
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
15-
edition = "2021"
16-
rust-version = "1.56"
14+
authors.workspace = true
15+
edition.workspace = true
16+
rust-version.workspace = true
1717
description = "PHPer testing utilities."
18-
repository = "https://github.com/jmjoy/phper.git"
19-
license = "MulanPSL-2.0"
18+
repository.workspace = true
19+
license.workspace = true
2020
keywords = ["php", "binding"]
2121

2222
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

0 commit comments

Comments
 (0)