[PR #44] [MERGED] Bump sqlx-cli version to fix its compiling error when installing #3950

Closed
opened 2026-03-23 21:35:38 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/44
Author: @myl7
Created: 11/20/2021
Status: Merged
Merged: 11/20/2021
Merged by: @appflowy

Base: mainHead: bump-sqlxcli


📝 Commits (1)

  • 7d5c002 Bump sqlx-cli version to fix its compiling error when installing

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/scripts/database/init_database.sh (+1 -1)

📄 Description

sqlx-cli 0.5.5 can not be installed on latest nightly Rust, which outputs errors like:

error: cannot find derive macro `Clap` in this scope
error: cannot find attribute `clap` in this scope

sqlx-cli 0.5.6 fixed it.

The PR use ^0.5.6 to retrive 0.5.6 <= ver < 0.6.0, while there should not be a very very tight requirement over sqlx-cli version.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/44 **Author:** [@myl7](https://github.com/myl7) **Created:** 11/20/2021 **Status:** ✅ Merged **Merged:** 11/20/2021 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `bump-sqlxcli` --- ### 📝 Commits (1) - [`7d5c002`](https://github.com/AppFlowy-IO/AppFlowy/commit/7d5c002952bf41e481e5e2c2e218f895441054d7) Bump sqlx-cli version to fix its compiling error when installing ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/scripts/database/init_database.sh` (+1 -1) </details> ### 📄 Description sqlx-cli 0.5.5 can not be installed on latest nightly Rust, which outputs errors like: ``` error: cannot find derive macro `Clap` in this scope error: cannot find attribute `clap` in this scope ``` sqlx-cli 0.5.6 fixed it. The PR use `^0.5.6` to retrive 0.5.6 <= ver < 0.6.0, while there should not be a very very tight requirement over sqlx-cli version. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:35:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3950
No description provided.