Skip to content

Context / Documentation #60

Discussion options

You must be logged in to vote

It looks like you're using the new syntax (currently on the main branch and undocumented - |t| t(...)) with an older version of the library (published to crates.io). I am still half a week off releasing the new syntax so I would probally reccomend using it but it won't be documented.

To use the newer version set the following in your Cargo.toml:

rspc = { git = "https://github.com/oscartbeaumont/rspc", branch = "main", features = ["axum"] }

Then continue using the code you have avoid from the examples folder in the repository.

If you want to continue using the crates.io version you will have to refer to the documentation website for the older syntax as all of the examples in the repository…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oscartbeaumont
Comment options

Answer selected by oscartbeaumont
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants