Skip to content
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

Add support for stabby in Bytes and TaggedOption #220

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

p-avital
Copy link
Contributor

No description provided.

@@ -1,4 +1,26 @@
pub use stabby::*;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this, let's avoid having my majors force majors in safer_ffi

@@ -141,7 +141,7 @@ paste.version = "1.0.12"
scopeguard.version = "1.1.0"
scopeguard.default-features = false

stabby.version = "5.1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you suggested, I edited SemVer Prime to not have the -1 to help with factorization :p

Copy link
Collaborator

@danielhenrymantilla danielhenrymantilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Good catch on the public-semver dependency on stabby, I don't think safer-ffi is currently able to follow SemVer Prime™

Screenshot 2024-06-26 at 12 43 00

  • My main review of this PR is regarding the cfg-duplicated fn signatures: since docs.rs (which is what I prefer to favor) does not allow multiple "renders" of its docs, I'd rather have cfg-agnostic docs, and at that point, move the cfg switchs inside the fn body if the signature does not change 🙂

src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/bytes.rs Outdated Show resolved Hide resolved
src/stabby/_mod.rs Show resolved Hide resolved
src/stabby/_mod.rs Show resolved Hide resolved
Copy link
Collaborator

@danielhenrymantilla danielhenrymantilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 ✅

@danielhenrymantilla danielhenrymantilla enabled auto-merge (squash) June 26, 2024 11:52
@danielhenrymantilla danielhenrymantilla merged commit 647a47b into master Jun 26, 2024
110 checks passed
@danielhenrymantilla danielhenrymantilla deleted the pa/stabby-support branch June 26, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants