-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update file_info_poller to track a process name and make sqlx an optional dependency #693
Conversation
bbalser
commented
Dec 16, 2023
•
edited
Loading
edited
- Add process_name, defaulted to 'default', to file_info_poller to allow 2 instances reading the same source data to completely independent of each other.
- Added traits and feature(sqlx-postgres) to make sqlx an optional dependency of the file-store crate
@@ -57,3 +57,4 @@ tempfile = "3" | |||
|
|||
[features] | |||
local = ["aws-types"] | |||
sqlx-postgres = ["sqlx"] |
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.
does this make the option dependency "on" by default? might want to add that and then allow the default-features :false
?
so under [features]
add the line default = ["sqlx-postgres"]
and then you can remove the feature-enabling changes to all of the other cargo.toml files
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.
Fixed ed2b337
ed2b337
to
10ddea1
Compare