Skip to content

Commit 1caa044

Browse files
Xeniradavidcole1340ptondereaudanog
committed
refactor(macro)!: switch to builder pattern
migrate outdated builder to current version BREAKING CHANGE: The old macros were dependent on execution order and have been causing trouble with language servers. They are replaced by a builder. See the migration guide at https://davidcole1340.github.io/ext-php-rs/migration-guides/v0.14.html for information on how to migrate. Fixes: #99, #131, #327 Refs: #174, #335 Co-authored-by: David Cole <[email protected]> Co-authored-by: Pierre Tondereau <[email protected]> Co-authored-by: Daniil Gentili <[email protected]>
1 parent e176cbd commit 1caa044

37 files changed

+1647
-2066
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ members = [
4949

5050
[package.metadata.docs.rs]
5151
rustdoc-args = ["--cfg", "docs"]
52+
53+
[[example]]
54+
name = "hello_world"
55+
crate-type = ["cdylib"]

crates/macros/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ quote = "1.0.9"
1919
proc-macro2 = "1.0.26"
2020
lazy_static = "1.4.0"
2121
anyhow = "1.0"
22+
23+
[lints.rust]
24+
missing_docs = "warn"

0 commit comments

Comments
 (0)