From fc503e08c9a81d52e32d55af459edda09b727f8f Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Thu, 29 Dec 2022 07:55:42 -0500 Subject: [PATCH] Add a backlink from `sqlparse_derive` to `sqlparser` and publishing instructions (#779) * Add backlink to sqlparser-rs in derive docs * Update release docs for sqlparser_derive --- derive/README.md | 3 ++- docs/releasing.md | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/derive/README.md b/derive/README.md index e5ab87496..2f373b2b9 100644 --- a/derive/README.md +++ b/derive/README.md @@ -2,7 +2,8 @@ ## Visit -This crate contains a procedural macro that can automatically derive implementations of the `Visit` trait +This crate contains a procedural macro that can automatically derive +implementations of the `Visit` trait in the [sqlparser](https://crates.io/crates/sqlparser) crate ```rust #[derive(Visit)] diff --git a/docs/releasing.md b/docs/releasing.md index 30af6dca5..b71c97595 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -31,7 +31,7 @@ $ cargo install cargo-release $ cargo release minor --push-remote upstream ``` - After verifying, you can rerun with `--execute` if all looks good. + After verifying, you can rerun with `--execute` if all looks good. You can add `--no-push` to stop before actually publishing the release. `cargo release` will then: @@ -56,3 +56,14 @@ $ cargo install cargo-release 4. Check that the new version of the crate is available on crates.io: https://crates.io/crates/sqlparser + +## `sqlparser_derive` crate + +Currently this crate is manually published via `cargo publish`. + +crates.io homepage: https://crates.io/crates/sqlparser_derive + +```shell +cd derive +cargo publish +```