From 7bf0d8e230f04436cd7fee82b2399edec4c211d1 Mon Sep 17 00:00:00 2001 From: ljshwyykl <73726782+ljshwyykl@users.noreply.github.com> Date: Mon, 22 Nov 2021 10:25:25 +0800 Subject: [PATCH 01/30] add install sqlx-cli add install sqlx-cli --- backend/doc/database_setup.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/doc/database_setup.md b/backend/doc/database_setup.md index 3c9008e743..b04ae1299d 100644 --- a/backend/doc/database_setup.md +++ b/backend/doc/database_setup.md @@ -36,6 +36,9 @@ By default, Docker images do not expose their ports to the underlying host machi ### Sqlx +**sqlx-cli** +* [install sqlx-cli](https://github.com/launchbadge/sqlx/tree/master/sqlx-cli) + **Sqlx and Diesel commands** * create migration * sqlx: sqlx migrate add $(table) @@ -71,4 +74,4 @@ By default, Docker images do not expose their ports to the underlying host machi > Don't forget to relaunch your terminal. ## More -* [11-database-drivers](https://blog.logrocket.com/11-database-drivers-and-orms-for-rust-that-are-ready-for-production/) \ No newline at end of file +* [11-database-drivers](https://blog.logrocket.com/11-database-drivers-and-orms-for-rust-that-are-ready-for-production/) From 9d5eafc97b4b06286a503649a20e94df1450ee4f Mon Sep 17 00:00:00 2001 From: Annie Date: Mon, 22 Nov 2021 17:15:45 +0800 Subject: [PATCH 02/30] Update BUILD_ON_LINUX.md increase readability --- doc/BUILD_ON_LINUX.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/doc/BUILD_ON_LINUX.md b/doc/BUILD_ON_LINUX.md index 0e3db6dbc3..316118ee7e 100644 --- a/doc/BUILD_ON_LINUX.md +++ b/doc/BUILD_ON_LINUX.md @@ -18,10 +18,10 @@ Note: - [ ] Arch Linux - X86_64 - [ ] Deepin - X86_64 - [ ] Raspberry Pi OS - aarch64 -* You may need to disable hardware 3D acceleration if you are running in a VM. Otherwise certain GL failures will prevent app from launching +* You may need to disable hardware 3D acceleration if you are running it on a VM. Otherwise, certain GL failures will prevent app from launching ### Detail steps -1. Install pre-requests +1. Install prerequisites ```shell sudo apt-get install curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev # optional, for generating protobuf in step 8 only @@ -46,8 +46,6 @@ flutter config --enable-linux-desktop 4. Fix problem reported by flutter doctor ```shell flutter doctor -# install Android toolchain (optional) -# install Chrome (optional) ``` 5. Install cargo make ```shell @@ -62,11 +60,11 @@ cargo install --force duckscript_cli ```shell cargo make flowy_dev ``` -8. Generate protobuf for dart (optional, if you modify the shared-lib's entities) +8. [Optional] Generate protobuf for dart (optional, if you modify the shared-lib's entities) ```shell cargo make -p development-linux-x86 pb ``` -9. Build flowy-sdk-dev (dart-ffi) (optional), step 10 covers this step +9. [Optional] Build flowy-sdk-dev (dart-ffi), step 10 covers this step ```shell # for development cargo make --profile development-linux-x86 flowy-sdk-dev @@ -90,7 +88,7 @@ cargo make -p production-linux-x86 appflowy-linux # ./app_flowy ``` -## Step 3: Build Server side application (optional if you don't need to host web service locally) +## [Optional] Step 3: Build Server side application (optional if you don't need to host web service locally) ------------------------------ Note: You can launch postgresql server by using docker container From a216c5241660c2f87f35a056f32fd463d311b114 Mon Sep 17 00:00:00 2001 From: ljshwyykl <73726782+ljshwyykl@users.noreply.github.com> Date: Mon, 22 Nov 2021 18:49:20 +0800 Subject: [PATCH 03/30] add Table Struct add Table Struct --- backend/doc/database_struct.md | 200 +++++++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 backend/doc/database_struct.md diff --git a/backend/doc/database_struct.md b/backend/doc/database_struct.md new file mode 100644 index 0000000000..6a8ef645c1 --- /dev/null +++ b/backend/doc/database_struct.md @@ -0,0 +1,200 @@ + +# Table Struct + +## Table: user_table + +- `Name`: UserTable +- `Comment`: UserTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | +| email | `true` | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| --------- | ----------- | ------------- | --------- | + + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ----------- | ----------- | ----------- | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| email | email | text | `false` | | | +| name | name | text | `false` | | | +| password | password | text | `false` | | | +| create_time | create_time | timestamptz | `false` | | | + + +## Table: workspace_table + +- `Name`: WorkspaceTable +- `Comment`: WorkspaceTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| --------- | ----------- | ------------- | --------- | +| user_id | user_table | id | | + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ------------- | ------------- | ----------- | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| user_id | user_id | text | `false` | | | +| name | name | text | `false` | | | +| description | description | text | `false` | | | +| create_time | create_time | timestamptz | `false` | | | +| modified_time | modified_time | timestamptz | `false` | | | + + +## Table: app_table + +- `Name`: AppTable +- `Comment`: AppTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| ------------ | --------------- | ------------- | --------- | +| user_id | user_table | id | | +| workspace_id | workspace_table | id | | +| last_view_id | view_table | id | | + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ------------- | ------------- | ----------- | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| user_id | user_id | text | `false` | | | +| workspace_id | workspace_id | text | `false` | | | +| last_view_id | workspace_id | text | `false` | | | +| name | name | text | `false` | | | +| description | description | text | `false` | | | +| color_style | color_style | text | `false` | | | +| is_trash | is_trash | bool | `false` | `false` | | +| create_time | create_time | timestamptz | `false` | | | +| modified_time | modified_time | timestamptz | `false` | | | + + +## Table: view_table + +- `Name`: ViewTable +- `Comment`: ViewTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| ------------ | ----------- | ------------- | --------- | +| user_id | user_table | id | | +| belong_to_id | app_table | id | | + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ------------- | ------------- | ----------- | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| belong_to_id | belong_to_id | text | `false` | | | +| name | name | text | `false` | | | +| description | description | text | `false` | | | +| thumbnail | thumbnail | text | `false` | | | +| view_type | view_type | int | `false` | | | +| create_time | create_time | timestamptz | `false` | | | +| modified_time | modified_time | timestamptz | `false` | | | + + +## Table: doc_table + +- `Name`: DocTable +- `Comment`: DocTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| --------- | ----------- | ------------- | --------- | +| rev_id | doc_table | id | | + + + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ------- | ------ | ------ | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| rev_id | rev_id | text | `false` | | | +| data | data | text | `false` | | | + + +## Table: trash_table + +- `Name`: TrashTable +- `Comment`: TrashTable + +### `Primary Key` + +- `Columns`: id + +### `Indexes[]` + +| `Columns` | `Unique` | +| --------- | -------- | + +### `Foreign Keys[]` + +| `Columns` | `Ref Table` | `Ref Columns` | `Options` | +| --------- | ----------- | ------------- | --------- | +| user_id | user_table | id | | + + +### `Columns[]` + +| `Label` | `Name` | `Type` | `Nullable` | `Default` | `Comment` | +| ------- | ------- | ------ | ---------- | --------- | --------- | +| id | id | uuid | `false` | | | +| user_id | user_id | text | `false` | | | +| ty | ty | int4 | `false` | 0 | | + From 9fc5d628b0a30814f3122f1732e281966e62b7f5 Mon Sep 17 00:00:00 2001 From: notd5a-alt Date: Mon, 22 Nov 2021 11:53:35 +0000 Subject: [PATCH 04/30] changed icon names, removed capitalization and spaces to avoid future problems --- .../assets/images/editor/Align/{Center.svg => center.svg} | 0 .../app_flowy/assets/images/editor/Align/{Left.svg => left.svg} | 0 .../app_flowy/assets/images/editor/Align/{Right.svg => right.svg} | 0 .../app_flowy/assets/images/editor/Arrow/{Left.svg => left.svg} | 0 .../app_flowy/assets/images/editor/Arrow/{Right.svg => right.svg} | 0 .../assets/images/editor/Color/{Default.svg => default.svg} | 0 .../assets/images/editor/Color/{Select.svg => select.svg} | 0 .../assets/images/editor/Favorite/{Active.svg => active.svg} | 0 .../assets/images/editor/Favorite/{Default.svg => default.svg} | 0 .../app_flowy/assets/images/editor/Status/{Done.svg => done.svg} | 0 .../images/editor/Status/{In Progress.svg => inprogress.svg} | 0 .../app_flowy/assets/images/editor/Status/{To do.svg => todo.svg} | 0 frontend/app_flowy/assets/images/editor/{Add.svg => add.svg} | 0 .../app_flowy/assets/images/editor/{Attach.svg => attach.svg} | 0 frontend/app_flowy/assets/images/editor/{Board.svg => board.svg} | 0 frontend/app_flowy/assets/images/editor/{Bold.svg => bold.svg} | 0 frontend/app_flowy/assets/images/editor/{Check.svg => check.svg} | 0 .../app_flowy/assets/images/editor/{Checkbox.svg => checkbox.svg} | 0 .../assets/images/editor/{Checklist.svg => checklist.svg} | 0 frontend/app_flowy/assets/images/editor/{Clear.svg => clear.svg} | 0 frontend/app_flowy/assets/images/editor/{Close.svg => close.svg} | 0 .../app_flowy/assets/images/editor/{Comment.svg => comment.svg} | 0 .../app_flowy/assets/images/editor/{Comments.svg => comments.svg} | 0 frontend/app_flowy/assets/images/editor/{Copy.svg => copy.svg} | 0 .../assets/images/editor/{Dashboard.svg => dashboard.svg} | 0 frontend/app_flowy/assets/images/editor/{Date.svg => date.svg} | 0 .../app_flowy/assets/images/editor/{Delete.svg => delete.svg} | 0 .../app_flowy/assets/images/editor/{Details.svg => details.svg} | 0 .../assets/images/editor/{Documents.svg => documents.svg} | 0 .../assets/images/editor/drop_menu/{Hide.svg => hide.svg} | 0 .../assets/images/editor/drop_menu/{Show.svg => show.svg} | 0 frontend/app_flowy/assets/images/editor/{Edit.svg => edit.svg} | 0 frontend/app_flowy/assets/images/editor/{Euro.svg => euro.svg} | 0 frontend/app_flowy/assets/images/editor/{Grid.svg => grid.svg} | 0 frontend/app_flowy/assets/images/editor/{Group.svg => group.svg} | 0 frontend/app_flowy/assets/images/editor/{Hide.svg => hide.svg} | 0 .../assets/images/editor/{Highlight.svg => highlight.svg} | 0 frontend/app_flowy/assets/images/editor/{Image.svg => image.svg} | 0 .../app_flowy/assets/images/editor/{Import.svg => import.svg} | 0 .../app_flowy/assets/images/editor/{Italic.svg => italic.svg} | 0 frontend/app_flowy/assets/images/editor/{Left.svg => left.svg} | 0 frontend/app_flowy/assets/images/editor/{Level.svg => level.svg} | 0 .../app_flowy/assets/images/editor/{Logout.svg => logout.svg} | 0 .../app_flowy/assets/images/editor/{Messages.svg => messages.svg} | 0 frontend/app_flowy/assets/images/editor/{More.svg => more.svg} | 0 .../app_flowy/assets/images/editor/{Numbers.svg => numbers.svg} | 0 frontend/app_flowy/assets/images/editor/{Page.svg => page.svg} | 0 .../app_flowy/assets/images/editor/{Percent.svg => percent.svg} | 0 .../app_flowy/assets/images/editor/{Person.svg => person.svg} | 0 frontend/app_flowy/assets/images/editor/{Pound.svg => pound.svg} | 0 frontend/app_flowy/assets/images/editor/{Quote.svg => quote.svg} | 0 .../app_flowy/assets/images/editor/{Report.svg => report.svg} | 0 .../app_flowy/assets/images/editor/{Resize.svg => resize.svg} | 0 .../app_flowy/assets/images/editor/{Restore.svg => restore.svg} | 0 frontend/app_flowy/assets/images/editor/{Right.svg => right.svg} | 0 .../app_flowy/assets/images/editor/{Search.svg => search.svg} | 0 frontend/app_flowy/assets/images/editor/{Send.svg => send.svg} | 0 .../app_flowy/assets/images/editor/{Settings.svg => settings.svg} | 0 frontend/app_flowy/assets/images/editor/{Share.svg => share.svg} | 0 frontend/app_flowy/assets/images/editor/{Slash.svg => slash.svg} | 0 .../app_flowy/assets/images/editor/{Status.svg => status.svg} | 0 .../assets/images/editor/{Strikethrough.svg => strikethrough.svg} | 0 frontend/app_flowy/assets/images/editor/{Tag.svg => tag.svg} | 0 .../app_flowy/assets/images/editor/{Template.svg => template.svg} | 0 frontend/app_flowy/assets/images/editor/{Text.svg => text.svg} | 0 frontend/app_flowy/assets/images/editor/{Time.svg => time.svg} | 0 .../assets/images/editor/{Underline.svg => underline.svg} | 0 .../assets/images/home/Favorite/{Active.svg => active.svg} | 0 .../assets/images/home/Favorite/{Inactive.svg => inactive.svg} | 0 frontend/app_flowy/assets/images/home/Sort/{High.svg => high.svg} | 0 frontend/app_flowy/assets/images/home/Sort/{Low.svg => low.svg} | 0 frontend/app_flowy/assets/images/home/{Add.svg => add.svg} | 0 frontend/app_flowy/assets/images/home/{Close.svg => close.svg} | 0 .../app_flowy/assets/images/home/{Dashboard.svg => dashboard.svg} | 0 .../app_flowy/assets/images/home/{Details.svg => details.svg} | 0 .../app_flowy/assets/images/home/{Eathernet.svg => eathernet.svg} | 0 .../app_flowy/assets/images/home/{Favorite.svg => favorite.svg} | 0 frontend/app_flowy/assets/images/home/{Hide.svg => hide.svg} | 0 frontend/app_flowy/assets/images/home/{Image.svg => image.svg} | 0 frontend/app_flowy/assets/images/home/{Level.svg => level.svg} | 0 .../app_flowy/assets/images/home/{Messages.svg => messages.svg} | 0 frontend/app_flowy/assets/images/home/{Page.svg => page.svg} | 0 frontend/app_flowy/assets/images/home/{Person.svg => person.svg} | 0 frontend/app_flowy/assets/images/home/{Search.svg => search.svg} | 0 .../app_flowy/assets/images/home/{Settings.svg => settings.svg} | 0 frontend/app_flowy/assets/images/home/{Share.svg => share.svg} | 0 frontend/app_flowy/assets/images/home/{Show.svg => show.svg} | 0 frontend/app_flowy/assets/images/home/{Trash.svg => trash.svg} | 0 88 files changed, 0 insertions(+), 0 deletions(-) rename frontend/app_flowy/assets/images/editor/Align/{Center.svg => center.svg} (100%) rename frontend/app_flowy/assets/images/editor/Align/{Left.svg => left.svg} (100%) rename frontend/app_flowy/assets/images/editor/Align/{Right.svg => right.svg} (100%) rename frontend/app_flowy/assets/images/editor/Arrow/{Left.svg => left.svg} (100%) rename frontend/app_flowy/assets/images/editor/Arrow/{Right.svg => right.svg} (100%) rename frontend/app_flowy/assets/images/editor/Color/{Default.svg => default.svg} (100%) rename frontend/app_flowy/assets/images/editor/Color/{Select.svg => select.svg} (100%) rename frontend/app_flowy/assets/images/editor/Favorite/{Active.svg => active.svg} (100%) rename frontend/app_flowy/assets/images/editor/Favorite/{Default.svg => default.svg} (100%) rename frontend/app_flowy/assets/images/editor/Status/{Done.svg => done.svg} (100%) rename frontend/app_flowy/assets/images/editor/Status/{In Progress.svg => inprogress.svg} (100%) rename frontend/app_flowy/assets/images/editor/Status/{To do.svg => todo.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Add.svg => add.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Attach.svg => attach.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Board.svg => board.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Bold.svg => bold.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Check.svg => check.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Checkbox.svg => checkbox.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Checklist.svg => checklist.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Clear.svg => clear.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Close.svg => close.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Comment.svg => comment.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Comments.svg => comments.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Copy.svg => copy.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Dashboard.svg => dashboard.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Date.svg => date.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Delete.svg => delete.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Details.svg => details.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Documents.svg => documents.svg} (100%) rename frontend/app_flowy/assets/images/editor/drop_menu/{Hide.svg => hide.svg} (100%) rename frontend/app_flowy/assets/images/editor/drop_menu/{Show.svg => show.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Edit.svg => edit.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Euro.svg => euro.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Grid.svg => grid.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Group.svg => group.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Hide.svg => hide.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Highlight.svg => highlight.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Image.svg => image.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Import.svg => import.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Italic.svg => italic.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Left.svg => left.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Level.svg => level.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Logout.svg => logout.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Messages.svg => messages.svg} (100%) rename frontend/app_flowy/assets/images/editor/{More.svg => more.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Numbers.svg => numbers.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Page.svg => page.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Percent.svg => percent.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Person.svg => person.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Pound.svg => pound.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Quote.svg => quote.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Report.svg => report.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Resize.svg => resize.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Restore.svg => restore.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Right.svg => right.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Search.svg => search.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Send.svg => send.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Settings.svg => settings.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Share.svg => share.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Slash.svg => slash.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Status.svg => status.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Strikethrough.svg => strikethrough.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Tag.svg => tag.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Template.svg => template.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Text.svg => text.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Time.svg => time.svg} (100%) rename frontend/app_flowy/assets/images/editor/{Underline.svg => underline.svg} (100%) rename frontend/app_flowy/assets/images/home/Favorite/{Active.svg => active.svg} (100%) rename frontend/app_flowy/assets/images/home/Favorite/{Inactive.svg => inactive.svg} (100%) rename frontend/app_flowy/assets/images/home/Sort/{High.svg => high.svg} (100%) rename frontend/app_flowy/assets/images/home/Sort/{Low.svg => low.svg} (100%) rename frontend/app_flowy/assets/images/home/{Add.svg => add.svg} (100%) rename frontend/app_flowy/assets/images/home/{Close.svg => close.svg} (100%) rename frontend/app_flowy/assets/images/home/{Dashboard.svg => dashboard.svg} (100%) rename frontend/app_flowy/assets/images/home/{Details.svg => details.svg} (100%) rename frontend/app_flowy/assets/images/home/{Eathernet.svg => eathernet.svg} (100%) rename frontend/app_flowy/assets/images/home/{Favorite.svg => favorite.svg} (100%) rename frontend/app_flowy/assets/images/home/{Hide.svg => hide.svg} (100%) rename frontend/app_flowy/assets/images/home/{Image.svg => image.svg} (100%) rename frontend/app_flowy/assets/images/home/{Level.svg => level.svg} (100%) rename frontend/app_flowy/assets/images/home/{Messages.svg => messages.svg} (100%) rename frontend/app_flowy/assets/images/home/{Page.svg => page.svg} (100%) rename frontend/app_flowy/assets/images/home/{Person.svg => person.svg} (100%) rename frontend/app_flowy/assets/images/home/{Search.svg => search.svg} (100%) rename frontend/app_flowy/assets/images/home/{Settings.svg => settings.svg} (100%) rename frontend/app_flowy/assets/images/home/{Share.svg => share.svg} (100%) rename frontend/app_flowy/assets/images/home/{Show.svg => show.svg} (100%) rename frontend/app_flowy/assets/images/home/{Trash.svg => trash.svg} (100%) diff --git a/frontend/app_flowy/assets/images/editor/Align/Center.svg b/frontend/app_flowy/assets/images/editor/Align/center.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Align/Center.svg rename to frontend/app_flowy/assets/images/editor/Align/center.svg diff --git a/frontend/app_flowy/assets/images/editor/Align/Left.svg b/frontend/app_flowy/assets/images/editor/Align/left.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Align/Left.svg rename to frontend/app_flowy/assets/images/editor/Align/left.svg diff --git a/frontend/app_flowy/assets/images/editor/Align/Right.svg b/frontend/app_flowy/assets/images/editor/Align/right.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Align/Right.svg rename to frontend/app_flowy/assets/images/editor/Align/right.svg diff --git a/frontend/app_flowy/assets/images/editor/Arrow/Left.svg b/frontend/app_flowy/assets/images/editor/Arrow/left.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Arrow/Left.svg rename to frontend/app_flowy/assets/images/editor/Arrow/left.svg diff --git a/frontend/app_flowy/assets/images/editor/Arrow/Right.svg b/frontend/app_flowy/assets/images/editor/Arrow/right.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Arrow/Right.svg rename to frontend/app_flowy/assets/images/editor/Arrow/right.svg diff --git a/frontend/app_flowy/assets/images/editor/Color/Default.svg b/frontend/app_flowy/assets/images/editor/Color/default.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Color/Default.svg rename to frontend/app_flowy/assets/images/editor/Color/default.svg diff --git a/frontend/app_flowy/assets/images/editor/Color/Select.svg b/frontend/app_flowy/assets/images/editor/Color/select.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Color/Select.svg rename to frontend/app_flowy/assets/images/editor/Color/select.svg diff --git a/frontend/app_flowy/assets/images/editor/Favorite/Active.svg b/frontend/app_flowy/assets/images/editor/Favorite/active.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Favorite/Active.svg rename to frontend/app_flowy/assets/images/editor/Favorite/active.svg diff --git a/frontend/app_flowy/assets/images/editor/Favorite/Default.svg b/frontend/app_flowy/assets/images/editor/Favorite/default.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Favorite/Default.svg rename to frontend/app_flowy/assets/images/editor/Favorite/default.svg diff --git a/frontend/app_flowy/assets/images/editor/Status/Done.svg b/frontend/app_flowy/assets/images/editor/Status/done.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Status/Done.svg rename to frontend/app_flowy/assets/images/editor/Status/done.svg diff --git a/frontend/app_flowy/assets/images/editor/Status/In Progress.svg b/frontend/app_flowy/assets/images/editor/Status/inprogress.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Status/In Progress.svg rename to frontend/app_flowy/assets/images/editor/Status/inprogress.svg diff --git a/frontend/app_flowy/assets/images/editor/Status/To do.svg b/frontend/app_flowy/assets/images/editor/Status/todo.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Status/To do.svg rename to frontend/app_flowy/assets/images/editor/Status/todo.svg diff --git a/frontend/app_flowy/assets/images/editor/Add.svg b/frontend/app_flowy/assets/images/editor/add.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Add.svg rename to frontend/app_flowy/assets/images/editor/add.svg diff --git a/frontend/app_flowy/assets/images/editor/Attach.svg b/frontend/app_flowy/assets/images/editor/attach.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Attach.svg rename to frontend/app_flowy/assets/images/editor/attach.svg diff --git a/frontend/app_flowy/assets/images/editor/Board.svg b/frontend/app_flowy/assets/images/editor/board.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Board.svg rename to frontend/app_flowy/assets/images/editor/board.svg diff --git a/frontend/app_flowy/assets/images/editor/Bold.svg b/frontend/app_flowy/assets/images/editor/bold.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Bold.svg rename to frontend/app_flowy/assets/images/editor/bold.svg diff --git a/frontend/app_flowy/assets/images/editor/Check.svg b/frontend/app_flowy/assets/images/editor/check.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Check.svg rename to frontend/app_flowy/assets/images/editor/check.svg diff --git a/frontend/app_flowy/assets/images/editor/Checkbox.svg b/frontend/app_flowy/assets/images/editor/checkbox.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Checkbox.svg rename to frontend/app_flowy/assets/images/editor/checkbox.svg diff --git a/frontend/app_flowy/assets/images/editor/Checklist.svg b/frontend/app_flowy/assets/images/editor/checklist.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Checklist.svg rename to frontend/app_flowy/assets/images/editor/checklist.svg diff --git a/frontend/app_flowy/assets/images/editor/Clear.svg b/frontend/app_flowy/assets/images/editor/clear.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Clear.svg rename to frontend/app_flowy/assets/images/editor/clear.svg diff --git a/frontend/app_flowy/assets/images/editor/Close.svg b/frontend/app_flowy/assets/images/editor/close.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Close.svg rename to frontend/app_flowy/assets/images/editor/close.svg diff --git a/frontend/app_flowy/assets/images/editor/Comment.svg b/frontend/app_flowy/assets/images/editor/comment.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Comment.svg rename to frontend/app_flowy/assets/images/editor/comment.svg diff --git a/frontend/app_flowy/assets/images/editor/Comments.svg b/frontend/app_flowy/assets/images/editor/comments.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Comments.svg rename to frontend/app_flowy/assets/images/editor/comments.svg diff --git a/frontend/app_flowy/assets/images/editor/Copy.svg b/frontend/app_flowy/assets/images/editor/copy.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Copy.svg rename to frontend/app_flowy/assets/images/editor/copy.svg diff --git a/frontend/app_flowy/assets/images/editor/Dashboard.svg b/frontend/app_flowy/assets/images/editor/dashboard.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Dashboard.svg rename to frontend/app_flowy/assets/images/editor/dashboard.svg diff --git a/frontend/app_flowy/assets/images/editor/Date.svg b/frontend/app_flowy/assets/images/editor/date.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Date.svg rename to frontend/app_flowy/assets/images/editor/date.svg diff --git a/frontend/app_flowy/assets/images/editor/Delete.svg b/frontend/app_flowy/assets/images/editor/delete.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Delete.svg rename to frontend/app_flowy/assets/images/editor/delete.svg diff --git a/frontend/app_flowy/assets/images/editor/Details.svg b/frontend/app_flowy/assets/images/editor/details.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Details.svg rename to frontend/app_flowy/assets/images/editor/details.svg diff --git a/frontend/app_flowy/assets/images/editor/Documents.svg b/frontend/app_flowy/assets/images/editor/documents.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Documents.svg rename to frontend/app_flowy/assets/images/editor/documents.svg diff --git a/frontend/app_flowy/assets/images/editor/drop_menu/Hide.svg b/frontend/app_flowy/assets/images/editor/drop_menu/hide.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/drop_menu/Hide.svg rename to frontend/app_flowy/assets/images/editor/drop_menu/hide.svg diff --git a/frontend/app_flowy/assets/images/editor/drop_menu/Show.svg b/frontend/app_flowy/assets/images/editor/drop_menu/show.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/drop_menu/Show.svg rename to frontend/app_flowy/assets/images/editor/drop_menu/show.svg diff --git a/frontend/app_flowy/assets/images/editor/Edit.svg b/frontend/app_flowy/assets/images/editor/edit.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Edit.svg rename to frontend/app_flowy/assets/images/editor/edit.svg diff --git a/frontend/app_flowy/assets/images/editor/Euro.svg b/frontend/app_flowy/assets/images/editor/euro.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Euro.svg rename to frontend/app_flowy/assets/images/editor/euro.svg diff --git a/frontend/app_flowy/assets/images/editor/Grid.svg b/frontend/app_flowy/assets/images/editor/grid.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Grid.svg rename to frontend/app_flowy/assets/images/editor/grid.svg diff --git a/frontend/app_flowy/assets/images/editor/Group.svg b/frontend/app_flowy/assets/images/editor/group.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Group.svg rename to frontend/app_flowy/assets/images/editor/group.svg diff --git a/frontend/app_flowy/assets/images/editor/Hide.svg b/frontend/app_flowy/assets/images/editor/hide.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Hide.svg rename to frontend/app_flowy/assets/images/editor/hide.svg diff --git a/frontend/app_flowy/assets/images/editor/Highlight.svg b/frontend/app_flowy/assets/images/editor/highlight.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Highlight.svg rename to frontend/app_flowy/assets/images/editor/highlight.svg diff --git a/frontend/app_flowy/assets/images/editor/Image.svg b/frontend/app_flowy/assets/images/editor/image.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Image.svg rename to frontend/app_flowy/assets/images/editor/image.svg diff --git a/frontend/app_flowy/assets/images/editor/Import.svg b/frontend/app_flowy/assets/images/editor/import.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Import.svg rename to frontend/app_flowy/assets/images/editor/import.svg diff --git a/frontend/app_flowy/assets/images/editor/Italic.svg b/frontend/app_flowy/assets/images/editor/italic.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Italic.svg rename to frontend/app_flowy/assets/images/editor/italic.svg diff --git a/frontend/app_flowy/assets/images/editor/Left.svg b/frontend/app_flowy/assets/images/editor/left.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Left.svg rename to frontend/app_flowy/assets/images/editor/left.svg diff --git a/frontend/app_flowy/assets/images/editor/Level.svg b/frontend/app_flowy/assets/images/editor/level.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Level.svg rename to frontend/app_flowy/assets/images/editor/level.svg diff --git a/frontend/app_flowy/assets/images/editor/Logout.svg b/frontend/app_flowy/assets/images/editor/logout.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Logout.svg rename to frontend/app_flowy/assets/images/editor/logout.svg diff --git a/frontend/app_flowy/assets/images/editor/Messages.svg b/frontend/app_flowy/assets/images/editor/messages.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Messages.svg rename to frontend/app_flowy/assets/images/editor/messages.svg diff --git a/frontend/app_flowy/assets/images/editor/More.svg b/frontend/app_flowy/assets/images/editor/more.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/More.svg rename to frontend/app_flowy/assets/images/editor/more.svg diff --git a/frontend/app_flowy/assets/images/editor/Numbers.svg b/frontend/app_flowy/assets/images/editor/numbers.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Numbers.svg rename to frontend/app_flowy/assets/images/editor/numbers.svg diff --git a/frontend/app_flowy/assets/images/editor/Page.svg b/frontend/app_flowy/assets/images/editor/page.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Page.svg rename to frontend/app_flowy/assets/images/editor/page.svg diff --git a/frontend/app_flowy/assets/images/editor/Percent.svg b/frontend/app_flowy/assets/images/editor/percent.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Percent.svg rename to frontend/app_flowy/assets/images/editor/percent.svg diff --git a/frontend/app_flowy/assets/images/editor/Person.svg b/frontend/app_flowy/assets/images/editor/person.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Person.svg rename to frontend/app_flowy/assets/images/editor/person.svg diff --git a/frontend/app_flowy/assets/images/editor/Pound.svg b/frontend/app_flowy/assets/images/editor/pound.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Pound.svg rename to frontend/app_flowy/assets/images/editor/pound.svg diff --git a/frontend/app_flowy/assets/images/editor/Quote.svg b/frontend/app_flowy/assets/images/editor/quote.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Quote.svg rename to frontend/app_flowy/assets/images/editor/quote.svg diff --git a/frontend/app_flowy/assets/images/editor/Report.svg b/frontend/app_flowy/assets/images/editor/report.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Report.svg rename to frontend/app_flowy/assets/images/editor/report.svg diff --git a/frontend/app_flowy/assets/images/editor/Resize.svg b/frontend/app_flowy/assets/images/editor/resize.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Resize.svg rename to frontend/app_flowy/assets/images/editor/resize.svg diff --git a/frontend/app_flowy/assets/images/editor/Restore.svg b/frontend/app_flowy/assets/images/editor/restore.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Restore.svg rename to frontend/app_flowy/assets/images/editor/restore.svg diff --git a/frontend/app_flowy/assets/images/editor/Right.svg b/frontend/app_flowy/assets/images/editor/right.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Right.svg rename to frontend/app_flowy/assets/images/editor/right.svg diff --git a/frontend/app_flowy/assets/images/editor/Search.svg b/frontend/app_flowy/assets/images/editor/search.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Search.svg rename to frontend/app_flowy/assets/images/editor/search.svg diff --git a/frontend/app_flowy/assets/images/editor/Send.svg b/frontend/app_flowy/assets/images/editor/send.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Send.svg rename to frontend/app_flowy/assets/images/editor/send.svg diff --git a/frontend/app_flowy/assets/images/editor/Settings.svg b/frontend/app_flowy/assets/images/editor/settings.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Settings.svg rename to frontend/app_flowy/assets/images/editor/settings.svg diff --git a/frontend/app_flowy/assets/images/editor/Share.svg b/frontend/app_flowy/assets/images/editor/share.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Share.svg rename to frontend/app_flowy/assets/images/editor/share.svg diff --git a/frontend/app_flowy/assets/images/editor/Slash.svg b/frontend/app_flowy/assets/images/editor/slash.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Slash.svg rename to frontend/app_flowy/assets/images/editor/slash.svg diff --git a/frontend/app_flowy/assets/images/editor/Status.svg b/frontend/app_flowy/assets/images/editor/status.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Status.svg rename to frontend/app_flowy/assets/images/editor/status.svg diff --git a/frontend/app_flowy/assets/images/editor/Strikethrough.svg b/frontend/app_flowy/assets/images/editor/strikethrough.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Strikethrough.svg rename to frontend/app_flowy/assets/images/editor/strikethrough.svg diff --git a/frontend/app_flowy/assets/images/editor/Tag.svg b/frontend/app_flowy/assets/images/editor/tag.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Tag.svg rename to frontend/app_flowy/assets/images/editor/tag.svg diff --git a/frontend/app_flowy/assets/images/editor/Template.svg b/frontend/app_flowy/assets/images/editor/template.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Template.svg rename to frontend/app_flowy/assets/images/editor/template.svg diff --git a/frontend/app_flowy/assets/images/editor/Text.svg b/frontend/app_flowy/assets/images/editor/text.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Text.svg rename to frontend/app_flowy/assets/images/editor/text.svg diff --git a/frontend/app_flowy/assets/images/editor/Time.svg b/frontend/app_flowy/assets/images/editor/time.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Time.svg rename to frontend/app_flowy/assets/images/editor/time.svg diff --git a/frontend/app_flowy/assets/images/editor/Underline.svg b/frontend/app_flowy/assets/images/editor/underline.svg similarity index 100% rename from frontend/app_flowy/assets/images/editor/Underline.svg rename to frontend/app_flowy/assets/images/editor/underline.svg diff --git a/frontend/app_flowy/assets/images/home/Favorite/Active.svg b/frontend/app_flowy/assets/images/home/Favorite/active.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Favorite/Active.svg rename to frontend/app_flowy/assets/images/home/Favorite/active.svg diff --git a/frontend/app_flowy/assets/images/home/Favorite/Inactive.svg b/frontend/app_flowy/assets/images/home/Favorite/inactive.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Favorite/Inactive.svg rename to frontend/app_flowy/assets/images/home/Favorite/inactive.svg diff --git a/frontend/app_flowy/assets/images/home/Sort/High.svg b/frontend/app_flowy/assets/images/home/Sort/high.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Sort/High.svg rename to frontend/app_flowy/assets/images/home/Sort/high.svg diff --git a/frontend/app_flowy/assets/images/home/Sort/Low.svg b/frontend/app_flowy/assets/images/home/Sort/low.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Sort/Low.svg rename to frontend/app_flowy/assets/images/home/Sort/low.svg diff --git a/frontend/app_flowy/assets/images/home/Add.svg b/frontend/app_flowy/assets/images/home/add.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Add.svg rename to frontend/app_flowy/assets/images/home/add.svg diff --git a/frontend/app_flowy/assets/images/home/Close.svg b/frontend/app_flowy/assets/images/home/close.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Close.svg rename to frontend/app_flowy/assets/images/home/close.svg diff --git a/frontend/app_flowy/assets/images/home/Dashboard.svg b/frontend/app_flowy/assets/images/home/dashboard.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Dashboard.svg rename to frontend/app_flowy/assets/images/home/dashboard.svg diff --git a/frontend/app_flowy/assets/images/home/Details.svg b/frontend/app_flowy/assets/images/home/details.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Details.svg rename to frontend/app_flowy/assets/images/home/details.svg diff --git a/frontend/app_flowy/assets/images/home/Eathernet.svg b/frontend/app_flowy/assets/images/home/eathernet.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Eathernet.svg rename to frontend/app_flowy/assets/images/home/eathernet.svg diff --git a/frontend/app_flowy/assets/images/home/Favorite.svg b/frontend/app_flowy/assets/images/home/favorite.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Favorite.svg rename to frontend/app_flowy/assets/images/home/favorite.svg diff --git a/frontend/app_flowy/assets/images/home/Hide.svg b/frontend/app_flowy/assets/images/home/hide.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Hide.svg rename to frontend/app_flowy/assets/images/home/hide.svg diff --git a/frontend/app_flowy/assets/images/home/Image.svg b/frontend/app_flowy/assets/images/home/image.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Image.svg rename to frontend/app_flowy/assets/images/home/image.svg diff --git a/frontend/app_flowy/assets/images/home/Level.svg b/frontend/app_flowy/assets/images/home/level.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Level.svg rename to frontend/app_flowy/assets/images/home/level.svg diff --git a/frontend/app_flowy/assets/images/home/Messages.svg b/frontend/app_flowy/assets/images/home/messages.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Messages.svg rename to frontend/app_flowy/assets/images/home/messages.svg diff --git a/frontend/app_flowy/assets/images/home/Page.svg b/frontend/app_flowy/assets/images/home/page.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Page.svg rename to frontend/app_flowy/assets/images/home/page.svg diff --git a/frontend/app_flowy/assets/images/home/Person.svg b/frontend/app_flowy/assets/images/home/person.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Person.svg rename to frontend/app_flowy/assets/images/home/person.svg diff --git a/frontend/app_flowy/assets/images/home/Search.svg b/frontend/app_flowy/assets/images/home/search.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Search.svg rename to frontend/app_flowy/assets/images/home/search.svg diff --git a/frontend/app_flowy/assets/images/home/Settings.svg b/frontend/app_flowy/assets/images/home/settings.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Settings.svg rename to frontend/app_flowy/assets/images/home/settings.svg diff --git a/frontend/app_flowy/assets/images/home/Share.svg b/frontend/app_flowy/assets/images/home/share.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Share.svg rename to frontend/app_flowy/assets/images/home/share.svg diff --git a/frontend/app_flowy/assets/images/home/Show.svg b/frontend/app_flowy/assets/images/home/show.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Show.svg rename to frontend/app_flowy/assets/images/home/show.svg diff --git a/frontend/app_flowy/assets/images/home/Trash.svg b/frontend/app_flowy/assets/images/home/trash.svg similarity index 100% rename from frontend/app_flowy/assets/images/home/Trash.svg rename to frontend/app_flowy/assets/images/home/trash.svg From 838c85c5f232ab6d4b790e319adf1f574df613f1 Mon Sep 17 00:00:00 2001 From: notd5a-alt Date: Mon, 22 Nov 2021 12:13:45 +0000 Subject: [PATCH 05/30] changed 2 references to HIde and Show into hide and show --- .../app_flowy/lib/user/presentation/sign_in_screen.dart | 4 ++-- .../app_flowy/lib/user/presentation/sign_up_screen.dart | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/app_flowy/lib/user/presentation/sign_in_screen.dart b/frontend/app_flowy/lib/user/presentation/sign_in_screen.dart index 18c04130af..a21a79e7d7 100644 --- a/frontend/app_flowy/lib/user/presentation/sign_in_screen.dart +++ b/frontend/app_flowy/lib/user/presentation/sign_in_screen.dart @@ -168,8 +168,8 @@ class PasswordTextField extends StatelessWidget { return RoundedInputField( obscureText: true, style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500), - obscureIcon: svg("home/Hide"), - obscureHideIcon: svg("home/Show"), + obscureIcon: svg("home/hide"), + obscureHideIcon: svg("home/show"), hintText: 'Password', normalBorderColor: theme.shader4, highlightBorderColor: theme.red, diff --git a/frontend/app_flowy/lib/user/presentation/sign_up_screen.dart b/frontend/app_flowy/lib/user/presentation/sign_up_screen.dart index e65e8daac3..e21b240d69 100644 --- a/frontend/app_flowy/lib/user/presentation/sign_up_screen.dart +++ b/frontend/app_flowy/lib/user/presentation/sign_up_screen.dart @@ -132,8 +132,8 @@ class PasswordTextField extends StatelessWidget { builder: (context, state) { return RoundedInputField( obscureText: true, - obscureIcon: svg("home/Hide"), - obscureHideIcon: svg("home/Show"), + obscureIcon: svg("home/hide"), + obscureHideIcon: svg("home/show"), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500), hintText: "Password", normalBorderColor: theme.shader4, @@ -160,8 +160,8 @@ class RepeatPasswordTextField extends StatelessWidget { builder: (context, state) { return RoundedInputField( obscureText: true, - obscureIcon: svg("home/Hide"), - obscureHideIcon: svg("home/Show"), + obscureIcon: svg("home/hide"), + obscureHideIcon: svg("home/show"), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500), hintText: "Repeate password", normalBorderColor: theme.shader4, From 91d9516dc7a825480e4a42661c4a1f4853b16f37 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Mon, 22 Nov 2021 21:24:36 +0800 Subject: [PATCH 06/30] Update ci.yaml --- .github/workflows/ci.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f475263e98..9faf4070f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,10 +49,3 @@ jobs: cargo install --force duckscript_cli cargo make flowy_dev cargo make -p development-linux-x86 appflowy-linux-dev - build-backend: - runs-on: macOS-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Run backend tests - run: cd backend && cargo test From dd92d0faf4b2699af3f09b49a5bc730788a9c437 Mon Sep 17 00:00:00 2001 From: Alex Chen Date: Tue, 23 Nov 2021 08:28:59 +0800 Subject: [PATCH 07/30] [Build] Enhance windows build instruction and cargo make scripts 1. doc\BUILD_ON_WINDOWS.md - add command for building development version 2. .vscode\tasks.json - Enable vscode to launch debug session on windows 3. frontend\scripts\makefile\env.toml - Fix "Command : dart not found." on windows 4. frontend\Makefile.toml - Change profile name "env.development-windows" to "env.development-desktop-windows-x86" --- doc/BUILD_ON_WINDOWS.md | 6 ++++-- frontend/Makefile.toml | 2 +- frontend/app_flowy/.vscode/tasks.json | 12 +++++++++++- frontend/scripts/build_sdk.cmd | 3 +++ frontend/scripts/makefile/desktop.toml | 12 ++++++++++++ frontend/scripts/makefile/env.toml | 3 ++- 6 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 frontend/scripts/build_sdk.cmd diff --git a/doc/BUILD_ON_WINDOWS.md b/doc/BUILD_ON_WINDOWS.md index 219adc76f7..b10a25bdbc 100644 --- a/doc/BUILD_ON_WINDOWS.md +++ b/doc/BUILD_ON_WINDOWS.md @@ -51,13 +51,15 @@ cargo make -p development-windows pb ``` 10. Build flowy-sdk (dart-ffi) ```shell -# TODO: for development +# for development +cargo make --profile development-desktop-windows-x86 flowy-sdk-dev # for production cargo make --profile production-desktop-windows-x86 flowy-sdk-release ``` 11. Build app_flowy ```shell -# TODO: for development +# for development +cargo make -p development-desktop-windows-x86 appflowy-windows-dev # for production cargo make -p production-desktop-windows-x86 appflowy-windows ``` diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml index 3b47fe42bb..b7b73101c7 100644 --- a/frontend/Makefile.toml +++ b/frontend/Makefile.toml @@ -42,7 +42,7 @@ FLUTTER_OUTPUT_DIR = "Release" PRODUCT_EXT = "app" -[env.development-windows] +[env.development-desktop-windows-x86] TARGET_OS = "windows" RUST_COMPILE_TARGET = "x86_64-pc-windows-msvc" BUILD_FLAG = "debug" diff --git a/frontend/app_flowy/.vscode/tasks.json b/frontend/app_flowy/.vscode/tasks.json index 1baace0f14..0011a00fb7 100644 --- a/frontend/app_flowy/.vscode/tasks.json +++ b/frontend/app_flowy/.vscode/tasks.json @@ -2,7 +2,7 @@ "version": "2.0.0", // https://code.visualstudio.com/docs/editor/tasks //https://gist.github.com/deadalusai/9e13e36d61ec7fb72148 - + // ${workspaceRoot}: the root folder of the team // ${file}: the current opened file // ${fileBasename}: the current opened file's basename @@ -13,6 +13,16 @@ { "type": "shell", "command": "sh ./scripts/build_sdk.sh", + "windows": { + "options": { + "shell": { + "executable": "cmd.exe", + "args": [ + "/d", "/c", ".\\scripts\\build_sdk.cmd" + ] + } + } + }, "group": "build", "options": { "cwd": "${workspaceFolder}/../" diff --git a/frontend/scripts/build_sdk.cmd b/frontend/scripts/build_sdk.cmd new file mode 100644 index 0000000000..e27b4cd3e4 --- /dev/null +++ b/frontend/scripts/build_sdk.cmd @@ -0,0 +1,3 @@ +echo "Start building rust sdk" +rustup show +cargo make --profile development-desktop-windows-x86 flowy-sdk-dev \ No newline at end of file diff --git a/frontend/scripts/makefile/desktop.toml b/frontend/scripts/makefile/desktop.toml index 895de94a1d..981e4a89ce 100644 --- a/frontend/scripts/makefile/desktop.toml +++ b/frontend/scripts/makefile/desktop.toml @@ -41,6 +41,18 @@ script = [ ] script_runner = "@shell" +[tasks.sdk-build.windows] +private = true +script = [ + """ + cd rust-lib + echo cargo build --package=dart-ffi --target ${RUST_COMPILE_TARGET} --features=${FEATURES} + exec cargo build --package=dart-ffi --target ${RUST_COMPILE_TARGET} --features=${FEATURES} + cd .. + """, +] +script_runner = "@duckscript" + # [tasks.flowy-sdk-release] description = "Build flowy sdk in release mode" diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index 4b5c41f277..5d060231bc 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -10,6 +10,7 @@ output = exec powershell -Command "Get-CimInstance MSFT_VSInstance | select -Exp stdout = set ${output.stdout} pos = last_indexof ${stdout} . new_str = substring ${stdout} 0 ${pos} +# TODO: will raise error if there are more than 1 visual studio installation newer = semver_is_newer ${new_str} 16.11.0 assert ${newer} "Visual studio 2019 is not installed or version is lower than 16.11.0" """ @@ -101,7 +102,7 @@ if is_empty ${ret} end ret = which protoc-gen-dart if is_empty ${ret} - dart pub global activate protoc_plugin + exec cmd.exe /c dart pub global activate protoc_plugin home_dir = get_home_dir echo Please add '${home_dir}\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\bin' into PATH env var exit -1 From 08635f1984118a4eb99bbfb33e271de6cafda20e Mon Sep 17 00:00:00 2001 From: appflowy Date: Mon, 22 Nov 2021 12:25:46 +0800 Subject: [PATCH 08/30] specify nightly toolchain for rustup-init --- frontend/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Makefile b/frontend/Makefile index 84ea9d3bb6..89f206aeaa 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -9,4 +9,4 @@ install_cargo_make: install_rust: brew bundle - rustup-init -y + rustup-init -y --default-toolchain=nightly From 5703d7ea9f7b89afc836478205b3abd9df34c396 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 14:26:24 +0800 Subject: [PATCH 09/30] update flutter-quill remote address --- frontend/app_flowy/pubspec.lock | 2 +- frontend/app_flowy/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lock index f781a91e4b..71151e4e52 100644 --- a/frontend/app_flowy/pubspec.lock +++ b/frontend/app_flowy/pubspec.lock @@ -376,7 +376,7 @@ packages: path: "." ref: develop resolved-ref: "8a4c23dcdbb8c38d49b7dea42575231877b1e56d" - url: "git@github.com:appflowy/flutter-quill.git" + url: "https://github.com/appflowy/flutter-quill.git" source: git version: "2.0.13" flutter_svg: diff --git a/frontend/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yaml index 7c4d5e7afd..d7e4366211 100644 --- a/frontend/app_flowy/pubspec.yaml +++ b/frontend/app_flowy/pubspec.yaml @@ -41,7 +41,7 @@ dependencies: path: packages/flowy_log flutter_quill: git: - url: git@github.com:appflowy/flutter-quill.git + url: https://github.com/appflowy/flutter-quill.git ref: develop # third party packages From fe88e100e285a48598950c60cea4fe142ce04ade Mon Sep 17 00:00:00 2001 From: Harinandan Date: Tue, 23 Nov 2021 12:22:43 +0530 Subject: [PATCH 10/30] Added fix for cursor appearing below highlights --- .../lib/workspace/presentation/stack_page/doc/doc_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart index 4039834a9d..61f05d4cce 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart @@ -98,6 +98,7 @@ class _DocPageState extends State { controller: controller, focusNode: _focusNode, scrollable: true, + paintCursorAboveText: true, autoFocus: controller.document.isEmpty(), expands: false, padding: const EdgeInsets.symmetric(horizontal: 8.0), From b2f3570bbf050e33f557830b9818d53f2a75aeca Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 15:30:08 +0800 Subject: [PATCH 11/30] print the flutter and rust env --- frontend/Makefile.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml index b7b73101c7..d6f293c27a 100644 --- a/frontend/Makefile.toml +++ b/frontend/Makefile.toml @@ -99,6 +99,7 @@ LINUX_ARCH = "arm64" [tasks.echo_env] script = [ ''' + echo "-------- Env Parameters --------" echo CRATE_TYPE: ${CRATE_TYPE} echo BUILD_FLAG: ${BUILD_FLAG} echo TARGET_OS: ${TARGET_OS} @@ -106,9 +107,15 @@ script = [ echo FEATURES: ${FEATURES} echo PRODUCT_EXT: ${PRODUCT_EXT} echo ${platforms} + + echo "-------- Flutter --------" + flutter doctor + + echo "-------- Rust --------" + rustup show ''' ] -script_runner = "@duckscript" +script_runner = "@shell" [env.production-ios] BUILD_FLAG = "release" From 1ee5a9402b22f686fbfdb950badbf0031f7cfb67 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 16:41:05 +0800 Subject: [PATCH 12/30] remove install_protobuf task from the flowy_dev --- frontend/scripts/makefile/env.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index 5d060231bc..c3ef9be841 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -1,5 +1,5 @@ [tasks.flowy_dev] -run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] } +run_task = { name = ["install_prerequests","install_diesel"] } [tasks.install_windows_deps.windows] dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"] From 9790251aa2a9fc1e044021398c58592845a0a44c Mon Sep 17 00:00:00 2001 From: Pratik <68642400+pratikbalar@users.noreply.github.com> Date: Tue, 23 Nov 2021 14:22:42 +0530 Subject: [PATCH 13/30] ci: add depth 1 in flutter git clone --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9faf4070f7..8232919f9e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,7 +35,7 @@ jobs: rustup default nightly - name: Flutter run: | - git clone https://github.com/flutter/flutter.git + git clone --depth 1 https://github.com/flutter/flutter.git cd flutter echo `pwd`"/bin" >> $GITHUB_PATH export PATH="$PATH:`pwd`/bin" From 7288224c3e587207561ccb61b935658ea51ce955 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 16:54:40 +0800 Subject: [PATCH 14/30] Update ci.yaml --- .github/workflows/ci.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9faf4070f7..8057669b1f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,7 +4,7 @@ on: branches: [main] pull_request: branches: [main] -jobs: +jobs: build-macos: runs-on: macOS-latest steps: @@ -16,6 +16,15 @@ jobs: run: cd frontend/rust-lib && cargo test - name: Run shared-lib tests run: cd shared-lib && cargo test + - name: Deps + run: | + cd frontend + cargo install --force cargo-make + cargo install --force duckscript_cli + cargo make flowy_dev + - name: Build + run: | + cargo make --profile production-desktop-mac-x86 appflowy build-ubuntu: runs-on: ubuntu-latest steps: @@ -48,4 +57,6 @@ jobs: cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev - cargo make -p development-linux-x86 appflowy-linux-dev + - name: Build + run: | + cargo make --profile production-desktop-linux-x86 appflowy From 8acdb82612e3ec38c90c7d2d0ffd9126d89939d5 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:10:05 +0800 Subject: [PATCH 15/30] Update ci.yaml fix build issues --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93e5972ad6..65befe68e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,7 @@ jobs: cargo make flowy_dev - name: Build run: | + cd frontend cargo make --profile production-desktop-mac-x86 appflowy build-ubuntu: runs-on: ubuntu-latest @@ -59,4 +60,5 @@ jobs: cargo make flowy_dev - name: Build run: | + cd frontend cargo make --profile production-desktop-linux-x86 appflowy From 76c8aa82ad9d411c3ed58818ad34579f763dd648 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:17:16 +0800 Subject: [PATCH 16/30] Update ci.yaml git clone flutter from dev branch --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65befe68e2..b3debde0bb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,7 +45,7 @@ jobs: rustup default nightly - name: Flutter run: | - git clone --depth 1 https://github.com/flutter/flutter.git + git clone --depth 1 -b dev https://github.com/flutter/flutter.git cd flutter echo `pwd`"/bin" >> $GITHUB_PATH export PATH="$PATH:`pwd`/bin" From 0d28267386e3850f75bfed5573d4acd470ded851 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:29:52 +0800 Subject: [PATCH 17/30] Update ci.yaml --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3debde0bb..2cc9b1debf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,17 +11,17 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Env install - run: cd frontend && make install_rust && make install_cargo_make && cargo make install_targets - - name: Run frontend tests - run: cd frontend/rust-lib && cargo test - - name: Run shared-lib tests - run: cd shared-lib && cargo test + run: cd frontend && make install_rust - name: Deps run: | cd frontend cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev + - name: Run frontend tests + run: cd frontend/rust-lib && cargo test + - name: Run shared-lib tests + run: cd shared-lib && cargo test - name: Build run: | cd frontend @@ -61,4 +61,4 @@ jobs: - name: Build run: | cd frontend - cargo make --profile production-desktop-linux-x86 appflowy + cargo make --profile production-linux-x86 appflowy From 7b47fb5c7f3330c2aa2f9c86a15948a3db5032b3 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:53:08 +0800 Subject: [PATCH 18/30] Update ci.yaml --- .github/workflows/ci.yaml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2cc9b1debf..7425e81ea1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,7 +4,18 @@ on: branches: [main] pull_request: branches: [main] -jobs: +jobs: + sdk-tests: + runs-on: macOS-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Env install + run: cd frontend && make install_rust + - name: Frontend tests + run: cd frontend/rust-lib && cargo test + - name: Shared-lib tests + run: cd shared-lib && cargo test build-macos: runs-on: macOS-latest steps: @@ -12,16 +23,21 @@ jobs: uses: actions/checkout@v2 - name: Env install run: cd frontend && make install_rust + - name: Flutter + run: | + git clone --depth 1 -b dev https://github.com/flutter/flutter.git + cd flutter + echo `pwd`"/bin" >> $GITHUB_PATH + export PATH="$PATH:`pwd`/bin" + flutter channel dev + flutter config --enable-macos-desktop + flutter doctor - name: Deps run: | cd frontend cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev - - name: Run frontend tests - run: cd frontend/rust-lib && cargo test - - name: Run shared-lib tests - run: cd shared-lib && cargo test - name: Build run: | cd frontend From ce126fe08dec1af114b272b9c12b7addab809b80 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 17:32:07 +0800 Subject: [PATCH 19/30] [rust]: fix some unuse warniings --- frontend/rust-lib/lib-dispatch/src/request/request.rs | 1 + frontend/rust-lib/lib-sqlite/src/pool.rs | 1 + shared-lib/flowy-document-infra/src/core/history.rs | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/frontend/rust-lib/lib-dispatch/src/request/request.rs b/frontend/rust-lib/lib-dispatch/src/request/request.rs index edcfc3fe36..182d3be205 100644 --- a/frontend/rust-lib/lib-dispatch/src/request/request.rs +++ b/frontend/rust-lib/lib-dispatch/src/request/request.rs @@ -17,6 +17,7 @@ use std::{ #[derive(Clone, Debug, Derivative)] pub struct EventRequest { + #[allow(dead_code)] pub(crate) id: String, pub(crate) event: Event, #[derivative(Debug = "ignore")] diff --git a/frontend/rust-lib/lib-sqlite/src/pool.rs b/frontend/rust-lib/lib-sqlite/src/pool.rs index 72b4f95fc6..b0244b58db 100644 --- a/frontend/rust-lib/lib-sqlite/src/pool.rs +++ b/frontend/rust-lib/lib-sqlite/src/pool.rs @@ -101,6 +101,7 @@ pub struct DatabaseCustomizerConfig { pub(crate) journal_mode: SQLiteJournalMode, pub(crate) synchronous: SQLiteSynchronous, pub(crate) busy_timeout: i32, + #[allow(dead_code)] pub(crate) secure_delete: bool, } diff --git a/shared-lib/flowy-document-infra/src/core/history.rs b/shared-lib/flowy-document-infra/src/core/history.rs index 472c574436..d03b8800f4 100644 --- a/shared-lib/flowy-document-infra/src/core/history.rs +++ b/shared-lib/flowy-document-infra/src/core/history.rs @@ -4,7 +4,10 @@ const MAX_UNDOS: usize = 20; #[derive(Debug, Clone)] pub struct UndoResult { + #[allow(dead_code)] success: bool, + + #[allow(dead_code)] len: usize, } @@ -16,6 +19,7 @@ impl UndoResult { #[derive(Debug, Clone)] pub struct History { + #[allow(dead_code)] cur_undo: usize, undos: Vec, redoes: Vec, From 054fa4c952404019b1b63109a02e729a726d7cec Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 17:45:18 +0800 Subject: [PATCH 20/30] rename some tasks' name --- .github/workflows/ci.yaml | 2 +- doc/BUILD_ON_WINDOWS.md | 8 ++++---- frontend/Makefile.toml | 8 ++++---- frontend/rust-lib/flowy-sdk/src/lib.rs | 1 + frontend/scripts/build_sdk.cmd | 2 +- frontend/scripts/makefile/desktop.toml | 2 +- frontend/scripts/makefile/env.toml | 2 ++ 7 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7425e81ea1..01ea4f9516 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,7 @@ jobs: - name: Build run: | cd frontend - cargo make --profile production-desktop-mac-x86 appflowy + cargo make --profile production-mac-x86 appflowy build-ubuntu: runs-on: ubuntu-latest steps: diff --git a/doc/BUILD_ON_WINDOWS.md b/doc/BUILD_ON_WINDOWS.md index b10a25bdbc..dfe53b6251 100644 --- a/doc/BUILD_ON_WINDOWS.md +++ b/doc/BUILD_ON_WINDOWS.md @@ -52,16 +52,16 @@ cargo make -p development-windows pb 10. Build flowy-sdk (dart-ffi) ```shell # for development -cargo make --profile development-desktop-windows-x86 flowy-sdk-dev +cargo make --profile development-windows-x86 flowy-sdk-dev # for production -cargo make --profile production-desktop-windows-x86 flowy-sdk-release +cargo make --profile production-windows-x86 flowy-sdk-release ``` 11. Build app_flowy ```shell # for development -cargo make -p development-desktop-windows-x86 appflowy-windows-dev +cargo make -p development-windows-x86 appflowy-windows-dev # for production -cargo make -p production-desktop-windows-x86 appflowy-windows +cargo make -p production-windows-x86 appflowy-windows ``` ## Step 3: Build Server side application (optional if you don't need to host web service locally) diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml index d6f293c27a..181cb51f3e 100644 --- a/frontend/Makefile.toml +++ b/frontend/Makefile.toml @@ -27,14 +27,14 @@ BUILD_FLAG = "debug" FLUTTER_OUTPUT_DIR = "Debug" PRODUCT_EXT = "app" -[env.production-desktop-mac-aarch64] +[env.production-mac-aarch64] BUILD_FLAG = "release" TARGET_OS = "macos" RUST_COMPILE_TARGET = "aarch64-apple-darwin" FLUTTER_OUTPUT_DIR = "Release" PRODUCT_EXT = "app" -[env.production-desktop-mac-x86] +[env.production-mac-x86] BUILD_FLAG = "release" TARGET_OS = "macos" RUST_COMPILE_TARGET = "x86_64-apple-darwin" @@ -42,7 +42,7 @@ FLUTTER_OUTPUT_DIR = "Release" PRODUCT_EXT = "app" -[env.development-desktop-windows-x86] +[env.development-windows-x86] TARGET_OS = "windows" RUST_COMPILE_TARGET = "x86_64-pc-windows-msvc" BUILD_FLAG = "debug" @@ -51,7 +51,7 @@ PRODUCT_EXT = "exe" CRATE_TYPE = "cdylib" SDK_EXT = "dll" -[env.production-desktop-windows-x86] +[env.production-windows-x86] BUILD_FLAG = "release" TARGET_OS = "windows" RUST_COMPILE_TARGET = "x86_64-pc-windows-msvc" diff --git a/frontend/rust-lib/flowy-sdk/src/lib.rs b/frontend/rust-lib/flowy-sdk/src/lib.rs index d736d37c54..6df2e4d793 100644 --- a/frontend/rust-lib/flowy-sdk/src/lib.rs +++ b/frontend/rust-lib/flowy-sdk/src/lib.rs @@ -59,6 +59,7 @@ fn crate_log_filter(level: Option) -> String { #[derive(Clone)] pub struct FlowySDK { + #[allow(dead_code)] config: FlowySDKConfig, pub user_session: Arc, pub flowy_document: Arc, diff --git a/frontend/scripts/build_sdk.cmd b/frontend/scripts/build_sdk.cmd index e27b4cd3e4..5ddcbd82ab 100644 --- a/frontend/scripts/build_sdk.cmd +++ b/frontend/scripts/build_sdk.cmd @@ -1,3 +1,3 @@ echo "Start building rust sdk" rustup show -cargo make --profile development-desktop-windows-x86 flowy-sdk-dev \ No newline at end of file +cargo make --profile development-windows-x86 flowy-sdk-dev \ No newline at end of file diff --git a/frontend/scripts/makefile/desktop.toml b/frontend/scripts/makefile/desktop.toml index 981e4a89ce..1f1c16079c 100644 --- a/frontend/scripts/makefile/desktop.toml +++ b/frontend/scripts/makefile/desktop.toml @@ -2,7 +2,7 @@ # Run the task with profile, e.g. # cargo make --profile development-mac flowy-sdk-dev -# cargo make --profile production-desktop-windows-x86 flowy-sdk-dev +# cargo make --profile production-windows-x86 flowy-sdk-dev [tasks.env_check] dependencies = ["echo_env"] diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index c3ef9be841..981a41909a 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -66,6 +66,8 @@ dependencies = ["check_vcpkg"] [tasks.install_targets] script = """ +# TODO: download the targets with corresponding platform. For example: +# It's not necessary to download aarch64-apple-ios when compiling the Flowy-SDK on windows. rustup target add x86_64-apple-ios rustup target add x86_64-apple-darwin rustup target add aarch64-apple-ios From ce077c059eb4edc6fdc4df7973148ec9f899edaf Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 19:05:37 +0800 Subject: [PATCH 21/30] Update ci.yaml --- .github/workflows/ci.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01ea4f9516..80b6369cbd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,12 +6,16 @@ on: branches: [main] jobs: sdk-tests: - runs-on: macOS-latest + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - - name: Env install - run: cd frontend && make install_rust + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + source $HOME/.cargo/env + rustup toolchain install nightly + rustup default nightly - name: Frontend tests run: cd frontend/rust-lib && cargo test - name: Shared-lib tests From 93b7cf481bc63807f08ea6d94b0db724dbc9e82e Mon Sep 17 00:00:00 2001 From: Alex to Date: Tue, 23 Nov 2021 15:46:20 +0800 Subject: [PATCH 22/30] Untrack auto generated files under windows/flutter/. Add below files into .gitignore windows/flutter/generated_plugin_registrant.cc windows/flutter/generated_plugin_registrant.h windows/flutter/generated_plugins.cmake --- .gitignore | 2 +- frontend/app_flowy/.gitignore | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 123bb8854d..59e6eeada1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ Cargo.lock **/*.db .idea/ /flowy-test/ -.ruby-version \ No newline at end of file +.ruby-version diff --git a/frontend/app_flowy/.gitignore b/frontend/app_flowy/.gitignore index 3b89cfb188..1fe9a5cc3f 100644 --- a/frontend/app_flowy/.gitignore +++ b/frontend/app_flowy/.gitignore @@ -55,4 +55,7 @@ windows/flutter/dart_ffi/ **/**/*.a **/**/*.lib **/**/*.dll -**/**/*.so \ No newline at end of file +**/**/*.so +flutter/generated_plugin_registrant.cc +flutter/generated_plugin_registrant.h +flutter/generated_plugins.cmake \ No newline at end of file From f45608163c18d160eedc1e32a8fdf01a15d39cb6 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 23 Nov 2021 20:04:57 +0800 Subject: [PATCH 23/30] update native protobuf tool version --- frontend/scripts/makefile/env.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index 981a41909a..7766130fe6 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -92,7 +92,7 @@ script = """ #https://pub.dev/packages/protoc_plugin dart pub global activate protoc_plugin -cargo install --version 2.20.0 protobuf-codegen +cargo install --version 2.22.1 protobuf-codegen """ [tasks.install_protobuf.windows] From 870aa610805ec51efc3aa64562c161e28a139820 Mon Sep 17 00:00:00 2001 From: Alex Chen Date: Tue, 23 Nov 2021 19:50:36 +0800 Subject: [PATCH 24/30] fix path issue in .gitignore --- frontend/app_flowy/.gitignore | 5 +--- frontend/app_flowy/windows/.gitignore | 4 +++ .../flutter/generated_plugin_registrant.cc | 26 ------------------- .../flutter/generated_plugin_registrant.h | 15 ----------- .../windows/flutter/generated_plugins.cmake | 20 -------------- 5 files changed, 5 insertions(+), 65 deletions(-) delete mode 100644 frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc delete mode 100644 frontend/app_flowy/windows/flutter/generated_plugin_registrant.h delete mode 100644 frontend/app_flowy/windows/flutter/generated_plugins.cmake diff --git a/frontend/app_flowy/.gitignore b/frontend/app_flowy/.gitignore index 1fe9a5cc3f..3b89cfb188 100644 --- a/frontend/app_flowy/.gitignore +++ b/frontend/app_flowy/.gitignore @@ -55,7 +55,4 @@ windows/flutter/dart_ffi/ **/**/*.a **/**/*.lib **/**/*.dll -**/**/*.so -flutter/generated_plugin_registrant.cc -flutter/generated_plugin_registrant.h -flutter/generated_plugins.cmake \ No newline at end of file +**/**/*.so \ No newline at end of file diff --git a/frontend/app_flowy/windows/.gitignore b/frontend/app_flowy/windows/.gitignore index d492d0d98c..4fe0b7f400 100644 --- a/frontend/app_flowy/windows/.gitignore +++ b/frontend/app_flowy/windows/.gitignore @@ -15,3 +15,7 @@ x86/ *.[Cc]ache # but keep track of directories ending in .cache !*.[Cc]ache/ + +flutter/generated_plugin_registrant.cc +flutter/generated_plugin_registrant.h +flutter/generated_plugins.cmake \ No newline at end of file diff --git a/frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index b11b2f204c..0000000000 --- a/frontend/app_flowy/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,26 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include -#include -#include -#include -#include - -void RegisterPlugins(flutter::PluginRegistry* registry) { - FlowyEditorPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FlowyEditorPlugin")); - FlowyInfraUIPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FlowyInfraUIPlugin")); - FlowySdkPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FlowySdkPlugin")); - UrlLauncherWindowsRegisterWithRegistrar( - registry->GetRegistrarForPlugin("UrlLauncherWindows")); - WindowSizePluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("WindowSizePlugin")); -} diff --git a/frontend/app_flowy/windows/flutter/generated_plugin_registrant.h b/frontend/app_flowy/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85a9..0000000000 --- a/frontend/app_flowy/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/frontend/app_flowy/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/windows/flutter/generated_plugins.cmake deleted file mode 100644 index c8e6921da3..0000000000 --- a/frontend/app_flowy/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,20 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - flowy_editor - flowy_infra_ui - flowy_sdk - url_launcher_windows - window_size -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) From 513df69042f74868e7c493f08ec913df627969b4 Mon Sep 17 00:00:00 2001 From: Harinandan Date: Tue, 23 Nov 2021 21:11:49 +0530 Subject: [PATCH 25/30] Added tooltip to toolbar buttons --- .../doc/widget/toolbar/check_button.dart | 14 ++++++-- .../doc/widget/toolbar/color_picker.dart | 19 ++++++---- .../doc/widget/toolbar/header_button.dart | 2 ++ .../doc/widget/toolbar/history_button.dart | 33 +++++++++++++++++ .../doc/widget/toolbar/image_button.dart | 4 +++ .../doc/widget/toolbar/toggle_button.dart | 3 ++ .../doc/widget/toolbar/tool_bar.dart | 16 +++++++-- .../widget/toolbar/toolbar_icon_button.dart | 17 ++++++--- .../lib/style_widget/icon_button.dart | 36 +++++++++++-------- 9 files changed, 113 insertions(+), 31 deletions(-) create mode 100644 frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart index dc79c77163..55f17ac558 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/check_button.dart @@ -8,6 +8,7 @@ class FlowyCheckListButton extends StatefulWidget { const FlowyCheckListButton({ required this.controller, required this.attribute, + required this.tooltipText, this.iconSize = defaultIconSize, this.fillColor, this.childBuilder = defaultToggleStyleButtonBuilder, @@ -24,6 +25,8 @@ class FlowyCheckListButton extends StatefulWidget { final Attribute attribute; + final String tooltipText; + @override _FlowyCheckListButtonState createState() => _FlowyCheckListButtonState(); } @@ -35,7 +38,8 @@ class _FlowyCheckListButtonState extends State { void _didChangeEditingValue() { setState(() { - _isToggled = _getIsToggled(widget.controller.getSelectionStyle().attributes); + _isToggled = + _getIsToggled(widget.controller.getSelectionStyle().attributes); }); } @@ -52,7 +56,8 @@ class _FlowyCheckListButtonState extends State { if (attribute == null) { return false; } - return attribute.value == widget.attribute.value || attribute.value == Attribute.checked.value; + return attribute.value == widget.attribute.value || + attribute.value == Attribute.checked.value; } return attrs.containsKey(widget.attribute.key); } @@ -80,10 +85,13 @@ class _FlowyCheckListButtonState extends State { width: widget.iconSize * kIconButtonFactor, iconName: 'editor/checkbox', isToggled: _isToggled ?? false, + tooltipText: widget.tooltipText, ); } void _toggleAttribute() { - widget.controller.formatSelection(_isToggled! ? Attribute.clone(Attribute.unchecked, null) : Attribute.unchecked); + widget.controller.formatSelection(_isToggled! + ? Attribute.clone(Attribute.unchecked, null) + : Attribute.unchecked); } } diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart index 5800fdaab8..b103ae2fc2 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/color_picker.dart @@ -33,6 +33,7 @@ class _FlowyColorButtonState extends State { late bool _isWhitebackground; Style get _selectionStyle => widget.controller.getSelectionStyle(); + final tooltipText = 'Highlight'; void _didChangeEditingValue() { setState(() { @@ -91,13 +92,17 @@ class _FlowyColorButtonState extends State { ? stringToColor('#ffffff') : (widget.iconTheme?.iconUnselectedFillColor ?? theme.canvasColor); - return QuillIconButton( - highlightElevation: 0, - hoverElevation: 0, - size: widget.iconSize * kIconButtonFactor, - icon: Icon(widget.icon, size: widget.iconSize, color: theme.iconTheme.color), - fillColor: widget.background ? fillColorBackground : fillColor, - onPressed: _showColorPicker, + return Tooltip( + message: tooltipText, + showDuration: Duration.zero, + child: QuillIconButton( + highlightElevation: 0, + hoverElevation: 0, + size: widget.iconSize * kIconButtonFactor, + icon: Icon(widget.icon, size: widget.iconSize, color: theme.iconTheme.color), + fillColor: widget.background ? fillColorBackground : fillColor, + onPressed: _showColorPicker, + ), ); } diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart index 762002ffc4..fce8ba6941 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/header_button.dart @@ -51,6 +51,7 @@ class _FlowyHeaderStyleButtonState extends State { // final child = // _valueToText[_value] == _valueString[index] ? svg('editor/H1', color: Colors.white) : svg('editor/H1'); + final headerTitle = 'Header ${index + 1}'; final _isToggled = _valueToText[_value] == _valueString[index]; return ToolbarIconButton( onPressed: () { @@ -63,6 +64,7 @@ class _FlowyHeaderStyleButtonState extends State { width: widget.iconSize * kIconButtonFactor, iconName: _attributeImageName[index], isToggled: _isToggled, + tooltipText: headerTitle, ); }), ); diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart new file mode 100644 index 0000000000..72a1ffb55e --- /dev/null +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart @@ -0,0 +1,33 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_quill/flutter_quill.dart'; + +class FlowyHistoryButton extends StatelessWidget { + final IconData icon; + final double iconSize; + final bool undo; + final QuillController controller; + final String tooltipText; + + const FlowyHistoryButton({ + required this.icon, + required this.controller, + required this.undo, + required this.tooltipText, + required this.iconSize, + Key? key, + }) : super(key: key); + + @override + Widget build(BuildContext context) { + return Tooltip( + message: tooltipText, + showDuration: Duration.zero, + child: HistoryButton( + icon: icon, + iconSize: iconSize, + controller: controller, + undo: true, + ), + ); + } +} diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart index 844422071a..1a18ef10f1 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/image_button.dart @@ -5,6 +5,7 @@ import 'toolbar_icon_button.dart'; class FlowyImageButton extends StatelessWidget { const FlowyImageButton({ required this.controller, + required this.tooltipText, this.iconSize = defaultIconSize, this.onImagePickCallback, this.fillColor, @@ -28,6 +29,8 @@ class FlowyImageButton extends StatelessWidget { final MediaPickSettingSelector? mediaPickSettingSelector; + final String tooltipText; + @override Widget build(BuildContext context) { return ToolbarIconButton( @@ -35,6 +38,7 @@ class FlowyImageButton extends StatelessWidget { width: iconSize * 1.77, onPressed: () => _onPressedHandler(context), isToggled: false, + tooltipText: tooltipText, ); } diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart index bb11e6557f..89fd72981d 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toggle_button.dart @@ -9,11 +9,13 @@ class FlowyToggleStyleButton extends StatefulWidget { final String normalIcon; final double iconSize; final QuillController controller; + final String tooltipText; const FlowyToggleStyleButton({ required this.attribute, required this.normalIcon, required this.controller, + required this.tooltipText, this.iconSize = defaultIconSize, Key? key, }) : super(key: key); @@ -39,6 +41,7 @@ class _ToggleStyleButtonState extends State { width: widget.iconSize * kIconButtonFactor, isToggled: _isToggled ?? false, iconName: widget.normalIcon, + tooltipText: widget.tooltipText, ); } diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart index bab979dbef..0e3038360c 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'dart:math'; +import 'package:app_flowy/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:flutter/material.dart'; import 'package:styled_widget/styled_widget.dart'; @@ -50,41 +51,47 @@ class EditorToolbar extends StatelessWidget implements PreferredSizeWidget { key: key, toolBarHeight: toolbarIconSize * 2, children: [ - HistoryButton( + FlowyHistoryButton( icon: Icons.undo_outlined, iconSize: toolbarIconSize, controller: controller, undo: true, + tooltipText: 'Undo', ), - HistoryButton( + FlowyHistoryButton( icon: Icons.redo_outlined, iconSize: toolbarIconSize, controller: controller, undo: false, + tooltipText: 'Redo', ), FlowyToggleStyleButton( attribute: Attribute.bold, normalIcon: 'editor/bold', iconSize: toolbarIconSize, controller: controller, + tooltipText: 'Bold', ), FlowyToggleStyleButton( attribute: Attribute.italic, normalIcon: 'editor/italic', iconSize: toolbarIconSize, controller: controller, + tooltipText: 'Italic', ), FlowyToggleStyleButton( attribute: Attribute.underline, normalIcon: 'editor/underline', iconSize: toolbarIconSize, controller: controller, + tooltipText: 'Underline', ), FlowyToggleStyleButton( attribute: Attribute.strikeThrough, normalIcon: 'editor/strikethrough', iconSize: toolbarIconSize, controller: controller, + tooltipText: 'Strikethrough', ), FlowyColorButton( icon: Icons.format_color_fill, @@ -109,29 +116,34 @@ class EditorToolbar extends StatelessWidget implements PreferredSizeWidget { controller: controller, normalIcon: 'editor/numbers', iconSize: toolbarIconSize, + tooltipText: 'Numbered List', ), FlowyToggleStyleButton( attribute: Attribute.ul, controller: controller, normalIcon: 'editor/bullet_list', iconSize: toolbarIconSize, + tooltipText: 'Bulleted List', ), FlowyCheckListButton( attribute: Attribute.unchecked, controller: controller, iconSize: toolbarIconSize, + tooltipText: 'Check List', ), FlowyToggleStyleButton( attribute: Attribute.inlineCode, controller: controller, normalIcon: 'editor/inline_block', iconSize: toolbarIconSize, + tooltipText: 'Inline Code', ), FlowyToggleStyleButton( attribute: Attribute.blockQuote, controller: controller, normalIcon: 'editor/quote', iconSize: toolbarIconSize, + tooltipText: 'Quote Block', ), FlowyLinkStyleButton( controller: controller, diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart index fb4ac60292..c8eb8cde72 100644 --- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart +++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/toolbar_icon_button.dart @@ -11,10 +11,16 @@ class ToolbarIconButton extends StatelessWidget { final VoidCallback? onPressed; final bool isToggled; final String iconName; + final String tooltipText; - const ToolbarIconButton( - {Key? key, required this.onPressed, required this.isToggled, required this.width, required this.iconName}) - : super(key: key); + const ToolbarIconButton({ + Key? key, + required this.onPressed, + required this.isToggled, + required this.width, + required this.iconName, + required this.tooltipText, + }) : super(key: key); @override Widget build(BuildContext context) { @@ -23,9 +29,12 @@ class ToolbarIconButton extends StatelessWidget { iconPadding: const EdgeInsets.symmetric(horizontal: 4, vertical: 4), onPressed: onPressed, width: width, - icon: isToggled == true ? svg(iconName, color: Colors.white) : svg(iconName), + icon: isToggled == true + ? svg(iconName, color: Colors.white) + : svg(iconName), fillColor: isToggled == true ? theme.main1 : theme.shader6, hoverColor: isToggled == true ? theme.main1 : theme.shader5, + tooltipText: tooltipText, ); } } diff --git a/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart index 2c71ed11be..0b960a7abb 100644 --- a/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart +++ b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/icon_button.dart @@ -12,6 +12,7 @@ class FlowyIconButton extends StatelessWidget { final Color? hoverColor; final EdgeInsets iconPadding; final BorderRadius? radius; + final String? tooltipText; const FlowyIconButton({ Key? key, @@ -22,6 +23,7 @@ class FlowyIconButton extends StatelessWidget { this.hoverColor = Colors.transparent, this.iconPadding = EdgeInsets.zero, this.radius, + this.tooltipText, required this.icon, }) : super(key: key); @@ -48,21 +50,25 @@ class FlowyIconButton extends StatelessWidget { return ConstrainedBox( constraints: BoxConstraints.tightFor(width: size.width, height: size.height), - child: RawMaterialButton( - visualDensity: VisualDensity.compact, - hoverElevation: 0, - highlightElevation: 0, - shape: RoundedRectangleBorder(borderRadius: radius ?? BorderRadius.circular(2)), - fillColor: fillColor, - hoverColor: hoverColor, - focusColor: Colors.transparent, - splashColor: Colors.transparent, - highlightColor: Colors.transparent, - elevation: 0, - onPressed: onPressed, - child: Padding( - padding: iconPadding, - child: SizedBox.fromSize(child: child, size: childSize), + child: Tooltip( + message: tooltipText ?? '', + showDuration: Duration.zero, + child: RawMaterialButton( + visualDensity: VisualDensity.compact, + hoverElevation: 0, + highlightElevation: 0, + shape: RoundedRectangleBorder(borderRadius: radius ?? BorderRadius.circular(2)), + fillColor: fillColor, + hoverColor: hoverColor, + focusColor: Colors.transparent, + splashColor: Colors.transparent, + highlightColor: Colors.transparent, + elevation: 0, + onPressed: onPressed, + child: Padding( + padding: iconPadding, + child: SizedBox.fromSize(child: child, size: childSize), + ), ), ), ); From 2c8cce99e8afeea56422747f348158f49f4fc7de Mon Sep 17 00:00:00 2001 From: Pratik <68642400+pratikbalar@users.noreply.github.com> Date: Wed, 24 Nov 2021 11:21:40 +0530 Subject: [PATCH 26/30] ci: integrate better with ghactions --- .github/workflows/ci.yaml | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80b6369cbd..b0b9ca0d86 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,35 +17,42 @@ jobs: rustup toolchain install nightly rustup default nightly - name: Frontend tests - run: cd frontend/rust-lib && cargo test + working-directory: frontend/rust-lib + run: cargo test - name: Shared-lib tests - run: cd shared-lib && cargo test + working-directory: shared-lib + run: cargo test + build-macos: runs-on: macOS-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Env install - run: cd frontend && make install_rust + working-directory: frontend + run: make install_rust + - name: Checkou Flutter + uses: actions/checkout@v2 + with: + repository: flutter/flutter + path: flutter - name: Flutter + working-directory: flutter run: | - git clone --depth 1 -b dev https://github.com/flutter/flutter.git - cd flutter - echo `pwd`"/bin" >> $GITHUB_PATH - export PATH="$PATH:`pwd`/bin" + echo "$(pwd)/bin" >> $GITHUB_PATH + export PATH="$PATH:$(pwd)/bin" flutter channel dev flutter config --enable-macos-desktop flutter doctor - name: Deps + working-directory: frontend run: | - cd frontend cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev - name: Build - run: | - cd frontend - cargo make --profile production-mac-x86 appflowy + working-directory: frontend + run: cargo make --profile production-mac-x86 appflowy build-ubuntu: runs-on: ubuntu-latest steps: @@ -73,8 +80,8 @@ jobs: flutter config --enable-linux-desktop flutter doctor - name: Deps + working-directory: frontend run: | - cd frontend cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev From ba5d66cea0e942a76ecf861ff7bc1323ddfa5eb2 Mon Sep 17 00:00:00 2001 From: Alex to Date: Wed, 24 Nov 2021 13:23:09 +0800 Subject: [PATCH 27/30] [Instruction] Enhance BUILD_ON_WINDOWS.md to remove choco dependency 1. doc\BUILD_ON_WINDOWS.md 2. frontend\scripts\makefile\env.toml - break down install_targets task into 3 platform specific tasks - only install necessary targets for specfic platform --- doc/BUILD_ON_WINDOWS.md | 30 ++++++++++++++++-------------- frontend/scripts/makefile/env.toml | 12 +++++++++--- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/doc/BUILD_ON_WINDOWS.md b/doc/BUILD_ON_WINDOWS.md index dfe53b6251..9fb2858289 100644 --- a/doc/BUILD_ON_WINDOWS.md +++ b/doc/BUILD_ON_WINDOWS.md @@ -19,44 +19,46 @@ Note: - [ ] Windows 11 arm64 ### Detail steps -1. Install Visual Studio 2019 community. See: https://visualstudio.microsoft.com/downloads/ - - Note: Didn't test Visual Studio 2022. It should also work. -2. Install choco according to https://chocolatey.org/install -3. Install vcpkg according to https://github.com/microsoft/vcpkg#quick-start-windows. Make sure to add vcpkg installation folder to PATH env var. -4. Install flutter according to https://docs.flutter.dev/get-started/install/windows +1. Install Visual Studio 2022 build tools. Download from https://visualstudio.microsoft.com/downloads/ + - In section of "All Downloads" => "Tools for Visual Studio 2022" => Build Tools for Visual Studio 2022, hit Download button to get it. + - Launch "vs_BuildTools.exe" to install +2. Install vcpkg according to https://github.com/microsoft/vcpkg#quick-start-windows. Make sure to add vcpkg installation folder to PATH env var. +3. Install flutter according to https://docs.flutter.dev/get-started/install/windows ```shell flutter channel dev +flutter doctor ``` -5. Install rust +4. Install rust ```shell -choco install rustup.install -rustup toolchain install nightly +# Download rustup.exe from https://win.rustup.rs/x86_64 +# Call rustup.exe from powershell or cmd +rustup.exe toolchain install nightly ``` -6. Install cargo make +5. Install cargo make ```shell cd appflowy/frontend cargo install --force cargo-make ``` -7. Install duckscript +6. Install duckscript ```shell cargo install --force duckscript_cli ``` -8. Check pre-request +7. Check pre-request ```shell cargo make flowy_dev ``` -9. Generate protobuf for dart (optional, if you modify the shared-lib's entities) +8. [Optional] Generate protobuf for dart (optional, if you modify the shared-lib's entities) ```shell cargo make -p development-windows pb ``` -10. Build flowy-sdk (dart-ffi) +9. [Optional] Build flowy-sdk (dart-ffi) ```shell # for development cargo make --profile development-windows-x86 flowy-sdk-dev # for production cargo make --profile production-windows-x86 flowy-sdk-release ``` -11. Build app_flowy +10. Build app_flowy ```shell # for development cargo make -p development-windows-x86 appflowy-windows-dev diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index 7766130fe6..a7d251f7db 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -64,15 +64,21 @@ cargo install diesel_cli --no-default-features --features sqlite """ dependencies = ["check_vcpkg"] -[tasks.install_targets] +[tasks.install_targets.mac] script = """ -# TODO: download the targets with corresponding platform. For example: -# It's not necessary to download aarch64-apple-ios when compiling the Flowy-SDK on windows. rustup target add x86_64-apple-ios rustup target add x86_64-apple-darwin rustup target add aarch64-apple-ios rustup target add aarch64-apple-darwin +""" + +[tasks.install_targets.windows] +script = """ rustup target add x86_64-pc-windows-msvc +""" + +[tasks.install_targets.linux] +script = """ rustup target add x86_64-unknown-linux-gnu """ From 4a72b7a87c051eb32d78727bc473232ed109acba Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Wed, 24 Nov 2021 23:04:43 +0800 Subject: [PATCH 28/30] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 225fdb04d1..fbeed93208 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,13 @@ flutter config --enable-linux-desktop ``` * Open the `app_flowy` folder located at xx/appflowy/frontend with Visual Studio Code or other IDEs at your disposal. -* Go to the Run and Debug tab and then click the run button. -![Run the project](https://github.com/AppFlowy-IO/appflowy/blob/main/doc/imgs/run.png) +* Go to the Run and Debug tab and then click the run button. +![Run the project](https://github.com/AppFlowy-IO/appflowy/blob/main/doc/imgs/run.png) + +* If you want to build for the other platform, you should modify the build_sdk.sh before running. +![build_sdk](https://user-images.githubusercontent.com/86001920/143262377-bb49e913-10ca-4198-80ec-bd814a13ee1d.png) + + ## Roadmap From 038bf410773126766a92140f801d6a4ebbb52ad0 Mon Sep 17 00:00:00 2001 From: Stanislav Date: Wed, 24 Nov 2021 22:08:28 +0300 Subject: [PATCH 29/30] Add unzip to requirements When running Step #3 `flutter channel dev` got: ```Missing "unzip" tool. Unable to extract Dart SDK. Consider running "sudo apt-get install unzip".``` --- doc/BUILD_ON_LINUX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/BUILD_ON_LINUX.md b/doc/BUILD_ON_LINUX.md index 316118ee7e..d95828aedb 100644 --- a/doc/BUILD_ON_LINUX.md +++ b/doc/BUILD_ON_LINUX.md @@ -23,7 +23,7 @@ Note: ### Detail steps 1. Install prerequisites ```shell -sudo apt-get install curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev +sudo apt-get install curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev unzip # optional, for generating protobuf in step 8 only sudo apt-get install protobuf-compiler ``` From b37e636da3eb19020f9689de1d7fd9307bccee21 Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 25 Nov 2021 21:13:01 +0800 Subject: [PATCH 30/30] add Cargo.lock to git --- .gitignore | 4 - backend/Cargo.lock | 3987 +++++++++++++++++++++++++++++++++++++++++ shared-lib/Cargo.lock | 2563 ++++++++++++++++++++++++++ 3 files changed, 6550 insertions(+), 4 deletions(-) create mode 100644 backend/Cargo.lock create mode 100644 shared-lib/Cargo.lock diff --git a/.gitignore b/.gitignore index 59e6eeada1..8bd15663df 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,6 @@ # will have compiled files and executables /target/ -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock - # These are backup files generated by rustfmt **/*.rs.bk **/target/ diff --git a/backend/Cargo.lock b/backend/Cargo.lock new file mode 100644 index 0000000000..347d05b481 --- /dev/null +++ b/backend/Cargo.lock @@ -0,0 +1,3987 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "actix" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3720d0064a0ce5c0de7bd93bdb0a6caebab2a9b5668746145d7b3b0c5da02914" +dependencies = [ + "actix-rt", + "actix_derive", + "bitflags", + "bytes", + "crossbeam-channel", + "futures-core", + "futures-sink", + "futures-task", + "futures-util", + "log", + "once_cell", + "parking_lot", + "pin-project-lite", + "smallvec", + "tokio", + "tokio-util", +] + +[[package]] +name = "actix-codec" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d5dbeb2d9e51344cb83ca7cc170f1217f9fe25bfc50160e6e200b5c31c1019a" +dependencies = [ + "bitflags", + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "actix-cors" +version = "0.6.0-beta.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa59d36d7ad063401d94ada05264a303791796ad5222d0954cc21f2e1052e99b" +dependencies = [ + "actix-service", + "actix-web", + "derive_more", + "futures-util", + "log", + "once_cell", + "smallvec", +] + +[[package]] +name = "actix-http" +version = "3.0.0-beta.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afaeb3d3fcb06b775ac62f05d580aae4afe5a149513333a73f688fdf26c06639" +dependencies = [ + "actix-codec", + "actix-rt", + "actix-service", + "actix-utils", + "ahash", + "base64 0.13.0", + "bitflags", + "brotli2", + "bytes", + "bytestring", + "derive_more", + "encoding_rs", + "flate2", + "futures-core", + "futures-util", + "h2", + "http", + "httparse", + "httpdate", + "itoa", + "language-tags", + "local-channel", + "log", + "mime", + "percent-encoding", + "pin-project 1.0.8", + "pin-project-lite", + "rand", + "sha-1", + "smallvec", + "zstd", +] + +[[package]] +name = "actix-identity" +version = "0.4.0-beta.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bfff0a087e890d3b9bed74951a554dc709c3ac92f855b07a6767d42bca9c7c2" +dependencies = [ + "actix-service", + "actix-web", + "futures-util", + "serde", + "serde_json", + "time 0.2.27", +] + +[[package]] +name = "actix-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "actix-router" +version = "0.5.0-beta.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36b95ce0d76d1aa2f98b681702807475ade0f99bd4552546a6843a966d42ea3d" +dependencies = [ + "bytestring", + "firestorm", + "http", + "log", + "regex", + "serde", +] + +[[package]] +name = "actix-rt" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a0c218d0a17c120f10ee0c69c9f0c45d87319e8f66b1f065e8412b612fc3e24" +dependencies = [ + "actix-macros", + "futures-core", + "tokio", +] + +[[package]] +name = "actix-server" +version = "2.0.0-beta.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411dd3296dd317ff5eff50baa13f31923ea40ec855dd7f2d3ed8639948f0195f" +dependencies = [ + "actix-rt", + "actix-service", + "actix-utils", + "futures-core", + "futures-util", + "log", + "mio", + "num_cpus", + "socket2", + "tokio", +] + +[[package]] +name = "actix-service" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3dc6a618b082974a08d7a4781d24d4691cba51500059bfebe6656a61ebfe1e" +dependencies = [ + "futures-core", + "paste", + "pin-project-lite", +] + +[[package]] +name = "actix-utils" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e491cbaac2e7fc788dfff99ff48ef317e23b3cf63dbaf7aaab6418f40f92aa94" +dependencies = [ + "local-waker", + "pin-project-lite", +] + +[[package]] +name = "actix-web" +version = "4.0.0-beta.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e85aa9bb018d83a0db70f557ba0cde9c6170a5d1de4fede02e377f68c1ac5aa9" +dependencies = [ + "actix-codec", + "actix-http", + "actix-macros", + "actix-router", + "actix-rt", + "actix-server", + "actix-service", + "actix-utils", + "actix-web-codegen", + "ahash", + "bytes", + "cfg-if", + "cookie", + "derive_more", + "either", + "encoding_rs", + "futures-core", + "futures-util", + "itoa", + "language-tags", + "log", + "mime", + "once_cell", + "paste", + "pin-project 1.0.8", + "regex", + "serde", + "serde_json", + "serde_urlencoded", + "smallvec", + "socket2", + "time 0.3.5", + "url", +] + +[[package]] +name = "actix-web-actors" +version = "4.0.0-beta.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b43c8e03f1877bc010316de455ee479aa0de0ae0717d49041db5f38fa192de" +dependencies = [ + "actix", + "actix-codec", + "actix-http", + "actix-web", + "bytes", + "bytestring", + "futures-core", + "pin-project 1.0.8", + "tokio", +] + +[[package]] +name = "actix-web-codegen" +version = "0.5.0-beta.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfe80a8828fa88a0420dc8fdd4c16b8207326c917f17701881b063eadc2a8d3b" +dependencies = [ + "actix-router", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "actix_derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d44b8fee1ced9671ba043476deddef739dd0959bf77030b26b738cc591737a7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "addr2line" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aead" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331" +dependencies = [ + "generic-array", +] + +[[package]] +name = "aes" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561" +dependencies = [ + "aes-soft", + "aesni", + "cipher 0.2.5", +] + +[[package]] +name = "aes-gcm" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5278b5fabbb9bd46e24aa69b2fdea62c99088e0a950a9be40e3e0101298f88da" +dependencies = [ + "aead", + "aes", + "cipher 0.2.5", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aes-soft" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" +dependencies = [ + "cipher 0.2.5", + "opaque-debug", +] + +[[package]] +name = "aesni" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" +dependencies = [ + "cipher 0.2.5", + "opaque-debug", +] + +[[package]] +name = "ahash" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98" +dependencies = [ + "getrandom", + "once_cell", + "version_check", +] + +[[package]] +name = "aho-corasick" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +dependencies = [ + "memchr", +] + +[[package]] +name = "allo-isolate" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff09da612ca86c794c3c8f70613a3e6652b5f1313b938937b32cae80df28fdb1" +dependencies = [ + "pin-project 0.4.28", +] + +[[package]] +name = "ansi_term" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" +dependencies = [ + "winapi", +] + +[[package]] +name = "anyhow" +version = "1.0.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28ae2b3dec75a406790005a200b1bd89785afc02517a00ca99ecfe093ee9e6cf" + +[[package]] +name = "arrayvec" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" + +[[package]] +name = "async-stream" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625" +dependencies = [ + "async-stream-impl", + "futures-core", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "atoi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "616896e05fc0e2649463a93a15183c6a16bf03413a7af88ef1285ddedfa9cda5" +dependencies = [ + "num-traits", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi", +] + +[[package]] +name = "autocfg" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" + +[[package]] +name = "backend" +version = "0.1.0" +dependencies = [ + "actix", + "actix-codec", + "actix-cors", + "actix-http", + "actix-identity", + "actix-rt", + "actix-service", + "actix-web", + "actix-web-actors", + "anyhow", + "async-stream", + "backend", + "backend-service", + "bcrypt", + "byteorder", + "bytes", + "chrono", + "config", + "dashmap", + "derive_more", + "flowy-document", + "flowy-document-infra", + "flowy-sdk", + "flowy-test", + "flowy-user", + "flowy-user-infra", + "flowy-workspace-infra", + "futures", + "futures-core", + "futures-util", + "jsonwebtoken", + "lazy_static", + "lib-ot", + "lib-ws", + "linkify", + "log", + "md5", + "once_cell", + "ormx", + "parking_lot", + "pin-project 1.0.8", + "protobuf", + "serde", + "serde-aux", + "serde_json", + "serde_repr", + "sql-builder", + "sqlx", + "thiserror", + "tokio", + "toml", + "tracing", + "tracing-appender", + "tracing-bunyan-formatter", + "tracing-core", + "tracing-futures", + "tracing-log", + "tracing-subscriber", + "uuid", +] + +[[package]] +name = "backend-service" +version = "0.1.0" +dependencies = [ + "actix-web", + "anyhow", + "bytes", + "derive_more", + "flowy-user-infra", + "flowy-workspace-infra", + "hyper", + "lazy_static", + "log", + "protobuf", + "reqwest", + "serde", + "serde_json", + "serde_repr", + "thiserror", + "tokio", + "tracing", + "uuid", +] + +[[package]] +name = "backtrace" +version = "0.3.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a905d892734eea339e896738c14b9afce22b5318f64b951e70bf3844419b01" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base-x" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b" + +[[package]] +name = "base64" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" + +[[package]] +name = "base64" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" + +[[package]] +name = "bcrypt" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f691e63585950d8c1c43644d11bab9073e40f5060dd2822734ae7c3dc69a3a80" +dependencies = [ + "base64 0.13.0", + "blowfish", + "getrandom", +] + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "bit-set" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitvec" +version = "0.19.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", +] + +[[package]] +name = "blowfish" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe3ff3fc1de48c1ac2e3341c4df38b0d1bfb8fdf04632a187c8b75aaa319a7ab" +dependencies = [ + "byteorder", + "cipher 0.3.0", + "opaque-debug", +] + +[[package]] +name = "brotli-sys" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4445dea95f4c2b41cde57cc9fee236ae4dbae88d8fcbdb4750fc1bb5d86aaecd" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "brotli2" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cb036c3eade309815c15ddbacec5b22c4d1f3983a774ab2eac2e3e9ea85568e" +dependencies = [ + "brotli-sys", + "libc", +] + +[[package]] +name = "bumpalo" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" + +[[package]] +name = "bytecount" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e" + +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + +[[package]] +name = "bytes" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" +dependencies = [ + "serde", +] + +[[package]] +name = "bytestring" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90706ba19e97b90786e19dc0d5e2abd80008d99d4c0c5d1ad0b5e72cec7c494d" +dependencies = [ + "bytes", +] + +[[package]] +name = "cc" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" +dependencies = [ + "jobserver", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +dependencies = [ + "libc", + "num-integer", + "num-traits", + "serde", + "time 0.1.44", + "winapi", +] + +[[package]] +name = "cipher" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" +dependencies = [ + "generic-array", +] + +[[package]] +name = "cipher" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +dependencies = [ + "generic-array", +] + +[[package]] +name = "claim" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81099d6bb72e1df6d50bb2347224b666a670912bb7f06dbe867a4a070ab3ce8" +dependencies = [ + "autocfg", +] + +[[package]] +name = "color-eyre" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f1885697ee8a177096d42f158922251a41973117f6d8a234cee94b9509157b7" +dependencies = [ + "backtrace", + "eyre", + "indenter", + "once_cell", + "owo-colors", +] + +[[package]] +name = "config" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b076e143e1d9538dde65da30f8481c2a6c44040edb8e02b9bf1351edb92ce3" +dependencies = [ + "lazy_static", + "nom 5.1.2", + "serde", + "yaml-rust", +] + +[[package]] +name = "const_fn" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "cookie" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f1c7727e460397e56abc4bddc1d49e07a1ad78fc98eb2e1c8f032a58a2f80d" +dependencies = [ + "aes-gcm", + "base64 0.13.0", + "hkdf", + "hmac", + "percent-encoding", + "rand", + "sha2", + "subtle", + "time 0.2.27", + "version_check", +] + +[[package]] +name = "core-foundation" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" + +[[package]] +name = "cpufeatures" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +dependencies = [ + "libc", +] + +[[package]] +name = "cpuid-bool" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" + +[[package]] +name = "crc" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10c2722795460108a7872e1cd933a85d6ec38abc4baecad51028f702da28889f" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccaeedb56da03b09f598226e25e80088cb4cd25f316e6e4df7d695f0feeb1403" + +[[package]] +name = "crc32fast" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae5588f6b3c3cb05239e90bd110f257254aecd01e4635400391aeae07497845" +dependencies = [ + "cfg-if", + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" +dependencies = [ + "cfg-if", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "lazy_static", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-queue" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b10ddc024425c88c2ad148c1b0fd53f4c6d38db9697c9f1588381212fa657c9" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" +dependencies = [ + "cfg-if", + "lazy_static", +] + +[[package]] +name = "crypto-mac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]] +name = "ctr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f" +dependencies = [ + "cipher 0.2.5", +] + +[[package]] +name = "darling" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "757c0ded2af11d8e739c4daea1ac623dd1624b06c844cf3f5a39f1bdbd99bb12" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c34d8efb62d0c2d7f60ece80f75e5c63c1588ba68032740494b0b9a996466e3" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade7bff147130fe5e6d39f089c6bd49ec0250f35d70b2eebf72afdfc919f15cc" +dependencies = [ + "darling_core", + "quote", + "syn", +] + +[[package]] +name = "dart-notify" +version = "0.1.0" +dependencies = [ + "allo-isolate", + "bytes", + "flowy-derive", + "lazy_static", + "lib-dispatch", + "log", + "protobuf", +] + +[[package]] +name = "dashmap" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c" +dependencies = [ + "cfg-if", + "num_cpus", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "derive_more" +version = "0.99.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version 0.3.3", + "syn", +] + +[[package]] +name = "diesel" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b28135ecf6b7d446b43e27e225622a038cc4e2930a1022f51cdb97ada19b8e4d" +dependencies = [ + "byteorder", + "diesel_derives", + "libsqlite3-sys", +] + +[[package]] +name = "diesel_derives" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "diesel_migrations" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" +dependencies = [ + "migrations_internals", + "migrations_macros", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "dirs" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + +[[package]] +name = "discard" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" + +[[package]] +name = "dotenv" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" + +[[package]] +name = "dyn-clone" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" + +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +dependencies = [ + "serde", +] + +[[package]] +name = "encoding_rs" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "env_logger" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "error-chain" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02" +dependencies = [ + "backtrace", +] + +[[package]] +name = "eyre" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b" +dependencies = [ + "indenter", + "once_cell", +] + +[[package]] +name = "fancy-regex" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe09872bd11351a75f22b24c3769fc863e8212d926d6db46b94ad710d14cc5cc" +dependencies = [ + "bit-set", + "regex", +] + +[[package]] +name = "firestorm" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31586bda1b136406162e381a3185a506cdfc1631708dd40cba2f6628d8634499" + +[[package]] +name = "flate2" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0" +dependencies = [ + "cfg-if", + "crc32fast", + "libc", + "miniz_oxide", +] + +[[package]] +name = "flowy-ast" +version = "0.1.0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "flowy-database" +version = "0.1.0" +dependencies = [ + "diesel", + "diesel_derives", + "diesel_migrations", + "lib-sqlite", +] + +[[package]] +name = "flowy-derive" +version = "0.1.0" +dependencies = [ + "flowy-ast", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "flowy-document" +version = "0.1.0" +dependencies = [ + "async-stream", + "backend-service", + "bytecount", + "byteorder", + "bytes", + "chrono", + "dart-notify", + "dashmap", + "derive_more", + "diesel", + "diesel_derives", + "flowy-database", + "flowy-derive", + "flowy-document-infra", + "futures", + "futures-core", + "lazy_static", + "lib-dispatch", + "lib-infra", + "lib-ot", + "lib-ws", + "log", + "parking_lot", + "pin-project 1.0.8", + "protobuf", + "serde", + "serde_json", + "strum", + "strum_macros", + "tokio", + "tracing", + "unicode-segmentation", + "url", +] + +[[package]] +name = "flowy-document-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "flowy-derive", + "lib-ot", + "log", + "md5", + "protobuf", + "serde", + "strum", + "strum_macros", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "flowy-sdk" +version = "0.1.0" +dependencies = [ + "backend-service", + "bytes", + "color-eyre", + "flowy-database", + "flowy-document", + "flowy-document-infra", + "flowy-user", + "flowy-workspace", + "futures-core", + "lib-dispatch", + "lib-infra", + "lib-log", + "lib-ws", + "log", + "parking_lot", + "tokio", + "tracing", +] + +[[package]] +name = "flowy-test" +version = "0.1.0" +dependencies = [ + "backend-service", + "bincode", + "bytes", + "claim", + "flowy-document", + "flowy-document-infra", + "flowy-sdk", + "flowy-user", + "flowy-workspace", + "futures-util", + "lib-dispatch", + "lib-infra", + "log", + "protobuf", + "serde", + "thread-id", + "tokio", +] + +[[package]] +name = "flowy-user" +version = "0.1.0" +dependencies = [ + "backend-service", + "bytes", + "dart-notify", + "derive_more", + "diesel", + "diesel_derives", + "flowy-database", + "flowy-derive", + "flowy-user-infra", + "futures-core", + "lazy_static", + "lib-dispatch", + "lib-infra", + "lib-sqlite", + "lib-ws", + "log", + "once_cell", + "parking_lot", + "pin-project 1.0.8", + "protobuf", + "r2d2", + "serde", + "serde_json", + "strum", + "strum_macros", + "thread-id", + "thread_local", + "tokio", + "tracing", +] + +[[package]] +name = "flowy-user-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "derive_more", + "fancy-regex", + "flowy-derive", + "lazy_static", + "log", + "protobuf", + "unicode-segmentation", + "validator", +] + +[[package]] +name = "flowy-workspace" +version = "0.1.0" +dependencies = [ + "backend-service", + "bincode", + "bytes", + "chrono", + "crossbeam", + "crossbeam-utils", + "dart-notify", + "derive_more", + "diesel", + "diesel_derives", + "flowy-database", + "flowy-derive", + "flowy-document", + "flowy-document-infra", + "flowy-workspace-infra", + "futures", + "futures-core", + "lazy_static", + "lib-dispatch", + "lib-infra", + "lib-ot", + "lib-sqlite", + "log", + "parking_lot", + "pin-project 1.0.8", + "protobuf", + "serde", + "strum", + "strum_macros", + "tokio", + "tracing", +] + +[[package]] +name = "flowy-workspace-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "derive_more", + "flowy-derive", + "flowy-document-infra", + "log", + "protobuf", + "strum", + "strum_macros", + "unicode-segmentation", + "uuid", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "form_urlencoded" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" +dependencies = [ + "matches", + "percent-encoding", +] + +[[package]] +name = "funty" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" + +[[package]] +name = "futures" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" + +[[package]] +name = "futures-executor" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-intrusive" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62007592ac46aa7c2b6416f7deb9a8a8f63a01e0f1d6e1787d5630170db2b63e" +dependencies = [ + "futures-core", + "lock_api", + "parking_lot", +] + +[[package]] +name = "futures-io" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377" + +[[package]] +name = "futures-macro" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" +dependencies = [ + "autocfg", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-sink" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" + +[[package]] +name = "futures-task" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99" + +[[package]] +name = "futures-util" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481" +dependencies = [ + "autocfg", + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "proc-macro-hack", + "proc-macro-nested", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "gethostname" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e692e296bfac1d2533ef168d0b60ff5897b8b70a4009276834014dd8924cc028" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "getrandom" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "ghash" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gimli" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" + +[[package]] +name = "h2" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash", +] + +[[package]] +name = "hashlink" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "heck" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hkdf" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51ab2f639c231793c5f6114bdb9bbe50a7dbbfcd7c7c6bd8475dec2d991e964f" +dependencies = [ + "digest", + "hmac", +] + +[[package]] +name = "hmac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" +dependencies = [ + "crypto-mac", + "digest", +] + +[[package]] +name = "http" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5" +dependencies = [ + "bytes", + "http", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" + +[[package]] +name = "httpdate" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" + +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]] +name = "hyper" +version = "0.14.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper", + "native-tls", + "tokio", + "tokio-native-tls", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indenter" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" + +[[package]] +name = "indexmap" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "instant" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "ipnet" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" + +[[package]] +name = "itertools" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" + +[[package]] +name = "jobserver" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce791b7ca6638aae45be056e068fc756d871eb3b3b10b8efa62d1c9cec616752" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "jsonwebtoken" +version = "7.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afabcc15e437a6484fc4f12d0fd63068fe457bf93f1c148d3d9649c60b103f32" +dependencies = [ + "base64 0.12.3", + "pem", + "ring", + "serde", + "serde_json", + "simple_asn1", +] + +[[package]] +name = "language-tags" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "lexical-core" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" +dependencies = [ + "arrayvec", + "bitflags", + "cfg-if", + "ryu", + "static_assertions", +] + +[[package]] +name = "lib-dispatch" +version = "0.1.0" +dependencies = [ + "bytes", + "dashmap", + "derivative", + "dyn-clone", + "env_logger", + "futures", + "futures-channel", + "futures-core", + "futures-util", + "lazy_static", + "log", + "paste", + "pin-project 1.0.8", + "protobuf", + "serde", + "serde_json", + "serde_with", + "thread-id", + "tokio", + "tracing", + "uuid", +] + +[[package]] +name = "lib-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "diesel", + "diesel_derives", + "diesel_migrations", + "flowy-derive", + "futures-core", + "lazy_static", + "lib-sqlite", + "log", + "pin-project 1.0.8", + "protobuf", + "rand", + "tokio", + "uuid", +] + +[[package]] +name = "lib-log" +version = "0.1.0" +dependencies = [ + "chrono", + "lazy_static", + "log", + "serde", + "serde_json", + "tracing", + "tracing-appender", + "tracing-bunyan-formatter", + "tracing-core", + "tracing-futures", + "tracing-log", + "tracing-subscriber", +] + +[[package]] +name = "lib-ot" +version = "0.1.0" +dependencies = [ + "bytecount", + "bytes", + "derive_more", + "lazy_static", + "log", + "serde", + "serde_json", + "strum", + "strum_macros", + "tracing", +] + +[[package]] +name = "lib-sqlite" +version = "0.1.0" +dependencies = [ + "diesel", + "diesel_derives", + "diesel_migrations", + "error-chain", + "lazy_static", + "libsqlite3-sys", + "log", + "r2d2", + "scheduled-thread-pool", +] + +[[package]] +name = "lib-ws" +version = "0.1.0" +dependencies = [ + "backend-service", + "bytes", + "dashmap", + "flowy-derive", + "futures", + "futures-channel", + "futures-core", + "futures-util", + "lib-infra", + "log", + "parking_lot", + "paste", + "pin-project 1.0.8", + "protobuf", + "strum", + "strum_macros", + "tokio", + "tokio-tungstenite", + "tracing", + "url", +] + +[[package]] +name = "libc" +version = "0.2.99" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7f823d141fe0a24df1e23b4af4e3c7ba9e5966ec514ea068c93024aa7deb765" + +[[package]] +name = "libsqlite3-sys" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9eb7b8e152b6a01be6a4a2917248381875758250dc3df5d46caf9250341dda" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linked-hash-map" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" + +[[package]] +name = "linkify" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78d59d732ba6d7eeefc418aab8057dc8e3da4374bd5802ffa95bebc04b4d1dfb" +dependencies = [ + "memchr", +] + +[[package]] +name = "local-channel" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6246c68cf195087205a0512559c97e15eaf95198bf0e206d662092cdcb03fe9f" +dependencies = [ + "futures-core", + "futures-sink", + "futures-util", + "local-waker", +] + +[[package]] +name = "local-waker" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84f9a2d3e27ce99ce2c3aad0b09b1a7b916293ea9b2bf624c13fe646fadd8da4" + +[[package]] +name = "lock_api" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[package]] +name = "matchers" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matches" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" + +[[package]] +name = "md-5" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15" +dependencies = [ + "block-buffer", + "digest", + "opaque-debug", +] + +[[package]] +name = "md5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" + +[[package]] +name = "memchr" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" + +[[package]] +name = "memoffset" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" +dependencies = [ + "autocfg", +] + +[[package]] +name = "migrations_internals" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" +dependencies = [ + "diesel", +] + +[[package]] +name = "migrations_macros" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" +dependencies = [ + "migrations_internals", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "mime" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" + +[[package]] +name = "miniz_oxide" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +dependencies = [ + "adler", + "autocfg", +] + +[[package]] +name = "mio" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" +dependencies = [ + "libc", + "log", + "miow", + "ntapi", + "winapi", +] + +[[package]] +name = "miow" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" +dependencies = [ + "winapi", +] + +[[package]] +name = "native-tls" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" +dependencies = [ + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "nom" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" +dependencies = [ + "lexical-core", + "memchr", + "version_check", +] + +[[package]] +name = "nom" +version = "6.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" +dependencies = [ + "bitvec", + "funty", + "lexical-core", + "memchr", + "version_check", +] + +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi", +] + +[[package]] +name = "num-bigint" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" + +[[package]] +name = "opaque-debug" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" + +[[package]] +name = "openssl" +version = "0.10.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9facdb76fec0b73c406f125d44d86fdad818d66fef0531eec9233ca425ff4a" +dependencies = [ + "bitflags", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-sys", +] + +[[package]] +name = "openssl-probe" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" + +[[package]] +name = "openssl-sys" +version = "0.9.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1996d2d305e561b70d1ee0c53f1542833f4e1ac6ce9a6708b6ff2738ca67dc82" +dependencies = [ + "autocfg", + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "ormx" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d99c9ec0597b587e61d52d8dc5914845a48a5a71f412a0a20ac4edef5db4f98" +dependencies = [ + "futures", + "ormx-macros", + "sqlx", +] + +[[package]] +name = "ormx-macros" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afe154fda773c54b533b54d4c9b97949aa37ebe5d77cdabc497e494f3ec05418" +dependencies = [ + "itertools", + "once_cell", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "owo-colors" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" + +[[package]] +name = "parking_lot" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" +dependencies = [ + "instant", + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" +dependencies = [ + "cfg-if", + "instant", + "libc", + "redox_syscall 0.2.10", + "smallvec", + "winapi", +] + +[[package]] +name = "paste" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" + +[[package]] +name = "pem" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb" +dependencies = [ + "base64 0.13.0", + "once_cell", + "regex", +] + +[[package]] +name = "percent-encoding" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + +[[package]] +name = "pest" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" +dependencies = [ + "ucd-trie", +] + +[[package]] +name = "pin-project" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f" +dependencies = [ + "pin-project-internal 0.4.28", +] + +[[package]] +name = "pin-project" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" +dependencies = [ + "pin-project-internal 1.0.8", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-internal" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkg-config" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" + +[[package]] +name = "polyval" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" +dependencies = [ + "cpuid-bool", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro-hack" +version = "0.5.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" + +[[package]] +name = "proc-macro-nested" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" + +[[package]] +name = "proc-macro2" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "protobuf" +version = "2.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "020f86b07722c5c4291f7c723eac4676b3892d47d9a7708dc2779696407f039b" + +[[package]] +name = "quote" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r2d2" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "545c5bc2b880973c9c10e4067418407a0ccaa3091781d1671d46eb35107cb26f" +dependencies = [ + "log", + "parking_lot", + "scheduled-thread-pool", +] + +[[package]] +name = "radium" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" + +[[package]] +name = "rand" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", + "rand_hc", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_hc" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" +dependencies = [ + "rand_core", +] + +[[package]] +name = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + +[[package]] +name = "redox_syscall" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" +dependencies = [ + "bitflags", +] + +[[package]] +name = "redox_users" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" +dependencies = [ + "getrandom", + "redox_syscall 0.2.10", +] + +[[package]] +name = "regex" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.6.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" + +[[package]] +name = "remove_dir_all" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +dependencies = [ + "winapi", +] + +[[package]] +name = "reqwest" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246e9f61b9bb77df069a947682be06e31ac43ea37862e244a69f177694ea6d22" +dependencies = [ + "base64 0.13.0", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "hyper-tls", + "ipnet", + "js-sys", + "lazy_static", + "log", + "mime", + "native-tls", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_urlencoded", + "tokio", + "tokio-native-tls", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg", +] + +[[package]] +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin", + "untrusted", + "web-sys", + "winapi", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49" + +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + +[[package]] +name = "rustls" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +dependencies = [ + "base64 0.13.0", + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "rustversion" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088" + +[[package]] +name = "ryu" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" + +[[package]] +name = "schannel" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +dependencies = [ + "lazy_static", + "winapi", +] + +[[package]] +name = "scheduled-thread-pool" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc6f74fd1204073fa02d5d5d68bec8021be4c38690b61264b2fdb48083d0e7d7" +dependencies = [ + "parking_lot", +] + +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + +[[package]] +name = "sct" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "security-framework" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.2", +] + +[[package]] +name = "semver-parser" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" + +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + +[[package]] +name = "serde" +version = "1.0.127" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde-aux" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "905f2fc9f3d1574e8b5923a58118240021f01d4e239673937ffb9f42707a4f22" +dependencies = [ + "chrono", + "serde", + "serde_json", +] + +[[package]] +name = "serde_derive" +version = "1.0.127" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "336b10da19a12ad094b59d870ebde26a45402e5b470add4b5fd03c5048a32127" +dependencies = [ + "indexmap", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_repr" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "1.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad9fdbb69badc8916db738c25efd04f0a65297d26c2f8de4b62e57b8c12bc72" +dependencies = [ + "rustversion", + "serde", + "serde_with_macros", +] + +[[package]] +name = "serde_with_macros" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1569374bd54623ec8bd592cf22ba6e03c0f177ff55fbc8c29a49e296e7adecf" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sha-1" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a0c8611594e2ab4ebbf06ec7cbbf0a99450b8570e96cbf5188b5d5f6ef18d81" +dependencies = [ + "block-buffer", + "cfg-if", + "cpufeatures", + "digest", + "opaque-debug", +] + +[[package]] +name = "sha1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" + +[[package]] +name = "sha2" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" +dependencies = [ + "block-buffer", + "cfg-if", + "cpufeatures", + "digest", + "opaque-debug", +] + +[[package]] +name = "sharded-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740223c51853f3145fe7c90360d2d4232f2b62e3449489c207eccde818979982" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +dependencies = [ + "libc", +] + +[[package]] +name = "simple_asn1" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692ca13de57ce0613a363c8c2f1de925adebc81b04c923ac60c5488bb44abe4b" +dependencies = [ + "chrono", + "num-bigint", + "num-traits", +] + +[[package]] +name = "slab" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590" + +[[package]] +name = "smallvec" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" + +[[package]] +name = "socket2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "sql-builder" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1008d95d2ec2d062959352527be30e10fec42a1aa5e5a48d990a5ff0fb9bdc0" +dependencies = [ + "anyhow", + "thiserror", +] + +[[package]] +name = "sqlformat" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d86e3c77ff882a828346ba401a7ef4b8e440df804491c6064fe8295765de71c" +dependencies = [ + "lazy_static", + "maplit", + "nom 6.1.2", + "regex", + "unicode_categories", +] + +[[package]] +name = "sqlx" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b977121ecc75cadd442a6a8c600f5ded6d7117a46d55ed417a815bd94b2af237" +dependencies = [ + "sqlx-core", + "sqlx-macros", +] + +[[package]] +name = "sqlx-core" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6da11206ae9ba3ececf83d44aef533c0d8176ae430cfaa14b408ce8b6bc4ab4b" +dependencies = [ + "ahash", + "atoi", + "base64 0.13.0", + "bitflags", + "byteorder", + "bytes", + "chrono", + "crc", + "crossbeam-channel", + "crossbeam-queue", + "crossbeam-utils", + "dirs", + "either", + "futures-channel", + "futures-core", + "futures-intrusive", + "futures-util", + "hashlink", + "hex", + "hmac", + "itoa", + "libc", + "log", + "md-5", + "memchr", + "once_cell", + "parking_lot", + "percent-encoding", + "rand", + "rustls", + "serde", + "serde_json", + "sha-1", + "sha2", + "smallvec", + "sqlformat", + "sqlx-rt", + "stringprep", + "thiserror", + "tokio-stream", + "url", + "uuid", + "webpki", + "webpki-roots", + "whoami", +] + +[[package]] +name = "sqlx-macros" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419f9005ad3b065ab4e774361b0d56a24e8e3dc9b2c9ddeaf018b5fdc1166ec2" +dependencies = [ + "dotenv", + "either", + "futures", + "heck", + "hex", + "once_cell", + "proc-macro2", + "quote", + "serde", + "serde_json", + "sha2", + "sqlx-core", + "sqlx-rt", + "syn", + "url", +] + +[[package]] +name = "sqlx-rt" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52d39baa13314f936c5991429b0b656980f52d23dfb15078bbea2c51f5086eeb" +dependencies = [ + "actix-rt", + "once_cell", + "tokio", + "tokio-rustls", +] + +[[package]] +name = "standback" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" +dependencies = [ + "version_check", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "stdweb" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" +dependencies = [ + "discard", + "rustc_version 0.2.3", + "stdweb-derive", + "stdweb-internal-macros", + "stdweb-internal-runtime", + "wasm-bindgen", +] + +[[package]] +name = "stdweb-derive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_derive", + "syn", +] + +[[package]] +name = "stdweb-internal-macros" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" +dependencies = [ + "base-x", + "proc-macro2", + "quote", + "serde", + "serde_derive", + "serde_json", + "sha1", + "syn", +] + +[[package]] +name = "stdweb-internal-runtime" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" + +[[package]] +name = "stringprep" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + +[[package]] +name = "strum" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" + +[[package]] +name = "strum_macros" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "syn" +version = "1.0.74" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "tempfile" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +dependencies = [ + "cfg-if", + "libc", + "rand", + "redox_syscall 0.2.10", + "remove_dir_all", + "winapi", +] + +[[package]] +name = "termcolor" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thread-id" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fbf4c9d56b320106cd64fd024dadfa0be7cb4706725fc44a7d7ce952d820c1" +dependencies = [ + "libc", + "redox_syscall 0.1.57", + "winapi", +] + +[[package]] +name = "thread_local" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" +dependencies = [ + "once_cell", +] + +[[package]] +name = "time" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +dependencies = [ + "libc", + "wasi", + "winapi", +] + +[[package]] +name = "time" +version = "0.2.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" +dependencies = [ + "const_fn", + "libc", + "standback", + "stdweb", + "time-macros", + "version_check", + "winapi", +] + +[[package]] +name = "time" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad" +dependencies = [ + "itoa", + "libc", +] + +[[package]] +name = "time-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" +dependencies = [ + "proc-macro-hack", + "time-macros-impl", +] + +[[package]] +name = "time-macros-impl" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" +dependencies = [ + "proc-macro-hack", + "proc-macro2", + "quote", + "standback", + "syn", +] + +[[package]] +name = "tinyvec" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" + +[[package]] +name = "tokio" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cf844b23c6131f624accf65ce0e4e9956a8bb329400ea5bcc26ae3a5c20b0b" +dependencies = [ + "autocfg", + "bytes", + "libc", + "memchr", + "mio", + "num_cpus", + "once_cell", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "tokio-macros", + "winapi", +] + +[[package]] +name = "tokio-macros" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" +dependencies = [ + "native-tls", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" +dependencies = [ + "rustls", + "tokio", + "webpki", +] + +[[package]] +name = "tokio-stream" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" +dependencies = [ + "futures-util", + "log", + "pin-project 1.0.8", + "tokio", + "tungstenite", +] + +[[package]] +name = "tokio-util" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" +dependencies = [ + "serde", +] + +[[package]] +name = "tower-service" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" + +[[package]] +name = "tracing" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" +dependencies = [ + "cfg-if", + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-appender" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9965507e507f12c8901432a33e31131222abac31edd90cabbcf85cf544b7127a" +dependencies = [ + "chrono", + "crossbeam-channel", + "tracing-subscriber", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-bunyan-formatter" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c408910c9b7eabc0215fe2b4a89f8ec95581a91cea1f7619f7c78caf14cbc2a1" +dependencies = [ + "chrono", + "gethostname", + "log", + "serde", + "serde_json", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", +] + +[[package]] +name = "tracing-core" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ca517f43f0fb96e0c3072ed5c275fe5eece87e8cb52f4a77b69226d3b1c9df8" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "tracing-futures" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +dependencies = [ + "pin-project 1.0.8", + "tracing", +] + +[[package]] +name = "tracing-log" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" +dependencies = [ + "lazy_static", + "log", + "tracing-core", +] + +[[package]] +name = "tracing-serde" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b" +dependencies = [ + "serde", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cbe87a2fa7e35900ce5de20220a582a9483a7063811defce79d7cbd59d4cfe" +dependencies = [ + "ansi_term", + "chrono", + "lazy_static", + "matchers", + "regex", + "serde", + "serde_json", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", +] + +[[package]] +name = "try-lock" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + +[[package]] +name = "tungstenite" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" +dependencies = [ + "base64 0.13.0", + "byteorder", + "bytes", + "http", + "httparse", + "log", + "rand", + "sha-1", + "thiserror", + "url", + "utf-8", +] + +[[package]] +name = "typenum" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" + +[[package]] +name = "ucd-trie" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" + +[[package]] +name = "unicode-bidi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246f4c42e67e7a4e3c6106ff716a5d067d4132a642840b242e357e468a2a0085" + +[[package]] +name = "unicode-normalization" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-segmentation" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" + +[[package]] +name = "unicode-xid" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" + +[[package]] +name = "unicode_categories" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" + +[[package]] +name = "universal-hash" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "url" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +dependencies = [ + "form_urlencoded", + "idna", + "matches", + "percent-encoding", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "uuid" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" +dependencies = [ + "getrandom", + "serde", +] + +[[package]] +name = "validator" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d6937c33ec6039d8071bcf72933146b5bbe378d645d8fa59bdadabfc2a249" +dependencies = [ + "idna", + "lazy_static", + "regex", + "serde", + "serde_derive", + "serde_json", + "url", + "validator_types", +] + +[[package]] +name = "validator_types" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad9680608df133af2c1ddd5eaf1ddce91d60d61b6bc51494ef326458365a470a" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +dependencies = [ + "log", + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + +[[package]] +name = "wasm-bindgen" +version = "0.2.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586" +dependencies = [ + "cfg-if", + "serde", + "serde_json", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16646b21c3add8e13fdb8f20172f8a28c3dbf62f45406bcff0233188226cfe0c" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.75" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2" + +[[package]] +name = "web-sys" +version = "0.3.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c70a82d842c9979078c772d4a1344685045f1a5628f677c2b2eab4dd7d2696" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "webpki-roots" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" +dependencies = [ + "webpki", +] + +[[package]] +name = "whoami" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7741161a40200a867c96dfa5574544efa4178cf4c8f770b62dd1cc0362d7ae1" +dependencies = [ + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "winreg" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" +dependencies = [ + "winapi", +] + +[[package]] +name = "wyz" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" + +[[package]] +name = "yaml-rust" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "zstd" +version = "0.7.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9428752481d8372e15b1bf779ea518a179ad6c771cca2d2c60e4fbff3cc2cd52" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "3.1.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa1926623ad7fe406e090555387daf73db555b948134b4d73eac5eb08fb666d" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "1.5.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e6c094340240369025fc6b731b054ee2a834328fa584310ac96aa4baebdc465" +dependencies = [ + "cc", + "libc", +] diff --git a/shared-lib/Cargo.lock b/shared-lib/Cargo.lock new file mode 100644 index 0000000000..4a2f1dfe04 --- /dev/null +++ b/shared-lib/Cargo.lock @@ -0,0 +1,2563 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "actix-codec" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13895df506faee81e423febbae3a33b27fca71831b96bb3d60adf16ebcfea952" +dependencies = [ + "bitflags", + "bytes", + "futures-core", + "futures-sink", + "log", + "memchr", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "actix-http" +version = "3.0.0-beta.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afaeb3d3fcb06b775ac62f05d580aae4afe5a149513333a73f688fdf26c06639" +dependencies = [ + "actix-codec", + "actix-rt", + "actix-service", + "actix-utils", + "ahash", + "base64", + "bitflags", + "brotli2", + "bytes", + "bytestring", + "derive_more", + "encoding_rs", + "flate2", + "futures-core", + "futures-util", + "h2", + "http", + "httparse", + "httpdate", + "itoa", + "language-tags", + "local-channel", + "log", + "mime", + "percent-encoding", + "pin-project", + "pin-project-lite", + "rand 0.8.4", + "sha-1", + "smallvec", + "zstd", +] + +[[package]] +name = "actix-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "actix-router" +version = "0.5.0-beta.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36b95ce0d76d1aa2f98b681702807475ade0f99bd4552546a6843a966d42ea3d" +dependencies = [ + "bytestring", + "firestorm", + "http", + "log", + "regex", + "serde", +] + +[[package]] +name = "actix-rt" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a0c218d0a17c120f10ee0c69c9f0c45d87319e8f66b1f065e8412b612fc3e24" +dependencies = [ + "actix-macros", + "futures-core", + "tokio", +] + +[[package]] +name = "actix-server" +version = "2.0.0-beta.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411dd3296dd317ff5eff50baa13f31923ea40ec855dd7f2d3ed8639948f0195f" +dependencies = [ + "actix-rt", + "actix-service", + "actix-utils", + "futures-core", + "futures-util", + "log", + "mio", + "num_cpus", + "socket2", + "tokio", +] + +[[package]] +name = "actix-service" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3dc6a618b082974a08d7a4781d24d4691cba51500059bfebe6656a61ebfe1e" +dependencies = [ + "futures-core", + "paste", + "pin-project-lite", +] + +[[package]] +name = "actix-utils" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e491cbaac2e7fc788dfff99ff48ef317e23b3cf63dbaf7aaab6418f40f92aa94" +dependencies = [ + "local-waker", + "pin-project-lite", +] + +[[package]] +name = "actix-web" +version = "4.0.0-beta.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e85aa9bb018d83a0db70f557ba0cde9c6170a5d1de4fede02e377f68c1ac5aa9" +dependencies = [ + "actix-codec", + "actix-http", + "actix-macros", + "actix-router", + "actix-rt", + "actix-server", + "actix-service", + "actix-utils", + "actix-web-codegen", + "ahash", + "bytes", + "cfg-if", + "cookie", + "derive_more", + "either", + "encoding_rs", + "futures-core", + "futures-util", + "itoa", + "language-tags", + "log", + "mime", + "once_cell", + "paste", + "pin-project", + "regex", + "serde", + "serde_json", + "serde_urlencoded", + "smallvec", + "socket2", + "time 0.3.5", + "url", +] + +[[package]] +name = "actix-web-codegen" +version = "0.5.0-beta.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfe80a8828fa88a0420dc8fdd4c16b8207326c917f17701881b063eadc2a8d3b" +dependencies = [ + "actix-router", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "addr2line" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "ahash" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +dependencies = [ + "getrandom 0.2.3", + "once_cell", + "version_check", +] + +[[package]] +name = "aho-corasick" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +dependencies = [ + "memchr", +] + +[[package]] +name = "anyhow" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d9ff5d688f1c13395289f67db01d4826b46dd694e7580accdc3e8430f2d98e" + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi", +] + +[[package]] +name = "autocfg" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" + +[[package]] +name = "backend-service" +version = "0.1.0" +dependencies = [ + "actix-web", + "anyhow", + "bytes", + "derive_more", + "flowy-user-infra", + "flowy-workspace-infra", + "hyper", + "lazy_static", + "log", + "protobuf", + "reqwest", + "serde", + "serde_json", + "serde_repr", + "thiserror", + "tokio", + "tracing", + "uuid", +] + +[[package]] +name = "backtrace" +version = "0.3.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "321629d8ba6513061f26707241fa9bc89524ff1cd7a915a97ef0c62c666ce1b6" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base-x" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b" + +[[package]] +name = "base64" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" + +[[package]] +name = "bit-set" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", +] + +[[package]] +name = "brotli-sys" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4445dea95f4c2b41cde57cc9fee236ae4dbae88d8fcbdb4750fc1bb5d86aaecd" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "brotli2" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cb036c3eade309815c15ddbacec5b22c4d1f3983a774ab2eac2e3e9ea85568e" +dependencies = [ + "brotli-sys", + "libc", +] + +[[package]] +name = "bumpalo" +version = "3.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1e260c3a9040a7c19a12468758f4c16f31a81a1fe087482be9570ec864bb6c" + +[[package]] +name = "bytecount" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e" + +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + +[[package]] +name = "bytes" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" +dependencies = [ + "serde", +] + +[[package]] +name = "bytestring" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90706ba19e97b90786e19dc0d5e2abd80008d99d4c0c5d1ad0b5e72cec7c494d" +dependencies = [ + "bytes", +] + +[[package]] +name = "cc" +version = "1.0.72" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" +dependencies = [ + "jobserver", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +dependencies = [ + "libc", + "num-integer", + "num-traits", + "time 0.1.44", + "winapi", +] + +[[package]] +name = "claim" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68ad37958d55b29a7088909368968d2fe876a24c203f8441195130f3b15194b9" +dependencies = [ + "autocfg", +] + +[[package]] +name = "const_fn" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "cookie" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f1c7727e460397e56abc4bddc1d49e07a1ad78fc98eb2e1c8f032a58a2f80d" +dependencies = [ + "percent-encoding", + "time 0.2.27", + "version_check", +] + +[[package]] +name = "core-foundation" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6888e10551bb93e424d8df1d07f1a8b4fceb0001a3a4b048bfc47554946f47b3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" + +[[package]] +name = "cpufeatures" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "dashmap" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c" +dependencies = [ + "cfg-if", + "num_cpus", +] + +[[package]] +name = "derive_more" +version = "0.99.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version 0.3.3", + "syn", +] + +[[package]] +name = "diesel" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b28135ecf6b7d446b43e27e225622a038cc4e2930a1022f51cdb97ada19b8e4d" +dependencies = [ + "byteorder", + "diesel_derives", + "libsqlite3-sys", +] + +[[package]] +name = "diesel_derives" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "diesel_migrations" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" +dependencies = [ + "migrations_internals", + "migrations_macros", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "discard" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" + +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + +[[package]] +name = "encoding_rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a74ea89a0a1b98f6332de42c95baff457ada66d1cb4030f9ff151b2041a1c746" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "env_logger" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +dependencies = [ + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "error-chain" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02" +dependencies = [ + "backtrace", +] + +[[package]] +name = "fake" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6479fa2c7e83ddf8be7d435421e093b072ca891b99a49bc84eba098f4044f818" +dependencies = [ + "rand 0.7.3", +] + +[[package]] +name = "fancy-regex" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe09872bd11351a75f22b24c3769fc863e8212d926d6db46b94ad710d14cc5cc" +dependencies = [ + "bit-set", + "regex", +] + +[[package]] +name = "firestorm" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31586bda1b136406162e381a3185a506cdfc1631708dd40cba2f6628d8634499" + +[[package]] +name = "flate2" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" +dependencies = [ + "cfg-if", + "crc32fast", + "libc", + "miniz_oxide", +] + +[[package]] +name = "flowy-ast" +version = "0.1.0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "flowy-derive" +version = "0.1.0" +dependencies = [ + "flowy-ast", + "log", + "proc-macro2", + "quote", + "syn", + "tokio", + "trybuild", +] + +[[package]] +name = "flowy-document-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "flowy-derive", + "lib-ot", + "log", + "md5", + "protobuf", + "serde", + "strum", + "strum_macros", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "flowy-user-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "claim", + "derive_more", + "fake", + "fancy-regex", + "flowy-derive", + "futures", + "lazy_static", + "log", + "protobuf", + "quickcheck", + "quickcheck_macros", + "serial_test", + "unicode-segmentation", + "validator", +] + +[[package]] +name = "flowy-workspace-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "derive_more", + "flowy-derive", + "flowy-document-infra", + "log", + "protobuf", + "strum", + "strum_macros", + "unicode-segmentation", + "uuid", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "form_urlencoded" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" +dependencies = [ + "matches", + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" + +[[package]] +name = "futures-executor" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377" + +[[package]] +name = "futures-macro" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" +dependencies = [ + "autocfg", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-sink" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" + +[[package]] +name = "futures-task" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99" + +[[package]] +name = "futures-util" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481" +dependencies = [ + "autocfg", + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "proc-macro-hack", + "proc-macro-nested", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", +] + +[[package]] +name = "gimli" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" + +[[package]] +name = "glob" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] +name = "h2" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fd819562fcebdac5afc5c113c3ec36f902840b70fd4fc458799c8ce4607ae55" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" + +[[package]] +name = "heck" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "http" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" +dependencies = [ + "bytes", + "http", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" + +[[package]] +name = "httpdate" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" + +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]] +name = "hyper" +version = "0.14.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436ec0091e4f20e655156a30a0df3770fe2900aa301e548e08446ec794b6953c" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper", + "native-tls", + "tokio", + "tokio-native-tls", +] + +[[package]] +name = "idna" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indexmap" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "ipnet" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" + +[[package]] +name = "itoa" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" + +[[package]] +name = "jobserver" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc9ffccd38c451a86bf13657df244e9c3f37493cce8e5e21e940963777acc84" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "language-tags" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "lib-infra" +version = "0.1.0" +dependencies = [ + "bytes", + "chrono", + "diesel", + "diesel_derives", + "diesel_migrations", + "flowy-derive", + "futures-core", + "lazy_static", + "lib-sqlite", + "log", + "pin-project", + "protobuf", + "rand 0.8.4", + "tokio", + "uuid", +] + +[[package]] +name = "lib-ot" +version = "0.1.0" +dependencies = [ + "bytecount", + "bytes", + "derive_more", + "lazy_static", + "log", + "serde", + "serde_json", + "strum", + "strum_macros", + "tracing", +] + +[[package]] +name = "lib-sqlite" +version = "0.1.0" +dependencies = [ + "diesel", + "diesel_derives", + "diesel_migrations", + "error-chain", + "lazy_static", + "libsqlite3-sys", + "log", + "r2d2", + "scheduled-thread-pool", +] + +[[package]] +name = "lib-ws" +version = "0.1.0" +dependencies = [ + "backend-service", + "bytes", + "dashmap", + "env_logger 0.8.4", + "flowy-derive", + "futures", + "futures-channel", + "futures-core", + "futures-util", + "lib-infra", + "log", + "parking_lot", + "paste", + "pin-project", + "protobuf", + "strum", + "strum_macros", + "tokio", + "tokio-tungstenite", + "tracing", + "url", +] + +[[package]] +name = "libc" +version = "0.2.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbe5e23404da5b4f555ef85ebed98fb4083e55a00c317800bc2a50ede9f3d219" + +[[package]] +name = "libsqlite3-sys" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290b64917f8b0cb885d9de0f9959fe1f775d7fa12f1da2db9001c1c8ab60f89d" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "local-channel" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6246c68cf195087205a0512559c97e15eaf95198bf0e206d662092cdcb03fe9f" +dependencies = [ + "futures-core", + "futures-sink", + "futures-util", + "local-waker", +] + +[[package]] +name = "local-waker" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84f9a2d3e27ce99ce2c3aad0b09b1a7b916293ea9b2bf624c13fe646fadd8da4" + +[[package]] +name = "lock_api" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "matches" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" + +[[package]] +name = "md5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" + +[[package]] +name = "memchr" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" + +[[package]] +name = "migrations_internals" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" +dependencies = [ + "diesel", +] + +[[package]] +name = "migrations_macros" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" +dependencies = [ + "migrations_internals", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "mime" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" + +[[package]] +name = "miniz_oxide" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +dependencies = [ + "adler", + "autocfg", +] + +[[package]] +name = "mio" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" +dependencies = [ + "libc", + "log", + "miow", + "ntapi", + "winapi", +] + +[[package]] +name = "miow" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" +dependencies = [ + "winapi", +] + +[[package]] +name = "native-tls" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" +dependencies = [ + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi", +] + +[[package]] +name = "num-integer" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" + +[[package]] +name = "opaque-debug" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" + +[[package]] +name = "openssl" +version = "0.10.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95" +dependencies = [ + "bitflags", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-sys", +] + +[[package]] +name = "openssl-probe" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" + +[[package]] +name = "openssl-sys" +version = "0.9.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7df13d165e607909b363a4757a6f133f8a818a74e9d3a98d09c6128e15fa4c73" +dependencies = [ + "autocfg", + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "parking_lot" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" +dependencies = [ + "instant", + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" +dependencies = [ + "cfg-if", + "instant", + "libc", + "redox_syscall", + "smallvec", + "winapi", +] + +[[package]] +name = "paste" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5" + +[[package]] +name = "percent-encoding" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + +[[package]] +name = "pest" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" +dependencies = [ + "ucd-trie", +] + +[[package]] +name = "pin-project" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkg-config" +version = "0.3.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f" + +[[package]] +name = "ppv-lite86" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" + +[[package]] +name = "proc-macro-hack" +version = "0.5.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" + +[[package]] +name = "proc-macro-nested" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" + +[[package]] +name = "proc-macro2" +version = "1.0.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "protobuf" +version = "2.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47c327e191621a2158159df97cdbc2e7074bb4e940275e35abf38eb3d2595754" + +[[package]] +name = "quickcheck" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f" +dependencies = [ + "env_logger 0.7.1", + "log", + "rand 0.7.3", + "rand_core 0.5.1", +] + +[[package]] +name = "quickcheck_macros" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "quote" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r2d2" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "545c5bc2b880973c9c10e4067418407a0ccaa3091781d1671d46eb35107cb26f" +dependencies = [ + "log", + "parking_lot", + "scheduled-thread-pool", +] + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc 0.2.0", +] + +[[package]] +name = "rand" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.3", + "rand_hc 0.3.1", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.3", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +dependencies = [ + "getrandom 0.2.3", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_hc" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" +dependencies = [ + "rand_core 0.6.3", +] + +[[package]] +name = "redox_syscall" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.6.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" + +[[package]] +name = "remove_dir_all" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +dependencies = [ + "winapi", +] + +[[package]] +name = "reqwest" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66d2927ca2f685faf0fc620ac4834690d29e7abb153add10f5812eef20b5e280" +dependencies = [ + "base64", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "hyper-tls", + "ipnet", + "js-sys", + "lazy_static", + "log", + "mime", + "native-tls", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "serde_urlencoded", + "tokio", + "tokio-native-tls", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" + +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + +[[package]] +name = "ryu" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" + +[[package]] +name = "schannel" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +dependencies = [ + "lazy_static", + "winapi", +] + +[[package]] +name = "scheduled-thread-pool" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc6f74fd1204073fa02d5d5d68bec8021be4c38690b61264b2fdb48083d0e7d7" +dependencies = [ + "parking_lot", +] + +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + +[[package]] +name = "security-framework" +version = "2.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.2", +] + +[[package]] +name = "semver-parser" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" + +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + +[[package]] +name = "serde" +version = "1.0.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063bf466a64011ac24040a49009724ee60a57da1b437617ceb32e53ad61bfb19" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_repr" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serial_test" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d" +dependencies = [ + "lazy_static", + "parking_lot", + "serial_test_derive", +] + +[[package]] +name = "serial_test_derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "sha-1" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" +dependencies = [ + "block-buffer", + "cfg-if", + "cpufeatures", + "digest", + "opaque-debug", +] + +[[package]] +name = "sha1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" + +[[package]] +name = "signal-hook-registry" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +dependencies = [ + "libc", +] + +[[package]] +name = "slab" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" + +[[package]] +name = "smallvec" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" + +[[package]] +name = "socket2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "standback" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" +dependencies = [ + "version_check", +] + +[[package]] +name = "stdweb" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" +dependencies = [ + "discard", + "rustc_version 0.2.3", + "stdweb-derive", + "stdweb-internal-macros", + "stdweb-internal-runtime", + "wasm-bindgen", +] + +[[package]] +name = "stdweb-derive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_derive", + "syn", +] + +[[package]] +name = "stdweb-internal-macros" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" +dependencies = [ + "base-x", + "proc-macro2", + "quote", + "serde", + "serde_derive", + "serde_json", + "sha1", + "syn", +] + +[[package]] +name = "stdweb-internal-runtime" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" + +[[package]] +name = "strum" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" + +[[package]] +name = "strum_macros" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "syn" +version = "1.0.81" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "tempfile" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +dependencies = [ + "cfg-if", + "libc", + "rand 0.8.4", + "redox_syscall", + "remove_dir_all", + "winapi", +] + +[[package]] +name = "termcolor" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "time" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi", +] + +[[package]] +name = "time" +version = "0.2.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" +dependencies = [ + "const_fn", + "libc", + "standback", + "stdweb", + "time-macros", + "version_check", + "winapi", +] + +[[package]] +name = "time" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad" +dependencies = [ + "itoa", + "libc", +] + +[[package]] +name = "time-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" +dependencies = [ + "proc-macro-hack", + "time-macros-impl", +] + +[[package]] +name = "time-macros-impl" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" +dependencies = [ + "proc-macro-hack", + "proc-macro2", + "quote", + "standback", + "syn", +] + +[[package]] +name = "tinyvec" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" + +[[package]] +name = "tokio" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144" +dependencies = [ + "autocfg", + "bytes", + "libc", + "memchr", + "mio", + "num_cpus", + "once_cell", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "tokio-macros", + "winapi", +] + +[[package]] +name = "tokio-macros" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9efc1aba077437943f7515666aa2b882dfabfbfdf89c819ea75a8d6e9eaba5e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" +dependencies = [ + "native-tls", + "tokio", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" +dependencies = [ + "futures-util", + "log", + "pin-project", + "tokio", + "tungstenite", +] + +[[package]] +name = "tokio-util" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" +dependencies = [ + "serde", +] + +[[package]] +name = "tower-service" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" + +[[package]] +name = "tracing" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" +dependencies = [ + "cfg-if", + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "try-lock" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + +[[package]] +name = "trybuild" +version = "1.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "150e726dc059e6fbd4fce3288f5bb3cf70128cf63b0dde23b938a3cad810fb23" +dependencies = [ + "glob", + "lazy_static", + "serde", + "serde_json", + "termcolor", + "toml", +] + +[[package]] +name = "tungstenite" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" +dependencies = [ + "base64", + "byteorder", + "bytes", + "http", + "httparse", + "log", + "rand 0.8.4", + "sha-1", + "thiserror", + "url", + "utf-8", +] + +[[package]] +name = "typenum" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63708a265f51345575b27fe43f9500ad611579e764c79edbc2037b1121959ec" + +[[package]] +name = "ucd-trie" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" + +[[package]] +name = "unicode-bidi" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" + +[[package]] +name = "unicode-normalization" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-segmentation" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" + +[[package]] +name = "unicode-xid" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" + +[[package]] +name = "url" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +dependencies = [ + "form_urlencoded", + "idna", + "matches", + "percent-encoding", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "uuid" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" +dependencies = [ + "getrandom 0.2.3", + "serde", +] + +[[package]] +name = "validator" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d6937c33ec6039d8071bcf72933146b5bbe378d645d8fa59bdadabfc2a249" +dependencies = [ + "idna", + "lazy_static", + "regex", + "serde", + "serde_derive", + "serde_json", + "url", + "validator_types", +] + +[[package]] +name = "validator_types" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad9680608df133af2c1ddd5eaf1ddce91d60d61b6bc51494ef326458365a470a" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +dependencies = [ + "log", + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + +[[package]] +name = "wasm-bindgen" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e8d7523cb1f2a4c96c1317ca690031b714a51cc14e05f712446691f413f5d39" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" + +[[package]] +name = "web-sys" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "winreg" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" +dependencies = [ + "winapi", +] + +[[package]] +name = "zstd" +version = "0.7.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9428752481d8372e15b1bf779ea518a179ad6c771cca2d2c60e4fbff3cc2cd52" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "3.1.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa1926623ad7fe406e090555387daf73db555b948134b4d73eac5eb08fb666d" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "1.5.0+zstd.1.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e6c094340240369025fc6b731b054ee2a834328fa584310ac96aa4baebdc465" +dependencies = [ + "cc", + "libc", +]