-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make crate::parse_result::ParseResult
public
#43
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ use prost::Message; | |
|
||
use crate::bindings::*; | ||
use crate::error::*; | ||
use crate::parse_result::ParseResult; | ||
pub use crate::parse_result::ParseResult; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To keep all re-exports in the same place, this should probably be moved to |
||
use crate::protobuf; | ||
|
||
/// Represents the resulting fingerprint containing both the raw integer form as well as the | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious, what's the motivation here? Is that version format standard in the Rust open source world?
So far we've only bumped the version number when publishing a new release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version bump would allow to release this crate without necessarily releasing a new version of
pg_query
the C library (I believepg_query.rs
was synced with the C library version at some point recently). The versioning is technically semver, but I'm not sure it's strictly how Rust crates do it; typically, only major, minor and patch numbers are used.