Skip to content

Switch min rust version to 1.64, adjust workspace. #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ members = [
"tests/integration",
]

[workspace.package]
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
license = "MulanPSL-2.0"
repository = "https://github.com/jmjoy/phper.git"
rust-version = "1.64"

[profile.dev]
lto = true

Expand Down
8 changes: 4 additions & 4 deletions examples/hello/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
[package]
name = "hello"
version = "0.0.0"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license = "MulanPSL-2.0"
license.workspace = true

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

Expand Down
8 changes: 4 additions & 4 deletions examples/http-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
[package]
name = "http-client"
version = "0.0.0"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license = "MulanPSL-2.0"
license.workspace = true

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

Expand Down
8 changes: 4 additions & 4 deletions examples/http-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
[package]
name = "http-server"
version = "0.0.0"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license = "MulanPSL-2.0"
license.workspace = true

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

Expand Down
8 changes: 4 additions & 4 deletions examples/logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
[package]
name = "logging"
version = "0.0.0"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license = "MulanPSL-2.0"
license.workspace = true

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

Expand Down
10 changes: 5 additions & 5 deletions phper-alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
[package]
name = "phper-alloc"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Alloc related items for phper crate."
repository = "https://github.com/jmjoy/phper.git"
license = "MulanPSL-2.0"
repository.workspace = true
license.workspace = true
keywords = ["php", "alloc"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
10 changes: 5 additions & 5 deletions phper-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
[package]
name = "phper-build"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Generates stubs for project using phper."
repository = "https://github.com/jmjoy/phper.git"
license = "MulanPSL-2.0"
repository.workspace = true
license.workspace = true
keywords = ["php", "binding"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
10 changes: 5 additions & 5 deletions phper-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
[package]
name = "phper-macros"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "The proc-macros for phper crate."
repository = "https://github.com/jmjoy/phper.git"
license = "MulanPSL-2.0"
repository.workspace = true
license.workspace = true
keywords = ["php", "proc-macro"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
10 changes: 5 additions & 5 deletions phper-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
[package]
name = "phper-sys"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Low level PHP binding for Rust."
repository = "https://github.com/jmjoy/phper.git"
license = "MulanPSL-2.0"
repository.workspace = true
license.workspace = true
keywords = ["php", "binding"]

[build-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions phper-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
[package]
name = "phper-test"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "PHPer testing utilities."
repository = "https://github.com/jmjoy/phper.git"
license = "MulanPSL-2.0"
repository.workspace = true
license.workspace = true
keywords = ["php", "binding"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
10 changes: 5 additions & 5 deletions phper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
[package]
name = "phper"
version = "0.5.1"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "The framework that allows us to write PHP extensions using pure and safe Rust whenever possible."
repository = "https://github.com/jmjoy/phper.git"
repository.workspace = true
documentation = "https://docs.rs/phper"
license = "MulanPSL-2.0"
license.workspace = true
readme = "README.md"
keywords = ["php", "binding", "extension", "module"]

Expand Down
8 changes: 4 additions & 4 deletions tests/integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
[package]
name = "integration"
version = "0.0.0"
authors = ["PHPER Framework Team", "jmjoy <jmjoy@apache.org>"]
edition = "2021"
rust-version = "1.56"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license = "MulanPSL-2.0"
license.workspace = true

[lib]
crate-type = ["lib", "cdylib"]
Expand Down