Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
switch to stable channel
nathandccbd45a0044
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yamlindex 1e50ca8a82..1201675db8 100644--- a/.github/workflows/ci.yaml+++ b/.github/workflows/ci.yaml@@ -51,8 +51,8 @@ jobs:curl \--proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -ysource $HOME/.cargo/env- rustup toolchain install nightly- rustup default nightly+ rustup toolchain install stable+ rustup default stable- name: Checkout Flutteruses: actions/checkout@v2with:diff --git a/.github/workflows/frontend_rust.yml b/.github/workflows/frontend_rust.ymlindex 7380325168..c334073507 100644--- a/.github/workflows/frontend_rust.yml+++ b/.github/workflows/frontend_rust.yml@@ -23,7 +23,7 @@ jobs:- uses: actions/checkout@v2- uses: actions-rs/toolchain@v1with:- toolchain: nightly+ toolchain: stableoverride: true- run: rustup component add rustfmtworking-directory: frontend/rust-lib@@ -38,7 +38,7 @@ jobs:- uses: actions/checkout@v2- uses: actions-rs/toolchain@v1with:- toolchain: nightly+ toolchain: stableoverride: true- run: rustup component add clippyworking-directory: frontend/rust-lib@@ -55,8 +55,8 @@ jobs:curl \--proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -ysource $HOME/.cargo/env- rustup toolchain install nightly- rustup default nightly+ rustup toolchain install stable+ rustup default stable- name: Frontend testsworking-directory: frontend/rust-librun: cargo testdiff --git a/backend/rust-toolchain b/backend/rust-toolchaindeleted file mode 100644index e549c80007..0000000000--- a/backend/rust-toolchain+++ /dev/null@@ -1,2 +0,0 @@-[toolchain]-channel = "nightly-2021-04-24"\ No newline at end of filediff --git a/backend/rust-toolchain.toml b/backend/rust-toolchain.tomlnew file mode 100644index 0000000000..48a0631f2e--- /dev/null+++ b/backend/rust-toolchain.toml@@ -0,0 +1,2 @@+[toolchain]+channel = "stable-2022-01-20"\ No newline at end of filediff --git a/doc/BUILD_ON_LINUX.md b/doc/BUILD_ON_LINUX.mdindex 9ad6caca77..fdf00dfd38 100644--- a/doc/BUILD_ON_LINUX.md+++ b/doc/BUILD_ON_LINUX.md@@ -34,8 +34,8 @@ yay -S curl base-devel sqlite openssl clang cmake ninja pkg-config gtk3 unzip```shellcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/env-rustup toolchain install nightly-rustup default nightly+rustup toolchain install stable+rustup default stable```3. Install flutter according to https://docs.flutter.dev/get-started/install/linuxdiff --git a/doc/BUILD_ON_WINDOWS.md b/doc/BUILD_ON_WINDOWS.mdindex 9f99dd97e4..8b961522fd 100644--- a/doc/BUILD_ON_WINDOWS.md+++ b/doc/BUILD_ON_WINDOWS.md@@ -32,7 +32,7 @@ flutter doctor```shell# Download rustup.exe from https://win.rustup.rs/x86_64# Call rustup.exe from powershell or cmd-.\rustup-init.exe --default-toolchain nightly --default-host x86_64-pc-windows-msvc -y+.\rustup-init.exe --default-toolchain stable --default-host x86_64-pc-windows-msvc -y# Note: you probably need to re-open termial to get cargo command be available in PATH var```5. Install cargo makediff --git a/frontend/Makefile b/frontend/Makefileindex 89f206aeaa..e922169ef6 100644--- a/frontend/Makefile+++ b/frontend/Makefile@@ -9,4 +9,4 @@ install_cargo_make:install_rust:brew bundle- rustup-init -y --default-toolchain=nightly+ rustup-init -y --default-toolchain=stablediff --git a/frontend/app_flowy/.gitignore b/frontend/app_flowy/.gitignoreindex 035c81b4cc..8ec45dd95a 100644--- a/frontend/app_flowy/.gitignore+++ b/frontend/app_flowy/.gitignore@@ -59,4 +59,4 @@ windows/flutter/dart_ffi/**/**/*.lib**/**/*.dll**/**/*.so-**/Brewfile.lock.json\ No newline at end of file+**/**/Brewfile.lock.json\ No newline at end of filediff --git a/frontend/rust-lib/rust-toolchain b/frontend/rust-lib/rust-toolchaindeleted file mode 100644index c02a427532..0000000000--- a/frontend/rust-lib/rust-toolchain+++ /dev/null@@ -1,3 +0,0 @@-[toolchain]-#rustup override set nightly-2021-04-24-channel = "nightly-2021-04-24"\ No newline at end of filediff --git a/frontend/rust-lib/rust-toolchain.toml b/frontend/rust-lib/rust-toolchain.tomlnew file mode 100644index 0000000000..48a0631f2e--- /dev/null+++ b/frontend/rust-lib/rust-toolchain.toml@@ -0,0 +1,2 @@+[toolchain]+channel = "stable-2022-01-20"\ No newline at end of filediff --git a/frontend/scripts/build_sdk.sh b/frontend/scripts/build_sdk.shindex 8dfd3c079a..061fa58d0a 100755--- a/frontend/scripts/build_sdk.sh+++ b/frontend/scripts/build_sdk.sh@@ -7,7 +7,7 @@ rustup show#Env check#1. rustc --version will be the same as cargo --version#2. override the toolchain if the current toolchain not equal to the rust-toolchain file specified.-# rustup override set nightly-2021-04-24+# rustup override set stable-2021-04-24#3. Check your cargo env using the same source by: which cargo# 1. ~/.bash_profile,# 2. ~/.bashrcdiff --git a/frontend/scripts/docker-buildfiles/Dockerfile b/frontend/scripts/docker-buildfiles/Dockerfileindex 2f80aeefb0..86dc80e77b 100755--- a/frontend/scripts/docker-buildfiles/Dockerfile+++ b/frontend/scripts/docker-buildfiles/Dockerfile@@ -22,7 +22,7 @@ RUN git clone https://aur.archlinux.org/yay.git \RUN yay -S --noconfirm curl base-devel sqlite openssl clang cmake ninja pkg-config gtk3 unzipRUN xdg-user-dirs-updateRUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y-RUN source $HOME/.cargo/env && rustup toolchain install nightly && rustup default nightly+RUN source $HOME/.cargo/env && rustup toolchain install stable && rustup default stableRUN git clone https://github.com/flutter/flutter.git $HOME/.local/flutterRUN flutter channel stableRUN flutter config --enable-linux-desktopdiff --git a/frontend/scripts/makefile/desktop.toml b/frontend/scripts/makefile/desktop.tomlindex 3306d05ce2..98d4227857 100644--- a/frontend/scripts/makefile/desktop.toml+++ b/frontend/scripts/makefile/desktop.toml@@ -6,7 +6,7 @@[tasks.env_check]dependencies = ["echo_env"]-condition = { env_set = [ "BUILD_FLAG", "RUST_COMPILE_TARGET", "CRATE_TYPE", "TARGET_OS"], channels = ["nightly"] }+condition = { env_set = [ "BUILD_FLAG", "RUST_COMPILE_TARGET", "CRATE_TYPE", "TARGET_OS"], channels = ["stable"] }[tasks.flowy-sdk-dev]mac_alias = "flowy-sdk-dev-macos"diff --git a/shared-lib/rust-toolchain b/shared-lib/rust-toolchaindeleted file mode 100644index c02a427532..0000000000--- a/shared-lib/rust-toolchain+++ /dev/null@@ -1,3 +0,0 @@-[toolchain]-#rustup override set nightly-2021-04-24-channel = "nightly-2021-04-24"\ No newline at end of filediff --git a/shared-lib/rust-toolchain.toml b/shared-lib/rust-toolchain.tomlnew file mode 100644index 0000000000..48a0631f2e--- /dev/null+++ b/shared-lib/rust-toolchain.toml@@ -0,0 +1,2 @@+[toolchain]+channel = "stable-2022-01-20"\ No newline at end of file