Skip to content

Conversation

@itowlson
Copy link
Contributor

@itowlson itowlson commented Mar 19, 2025

More towards spinframework/spin#3007 - PostgreSQL, MySQL, variables, and MQTT.

I have not retrofitted the Postgres docs to v2, as new code should prefer v3 unless it requires Spin 2 compatibility. But the v3 examples work for v2 with changes to the use statements anyway.

I had to move the current top-level re-exports into explicit modules that re-exported. As far as I know this is a non-change from the Rust compiler's POV but it may not hurt for a more expert Rustacean to run their beady eye over it.

To try out: cargo doc --open

@itowlson
Copy link
Contributor Author

FREE NOT YET REVIEWED BONUS: added some for Redis too.

(Hmm. In retrospect "if you don't review my PR I'll do more docs for it" might be a perverse incentive.)

Copy link
Member

@radu-matei radu-matei left a comment

Choose a reason for hiding this comment

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

Yes! Thank you!

@itowlson itowlson merged commit 2b0dbd7 into spinframework:main Mar 20, 2025
3 checks passed
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