There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(storage): binding jwst storage to node (#2808)
liuyi2c95bfcc3dfe
diff --git a/.commitlintrc.json b/.commitlintrc.jsonindex e368393d5f..df382ac60c 100644--- a/.commitlintrc.json+++ b/.commitlintrc.json@@ -21,7 +21,8 @@"native","templates","y-indexeddb",- "debug"+ "debug",+ "storage"]]}diff --git a/.github/actions/build-rust/action.yml b/.github/actions/build-rust/action.ymlindex bff2b9e7bd..6c6c764c5b 100644--- a/.github/actions/build-rust/action.yml+++ b/.github/actions/build-rust/action.yml@@ -27,11 +27,11 @@ runs:.cargo-cachetarget/${{ inputs.target }}key: stable-${{ inputs.target }}-cargo-cache-- name: Buildif: ${{ inputs.target != 'x86_64-unknown-linux-gnu' && inputs.target != 'aarch64-unknown-linux-gnu' }}shell: bash- run: yarn nx build @affine/native --target ${{ inputs.target }}+ run: |+ yarn nx build @affine/native --target ${{ inputs.target }}env:NX_CLOUD_ACCESS_TOKEN: ${{ inputs.nx_token }}@@ -41,10 +41,10 @@ runs:with:image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debianoptions: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e NX_CLOUD_ACCESS_TOKEN=${{ inputs.nx_token }}- run: >-- export CC=x86_64-unknown-linux-gnu-gcc &&- export CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc &&- yarn nx build @affine/native --target ${{ inputs.target }} &&+ run: |+ export CC=x86_64-unknown-linux-gnu-gcc+ export CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc+ yarn nx build @affine/native --target ${{ inputs.target }}chmod -R 777 node_modules/.cache- name: Build@@ -53,6 +53,6 @@ runs:with:image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e NX_CLOUD_ACCESS_TOKEN=${{ inputs.nx_token }}- run: >-+ run: |yarn nx build @affine/native --target ${{ inputs.target }}chmod -R 777 node_modules/.cachediff --git a/.github/actions/setup-rust/action.yml b/.github/actions/setup-rust/action.ymlnew file mode 100644index 0000000000..6a8500c5cd--- /dev/null+++ b/.github/actions/setup-rust/action.yml@@ -0,0 +1,31 @@+name: 'AFFiNE Rust setup'+description: 'Rust setup, including cache configuration'+inputs:+ target:+ description: 'Cargo target'+ required: true+ toolchain:+ description: 'Rustup toolchain'+ required: false+ default: 'stable'++runs:+ using: 'composite'+ steps:+ - name: Setup Rust+ uses: dtolnay/rust-toolchain@stable+ with:+ toolchain: ${{ inputs.toolchain }}+ targets: ${{ inputs.target }}++ - name: Cache cargo+ uses: actions/cache@v3+ with:+ path: |+ ~/.cargo/registry/index/+ ~/.cargo/registry/cache/+ ~/.cargo/git/db/+ target/+ key: cargo-cache-${{ runner.os }}-${{ inputs.toolchain }}-${{ hashFiles('**/Cargo.lock') }}+ restore-keys: |+ cargo-cache-${{ runner.os }}-${{ inputs.toolchain }}-diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 2824188b18..4143078595 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -163,9 +163,14 @@ jobs:working-directory: apps/serverenv:DATABASE_URL: postgresql://affine:affine@localhost:5432/affine+ - name: Setup Rust+ uses: ./.github/actions/setup-rust+ with:+ target: 'x86_64-unknown-linux-gnu'- name: Run server testsrun: yarn nx test:coverage @affine/serverenv:+ CARGO_TARGET_DIR: '${{ github.workspace }}/target'DATABASE_URL: postgresql://affine:affine@localhost:5432/affine- name: Upload server test coverage resultsuses: codecov/codecov-action@v3diff --git a/apps/server/README.md b/apps/server/README.mdindex 2e50dbcc2b..3dfb3f6dc4 100644--- a/apps/server/README.md+++ b/apps/server/README.md@@ -1,3 +1,23 @@# Server-The latest server code of AFFiNE is at https://github.com/toeverything/OctoBase/tree/master/apps/cloud+## Get started++### Install dependencies++```bash+yarn+```++### Build Native binding++```bash+yarn workspace @affine/storage build+```++### Run server++```bash+yarn dev+```++now you can access the server GraphQL endpoint at http://localhost:3000/graphqldiff --git a/apps/server/migrations/20230628074203_workspace/migration.sql b/apps/server/migrations/20230628074203_workspace/migration.sqlnew file mode 100644index 0000000000..de119d063c--- /dev/null+++ b/apps/server/migrations/20230628074203_workspace/migration.sql@@ -0,0 +1,52 @@+-- CreateTable+CREATE TABLE "blobs" (+ "hash" VARCHAR NOT NULL,+ "workspace_id" VARCHAR NOT NULL,+ "blob" BYTEA NOT NULL,+ "length" INTEGER NOT NULL,+ "created_at" TIMESTAMPTZ(6) NOT NULL DEFAULT CURRENT_TIMESTAMP,++ CONSTRAINT "blobs_pkey" PRIMARY KEY ("hash")+);++-- CreateTable+CREATE TABLE "optimized_blobs" (+ "hash" VARCHAR NOT NULL,+ "workspace_id" VARCHAR NOT NULL,+ "params" VARCHAR NOT NULL,+ "blob" BYTEA NOT NULL,+ "length" INTEGER NOT NULL,+ "created_at" TIMESTAMPTZ(6) NOT NULL DEFAULT CURRENT_TIMESTAMP,++ CONSTRAINT "optimized_blobs_pkey" PRIMARY KEY ("hash")+);++-- CreateTable+CREATE TABLE "docs" (+ "id" SERIAL NOT NULL,+ "workspace_id" VARCHAR NOT NULL,+ "guid" VARCHAR NOT NULL,+ "is_workspace" BOOLEAN NOT NULL DEFAULT true,+ "blob" BYTEA NOT NULL,+ "created_at" TIMESTAMPTZ(6) NOT NULL DEFAULT CURRENT_TIMESTAMP,++ CONSTRAINT "docs_pkey" PRIMARY KEY ("id")+);++-- CreateIndex+CREATE UNIQUE INDEX "blobs_workspace_id_hash_key" ON "blobs"("workspace_id", "hash");++-- CreateIndex+CREATE UNIQUE INDEX "optimized_blobs_workspace_id_hash_params_key" ON "optimized_blobs"("workspace_id", "hash", "params");++-- CreateIndex+CREATE INDEX "docs_workspace_id_guid_idx" ON "docs"("workspace_id", "guid");++-- AddForeignKey+ALTER TABLE "blobs" ADD CONSTRAINT "blobs_workspace_id_fkey" FOREIGN KEY ("workspace_id") REFERENCES "workspaces"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "optimized_blobs" ADD CONSTRAINT "optimized_blobs_workspace_id_fkey" FOREIGN KEY ("workspace_id") REFERENCES "workspaces"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "docs" ADD CONSTRAINT "docs_workspace_id_fkey" FOREIGN KEY ("workspace_id") REFERENCES "workspaces"("id") ON DELETE CASCADE ON UPDATE CASCADE;diff --git a/apps/server/package.json b/apps/server/package.jsonindex 24d8c03772..f62b1deae6 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -15,6 +15,7 @@"postinstall": "prisma generate"},"dependencies": {+ "@affine/storage": "workspace:*","@apollo/server": "^4.7.4","@auth/prisma-adapter": "^1.0.0","@aws-sdk/client-s3": "^3.359.0",diff --git a/apps/server/schema.prisma b/apps/server/schema.prismaindex b579218e49..285bc01094 100644--- a/apps/server/schema.prisma+++ b/apps/server/schema.prisma@@ -8,10 +8,13 @@ datasource db {}model Workspace {- id String @id @default(uuid()) @db.VarChar- public Boolean- createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)- users UserWorkspacePermission[]+ id String @id @default(uuid()) @db.VarChar+ public Boolean+ createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)+ users UserWorkspacePermission[]+ blobs Blob[]+ docs Doc[]+ optimizedBlobs OptimizedBlob[]@@map("workspaces")}@@ -86,3 +89,44 @@ model VerificationToken {@@unique([identifier, token])@@map("verificationtokens")}++model Blob {+ hash String @id @default(uuid()) @db.VarChar+ workspaceId String @map("workspace_id") @db.VarChar+ blob Bytes @db.ByteA+ length Int+ createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)++ workspace Workspace @relation(fields: [workspaceId], references: [id], onDelete: Cascade)++ @@unique([workspaceId, hash])+ @@map("blobs")+}++model OptimizedBlob {+ hash String @id @default(uuid()) @db.VarChar+ workspaceId String @map("workspace_id") @db.VarChar+ params String @db.VarChar+ blob Bytes @db.ByteA+ length Int+ createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)++ workspace Workspace @relation(fields: [workspaceId], references: [id], onDelete: Cascade)++ @@unique([workspaceId, hash, params])+ @@map("optimized_blobs")+}++model Doc {+ id Int @id @default(autoincrement()) @db.Integer+ workspaceId String @map("workspace_id") @db.VarChar+ guid String @db.VarChar+ is_workspace Boolean @default(true) @db.Boolean+ blob Bytes @db.ByteA+ createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)++ workspace Workspace @relation(fields: [workspaceId], references: [id], onDelete: Cascade)++ @@index([workspaceId, guid])+ @@map("docs")+}diff --git a/apps/server/src/app.ts b/apps/server/src/app.tsindex 576befd384..011b51dcaf 100644--- a/apps/server/src/app.ts+++ b/apps/server/src/app.ts@@ -1,16 +1,17 @@-/// <reference types="./global.d.ts" />import { Module } from '@nestjs/common';import { ConfigModule } from './config';import { GqlModule } from './graphql.module';import { BusinessModules } from './modules';import { PrismaModule } from './prisma';+import { StorageModule } from './storage';@Module({imports: [PrismaModule,GqlModule,ConfigModule.forRoot(),+ StorageModule.forRoot(),...BusinessModules,],})diff --git a/apps/server/src/config/def.ts b/apps/server/src/config/def.tsindex 09aa330915..a85e813083 100644--- a/apps/server/src/config/def.ts+++ b/apps/server/src/config/def.ts@@ -132,6 +132,13 @@ export interface AFFiNEConfig {*/get origin(): string;+ /**+ * the database config+ */+ db: {+ url: string;+ };+/*** the apollo driver config*/diff --git a/apps/server/src/config/default.ts b/apps/server/src/config/default.tsindex 7c7a20543b..8c2ebdc943 100644--- a/apps/server/src/config/default.ts+++ b/apps/server/src/config/default.ts@@ -52,6 +52,9 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => ({get baseUrl() {return `${this.origin}${this.path}`;},+ db: {+ url: '',+ },graphql: {buildSchemaOptions: {numberScalarMode: 'integer',@@ -81,3 +84,5 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => ({},},});++export { registerEnvs } from './env';diff --git a/apps/server/src/config/env.ts b/apps/server/src/config/env.tsindex 49a1f92695..bfcd2c7d5c 100644--- a/apps/server/src/config/env.ts+++ b/apps/server/src/config/env.ts@@ -2,14 +2,16 @@ import { set } from 'lodash-es';import { parseEnvValue } from './def';-for (const env in AFFiNE.ENV_MAP) {- const config = AFFiNE.ENV_MAP[env];- const [path, value] =- typeof config === 'string'- ? [config, process.env[env]]- : [config[0], parseEnvValue(process.env[env], config[1])];+export function registerEnvs() {+ for (const env in globalThis.AFFiNE.ENV_MAP) {+ const config = globalThis.AFFiNE.ENV_MAP[env];+ const [path, value] =+ typeof config === 'string'+ ? [config, process.env[env]]+ : [config[0], parseEnvValue(process.env[env], config[1])];- if (typeof value !== 'undefined') {- set(globalThis.AFFiNE, path, process.env[env]);+ if (typeof value !== 'undefined') {+ set(globalThis.AFFiNE, path, process.env[env]);+ }}}diff --git a/apps/server/src/config/index.ts b/apps/server/src/config/index.tsindex aea3456c5b..812cbe6e1e 100644--- a/apps/server/src/config/index.ts+++ b/apps/server/src/config/index.ts@@ -1,9 +1,12 @@+// eslint-disable-next-line simple-import-sort/importsimport type { DynamicModule, FactoryProvider } from '@nestjs/common';import { merge } from 'lodash-es';import type { DeepPartial } from '../utils/types';import type { AFFiNEConfig } from './def';+import '../prelude';+type ConstructorOf<T> = {new (): T;};@@ -37,11 +40,14 @@ function createConfigProvider(provide: Config,useFactory: () => {const wrapper = new Config();- const config = merge({}, AFFiNE, override);+ const config = merge({}, globalThis.AFFiNE, override);const proxy: Config = new Proxy(wrapper, {get: (_target, property: keyof Config) => {- const desc = Object.getOwnPropertyDescriptor(AFFiNE, property);+ const desc = Object.getOwnPropertyDescriptor(+ globalThis.AFFiNE,+ property+ );if (desc?.get) {return desc.get.call(proxy);}diff --git a/apps/server/src/index.ts b/apps/server/src/index.tsindex 0109d699c0..8ebb9ef5c1 100644--- a/apps/server/src/index.ts+++ b/apps/server/src/index.ts@@ -1,5 +1,4 @@-import './prelude';-+/// <reference types="./global.d.ts" />import { NestFactory } from '@nestjs/core';import type { NestExpressApplication } from '@nestjs/platform-express';import { static as staticMiddleware } from 'express';diff --git a/apps/server/src/modules/workspaces/controller.ts b/apps/server/src/modules/workspaces/controller.tsnew file mode 100644index 0000000000..e98f75795f--- /dev/null+++ b/apps/server/src/modules/workspaces/controller.ts@@ -0,0 +1,27 @@+import { Storage } from '@affine/storage';+import { Controller, Get, NotFoundException, Param, Res } from '@nestjs/common';+import type { Response } from 'express';++@Controller('/api/workspaces')+export class WorkspacesController {+ constructor(private readonly storage: Storage) {}++ @Get('/:id/blobs/:name')+ async blob(+ @Param('id') workspaceId: string,+ @Param('name') name: string,+ @Res() res: Response+ ) {+ const blob = await this.storage.blob(workspaceId, name);++ if (!blob) {+ throw new NotFoundException('Blob not found');+ }++ res.setHeader('content-type', blob.contentType);+ res.setHeader('last-modified', blob.lastModified);+ res.setHeader('content-length', blob.size);++ res.send(blob.data);+ }+}diff --git a/apps/server/src/modules/workspaces/index.ts b/apps/server/src/modules/workspaces/index.tsindex 9100936751..61cb69da46 100644--- a/apps/server/src/modules/workspaces/index.ts+++ b/apps/server/src/modules/workspaces/index.ts@@ -1,10 +1,11 @@import { Module } from '@nestjs/common';+import { WorkspacesController } from './controller';import { PermissionService } from './permission';import { WorkspaceResolver } from './resolver';@Module({- providers: [WorkspaceResolver, PermissionService],+ providers: [WorkspaceResolver, PermissionService, WorkspacesController],exports: [PermissionService],})export class WorkspaceModule {}diff --git a/apps/server/src/modules/workspaces/resolver.ts b/apps/server/src/modules/workspaces/resolver.tsindex 8f0094082b..bbd4465739 100644--- a/apps/server/src/modules/workspaces/resolver.ts+++ b/apps/server/src/modules/workspaces/resolver.ts@@ -1,3 +1,4 @@+import { Storage } from '@affine/storage';import { ForbiddenException, NotFoundException } from '@nestjs/common';import {Args,@@ -16,8 +17,11 @@ import {Resolver,} from '@nestjs/graphql';import type { User, Workspace } from '@prisma/client';+// @ts-expect-error graphql-upload is not typed+import GraphQLUpload from 'graphql-upload/GraphQLUpload.mjs';import { PrismaService } from '../../prisma';+import type { FileUpload } from '../../types';import { Auth, CurrentUser } from '../auth';import { UserType } from '../users/resolver';import { PermissionService } from './permission';@@ -55,7 +59,8 @@ export class UpdateWorkspaceInput extends PickType(export class WorkspaceResolver {constructor(private readonly prisma: PrismaService,- private readonly permissionProvider: PermissionService+ private readonly permissionProvider: PermissionService,+ private readonly storage: Storage) {}@ResolveField(() => Permission, {@@ -174,8 +179,25 @@ export class WorkspaceResolver {@Mutation(() => WorkspaceType, {description: 'Create a new workspace',})- async createWorkspace(@CurrentUser() user: User) {- return this.prisma.workspace.create({+ async createWorkspace(+ @CurrentUser() user: User,+ @Args({ name: 'init', type: () => GraphQLUpload })+ update: FileUpload+ ) {+ // convert stream to buffer+ const buffer = await new Promise<Buffer>((resolve, reject) => {+ const stream = update.createReadStream();+ const chunks: Uint8Array[] = [];+ stream.on('data', chunk => {+ chunks.push(chunk);+ });+ stream.on('error', reject);+ stream.on('end', () => {+ resolve(Buffer.concat(chunks));+ });+ });++ const workspace = await this.prisma.workspace.create({data: {public: false,users: {@@ -191,6 +213,10 @@ export class WorkspaceResolver {},},});++ await this.storage.createWorkspace(workspace.id, buffer);++ return workspace;}@Mutation(() => WorkspaceType, {@@ -221,8 +247,15 @@ export class WorkspaceResolver {},});+ await this.prisma.userWorkspacePermission.deleteMany({+ where: {+ workspaceId: id,+ },+ });+// TODO:// delete all related data, like websocket connections, blobs, etc.+ await this.storage.deleteWorkspace(id);return true;}@@ -283,4 +316,28 @@ export class WorkspaceResolver {return this.permissionProvider.revoke(workspaceId, user.id);}++ @Mutation(() => String)+ async uploadBlob(+ @CurrentUser() user: User,+ @Args('workspaceId') workspaceId: string,+ @Args({ name: 'blob', type: () => GraphQLUpload })+ blob: FileUpload+ ) {+ await this.permissionProvider.check(workspaceId, user.id);++ const buffer = await new Promise<Buffer>((resolve, reject) => {+ const stream = blob.createReadStream();+ const chunks: Uint8Array[] = [];+ stream.on('data', chunk => {+ chunks.push(chunk);+ });+ stream.on('error', reject);+ stream.on('end', () => {+ resolve(Buffer.concat(chunks));+ });+ });++ return this.storage.uploadBlob(workspaceId, buffer);+ }}diff --git a/apps/server/src/prelude.ts b/apps/server/src/prelude.tsindex 10c53c1bed..edafc03e54 100644--- a/apps/server/src/prelude.ts+++ b/apps/server/src/prelude.ts@@ -1,6 +1,12 @@import 'reflect-metadata';import 'dotenv/config';-import { getDefaultAFFiNEConfig } from './config/default';+import { getDefaultAFFiNEConfig, registerEnvs } from './config/default';globalThis.AFFiNE = getDefaultAFFiNEConfig();++globalThis.AFFiNE.ENV_MAP = {+ DATABASE_URL: 'db.url',+};++registerEnvs();diff --git a/apps/server/src/schema.gql b/apps/server/src/schema.gqlindex 791ef52c1a..acfc12fe6b 100644--- a/apps/server/src/schema.gql+++ b/apps/server/src/schema.gql@@ -106,7 +106,7 @@ type Mutation {"""Create a new workspace"""- createWorkspace: WorkspaceType!+ createWorkspace(init: Upload!): WorkspaceType!"""Update workspace@@ -121,6 +121,7 @@ type Mutation {revoke(workspaceId: String!, userId: String!): Boolean!acceptInvite(workspaceId: String!): Boolean!leaveWorkspace(workspaceId: String!): Boolean!+ uploadBlob(workspaceId: String!, blob: Upload!): String!"""Upload user avatar@@ -128,6 +129,11 @@ type Mutation {uploadAvatar(id: String!, avatar: Upload!): UserType!}+"""+The `Upload` scalar type represents a file upload.+"""+scalar Upload+input UpdateWorkspaceInput {"""is Public workspace@@ -135,8 +141,3 @@ input UpdateWorkspaceInput {public: Booleanid: ID!}--"""-The `Upload` scalar type represents a file upload.-"""-scalar Uploaddiff --git a/apps/server/src/storage/index.ts b/apps/server/src/storage/index.tsnew file mode 100644index 0000000000..e62e5fcfd1--- /dev/null+++ b/apps/server/src/storage/index.ts@@ -0,0 +1,23 @@+import { Storage } from '@affine/storage';+import { type DynamicModule, type FactoryProvider } from '@nestjs/common';++import { Config } from '../config';++export class StorageModule {+ static forRoot(): DynamicModule {+ const storageProvider: FactoryProvider = {+ provide: Storage,+ useFactory: async (config: Config) => {+ return Storage.connect(config.db.url);+ },+ inject: [Config],+ };++ return {+ global: true,+ module: StorageModule,+ providers: [storageProvider],+ exports: [storageProvider],+ };+ }+}diff --git a/apps/server/src/tests/app.e2e.ts b/apps/server/src/tests/app.e2e.tsindex a872b04d05..a74d2b9096 100644--- a/apps/server/src/tests/app.e2e.ts+++ b/apps/server/src/tests/app.e2e.ts@@ -12,12 +12,9 @@ import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';import request from 'supertest';import { AppModule } from '../app';-import { getDefaultAFFiNEConfig } from '../config/default';const gql = '/graphql';-globalThis.AFFiNE = getDefaultAFFiNEConfig();-describe('AppModule', () => {let app: INestApplication;@@ -76,33 +73,14 @@ describe('AppModule', () => {.auth(token, { type: 'bearer' }).send({query: `- mutation {- createWorkspace {- id- public- createdAt- }+ query {+ __typename}`,}).expect(200).expect(res => {- ok(- typeof res.body.data.createWorkspace === 'object',- 'res.body.data.createWorkspace is not an object'- );- ok(- typeof res.body.data.createWorkspace.id === 'string',- 'res.body.data.createWorkspace.id is not a string'- );- ok(- typeof res.body.data.createWorkspace.public === 'boolean',- 'res.body.data.createWorkspace.public is not a boolean'- );- ok(- typeof res.body.data.createWorkspace.createdAt === 'string',- 'res.body.data.createWorkspace.created_at is not a string'- );+ ok(res.body.data.__typename === 'Query');});});diff --git a/apps/server/src/tests/auth.spec.ts b/apps/server/src/tests/auth.spec.tsindex 0baa888b18..feb72d0aa4 100644--- a/apps/server/src/tests/auth.spec.ts+++ b/apps/server/src/tests/auth.spec.ts@@ -1,3 +1,4 @@+/// <reference types="../global.d.ts" />import { ok } from 'node:assert';import { beforeEach, test } from 'node:test';@@ -5,14 +6,11 @@ import { Test } from '@nestjs/testing';import { PrismaClient } from '@prisma/client';import { ConfigModule } from '../config';-import { getDefaultAFFiNEConfig } from '../config/default';import { GqlModule } from '../graphql.module';import { AuthModule } from '../modules/auth';import { AuthService } from '../modules/auth/service';import { PrismaModule } from '../prisma';-globalThis.AFFiNE = getDefaultAFFiNEConfig();-let auth: AuthService;// cleanup database before each testdiff --git a/apps/server/src/tests/config.spec.ts b/apps/server/src/tests/config.spec.tsindex f7a64f75c1..106c5c81df 100644--- a/apps/server/src/tests/config.spec.ts+++ b/apps/server/src/tests/config.spec.ts@@ -4,9 +4,6 @@ import { beforeEach, test } from 'node:test';import { Test } from '@nestjs/testing';import { Config, ConfigModule } from '../config';-import { getDefaultAFFiNEConfig } from '../config/default';--globalThis.AFFiNE = getDefaultAFFiNEConfig();let config: Config;beforeEach(async () => {diff --git a/apps/server/src/tests/workspace.spec.ts b/apps/server/src/tests/workspace.spec.tsindex ac593cd1ee..c590ff2332 100644--- a/apps/server/src/tests/workspace.spec.ts+++ b/apps/server/src/tests/workspace.spec.ts@@ -1,22 +1,21 @@import { ok } from 'node:assert';-import { afterEach, beforeEach, describe, test } from 'node:test';+import { afterEach, beforeEach, describe, it } from 'node:test';import type { INestApplication } from '@nestjs/common';import { Test } from '@nestjs/testing';import { PrismaClient } from '@prisma/client';+// @ts-expect-error graphql-upload is not typed+import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';import request from 'supertest';import { AppModule } from '../app';-import { getDefaultAFFiNEConfig } from '../config/default';import type { TokenType } from '../modules/auth';import type { UserType } from '../modules/users';import type { WorkspaceType } from '../modules/workspaces';const gql = '/graphql';-globalThis.AFFiNE = getDefaultAFFiNEConfig();--describe('AppModule', () => {+describe('Workspace Module', () => {let app: INestApplication;// cleanup database before each test@@ -32,6 +31,12 @@ describe('AppModule', () => {imports: [AppModule],}).compile();app = module.createNestApplication();+ app.use(+ graphqlUploadExpress({+ maxFileSize: 10 * 1024 * 1024,+ maxFiles: 5,+ })+ );await app.init();});@@ -63,15 +68,20 @@ describe('AppModule', () => {const res = await request(app.getHttpServer()).post(gql).auth(token, { type: 'bearer' })- .send({- query: `- mutation {- createWorkspace {+ .field(+ 'operations',+ JSON.stringify({+ name: 'createWorkspace',+ query: `mutation createWorkspace($init: Upload!) {+ createWorkspace(init: $init) {id}- }- `,- })+ }`,+ variables: { init: null },+ })+ )+ .field('map', JSON.stringify({ '0': ['variables.init'] }))+ .attach('0', Buffer.from([0, 0]), 'init.data').expect(200);return res.body.data.createWorkspace;}@@ -151,21 +161,21 @@ describe('AppModule', () => {return res.body.data.revoke;}- test('should register a user', async () => {+ it('should register a user', async () => {const user = await registerUser('u1', '[email protected]', '123456');ok(typeof user.id === 'string', 'user.id is not a string');ok(user.name === 'u1', 'user.name is not valid');ok(user.email === '[email protected]', 'user.email is not valid');});- test('should create a workspace', async () => {+ it('should create a workspace', async () => {const user = await registerUser('u1', '[email protected]', '1');const workspace = await createWorkspace(user.token.token);ok(typeof workspace.id === 'string', 'workspace.id is not a string');});- test('should invite a user', async () => {+ it('should invite a user', async () => {const u1 = await registerUser('u1', '[email protected]', '1');const u2 = await registerUser('u2', '[email protected]', '1');@@ -180,7 +190,7 @@ describe('AppModule', () => {ok(invite === true, 'failed to invite user');});- test('should accept an invite', async () => {+ it('should accept an invite', async () => {const u1 = await registerUser('u1', '[email protected]', '1');const u2 = await registerUser('u2', '[email protected]', '1');@@ -191,7 +201,7 @@ describe('AppModule', () => {ok(accept === true, 'failed to accept invite');});- test('should leave a workspace', async () => {+ it('should leave a workspace', async () => {const u1 = await registerUser('u1', '[email protected]', '1');const u2 = await registerUser('u2', '[email protected]', '1');@@ -203,7 +213,7 @@ describe('AppModule', () => {ok(leave === true, 'failed to leave workspace');});- test('should revoke a user', async () => {+ it('should revoke a user', async () => {const u1 = await registerUser('u1', '[email protected]', '1');const u2 = await registerUser('u2', '[email protected]', '1');diff --git a/apps/server/tsconfig.json b/apps/server/tsconfig.jsonindex f33d93847a..3bb4caa6c2 100644--- a/apps/server/tsconfig.json+++ b/apps/server/tsconfig.json@@ -20,6 +20,9 @@"references": [{"path": "./tsconfig.node.json"+ },+ {+ "path": "../../packages/storage/tsconfig.json"}],"ts-node": {diff --git a/nx.json b/nx.jsonindex a152d02631..105fc01d78 100644--- a/nx.json+++ b/nx.json@@ -35,6 +35,7 @@"{workspaceRoot}/apps/storybook/storybook-static","{workspaceRoot}/packages/i18n/src/i18n-generated.ts","{workspaceRoot}/packages/native/affine.*.node",+ "{workspaceRoot}/packages/storage/*.node","{workspaceRoot}/affine.db","{workspaceRoot/apps/electron/dist"],diff --git a/packages/graphql/src/graphql/create-workspace.gql b/packages/graphql/src/graphql/create-workspace.gqlindex 2b849ad97d..315768c16f 100644--- a/packages/graphql/src/graphql/create-workspace.gql+++ b/packages/graphql/src/graphql/create-workspace.gql@@ -1,5 +1,5 @@-mutation createWorkspace {- createWorkspace {+mutation createWorkspace($init: Upload!) {+ createWorkspace(init: $init) {idpubliccreatedAtdiff --git a/packages/graphql/src/graphql/index.ts b/packages/graphql/src/graphql/index.tsindex 7912a53c3c..34fb697581 100644--- a/packages/graphql/src/graphql/index.ts+++ b/packages/graphql/src/graphql/index.ts@@ -11,10 +11,10 @@ export const createWorkspaceMutation = {id: 'createWorkspaceMutation' as const,operationName: 'createWorkspace',definitionName: 'createWorkspace',- containsFile: false,+ containsFile: true,query: `-mutation createWorkspace {- createWorkspace {+mutation createWorkspace($init: Upload!) {+ createWorkspace(init: $init) {idpubliccreatedAtdiff --git a/packages/graphql/src/schema.ts b/packages/graphql/src/schema.tsindex 7f7a4d54f1..000996d2a3 100644--- a/packages/graphql/src/schema.ts+++ b/packages/graphql/src/schema.ts@@ -46,7 +46,9 @@ export interface UpdateWorkspaceInput {public: InputMaybe<Scalars['Boolean']['input']>;}-export type CreateWorkspaceMutationVariables = Exact<{ [key: string]: never }>;+export type CreateWorkspaceMutationVariables = Exact<{+ init: Scalars['Upload']['input'];+}>;export type CreateWorkspaceMutation = {__typename?: 'Mutation';diff --git a/packages/storage/Cargo.lock b/packages/storage/Cargo.locknew file mode 100644index 0000000000..3775cc4851--- /dev/null+++ b/packages/storage/Cargo.lock@@ -0,0 +1,4428 @@+# This file is automatically @generated by Cargo.+# It is not intended for manual editing.+version = 3++[[package]]+name = "Inflector"+version = "0.11.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"+dependencies = [+ "lazy_static",+ "regex",+]++[[package]]+name = "adler"+version = "1.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"++[[package]]+name = "affine_storage"+version = "1.0.0"+dependencies = [+ "jwst",+ "jwst-storage",+ "napi",+ "napi-build",+ "napi-derive",+ "yrs",+]++[[package]]+name = "ahash"+version = "0.7.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"+dependencies = [+ "getrandom 0.2.10",+ "once_cell",+ "version_check",+]++[[package]]+name = "ahash"+version = "0.8.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"+dependencies = [+ "cfg-if",+ "once_cell",+ "version_check",+]++[[package]]+name = "aho-corasick"+version = "0.7.20"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"+dependencies = [+ "memchr",+]++[[package]]+name = "aho-corasick"+version = "1.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41"+dependencies = [+ "memchr",+]++[[package]]+name = "aliasable"+version = "0.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd"++[[package]]+name = "allocator-api2"+version = "0.2.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "56fc6cf8dc8c4158eed8649f9b8b0ea1518eb62b544fe9490d66fa0b349eafe9"++[[package]]+name = "android-tzdata"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"++[[package]]+name = "android_system_properties"+version = "0.1.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"+dependencies = [+ "libc",+]++[[package]]+name = "anyhow"+version = "1.0.71"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"++[[package]]+name = "arbitrary"+version = "1.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e"+dependencies = [+ "derive_arbitrary",+]++[[package]]+name = "arc-swap"+version = "1.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6"++[[package]]+name = "arrayvec"+version = "0.7.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"++[[package]]+name = "async-compat"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9b48b4ff0c2026db683dea961cd8ea874737f56cffca86fa84415eaddc51c00d"+dependencies = [+ "futures-core",+ "futures-io",+ "once_cell",+ "pin-project-lite",+ "tokio",+]++[[package]]+name = "async-stream"+version = "0.3.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"+dependencies = [+ "async-stream-impl",+ "futures-core",+ "pin-project-lite",+]++[[package]]+name = "async-stream-impl"+version = "0.3.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "async-trait"+version = "0.1.68"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "atoi"+version = "1.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d7c57d12312ff59c811c0643f4d80830505833c9ffaebd193d819392b265be8e"+dependencies = [+ "num-traits",+]++[[package]]+name = "atomic_refcell"+version = "0.1.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "79d6dc922a2792b006573f60b2648076355daeae5ce9cb59507e5908c9625d31"++[[package]]+name = "autocfg"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"++[[package]]+name = "backon"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0c1a6197b2120bb2185a267f6515038558b019e92b832bb0320e96d66268dcf9"+dependencies = [+ "fastrand",+ "futures-core",+ "pin-project",+ "tokio",+]++[[package]]+name = "bae"+version = "0.1.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "33b8de67cc41132507eeece2584804efcb15f85ba516e34c944b7667f480397a"+dependencies = [+ "heck 0.3.3",+ "proc-macro-error",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "base64"+version = "0.13.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"++[[package]]+name = "base64"+version = "0.21.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"++[[package]]+name = "base64ct"+version = "1.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"++[[package]]+name = "bigdecimal"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a6773ddc0eafc0e509fb60e48dff7f450f8e674a0686ae8605e8d9901bd5eefa"+dependencies = [+ "num-bigint",+ "num-integer",+ "num-traits",+]++[[package]]+name = "bit_field"+version = "0.10.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"++[[package]]+name = "bitflags"+version = "1.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"++[[package]]+name = "bitflags"+version = "2.3.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42"++[[package]]+name = "bitpacking"+version = "0.8.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a8c7d2ac73c167c06af4a5f37e6e59d84148d57ccbe4480b76f0273eefea82d7"+dependencies = [+ "crunchy",+]++[[package]]+name = "bitvec"+version = "1.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"+dependencies = [+ "funty",+ "radium",+ "tap",+ "wyz",+]++[[package]]+name = "block-buffer"+version = "0.10.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"+dependencies = [+ "generic-array",+]++[[package]]+name = "borsh"+version = "0.10.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4114279215a005bc675e386011e594e1d9b800918cea18fcadadcce864a2046b"+dependencies = [+ "borsh-derive",+ "hashbrown 0.13.2",+]++[[package]]+name = "borsh-derive"+version = "0.10.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0754613691538d51f329cce9af41d7b7ca150bc973056f1156611489475f54f7"+dependencies = [+ "borsh-derive-internal",+ "borsh-schema-derive-internal",+ "proc-macro-crate",+ "proc-macro2",+ "syn 1.0.109",+]++[[package]]+name = "borsh-derive-internal"+version = "0.10.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "afb438156919598d2c7bad7e1c0adf3d26ed3840dbc010db1a882a65583ca2fb"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "borsh-schema-derive-internal"+version = "0.10.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "634205cc43f74a1b9046ef87c4540ebda95696ec0f315024860cad7c5b0f5ccd"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "bumpalo"+version = "3.13.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"++[[package]]+name = "bytecheck"+version = "0.6.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627"+dependencies = [+ "bytecheck_derive",+ "ptr_meta",+ "simdutf8",+]++[[package]]+name = "bytecheck_derive"+version = "0.6.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "bytemuck"+version = "1.13.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"++[[package]]+name = "byteorder"+version = "1.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"++[[package]]+name = "bytes"+version = "1.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"++[[package]]+name = "cang-jie"+version = "0.15.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1238ed330d627f47a2309023a7425a4c73cd586ccbda77151e18ece8f9495b92"+dependencies = [+ "jieba-rs",+ "log",+ "tantivy",+]++[[package]]+name = "cc"+version = "1.0.79"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"+dependencies = [+ "jobserver",+]++[[package]]+name = "cedarwood"+version = "0.4.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6d910bedd62c24733263d0bed247460853c9d22e8956bd4cd964302095e04e90"+dependencies = [+ "smallvec",+]++[[package]]+name = "census"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0fafee10a5dd1cffcb5cc560e0d0df8803d7355a2b12272e3557dee57314cb6e"++[[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.26"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"+dependencies = [+ "android-tzdata",+ "iana-time-zone",+ "js-sys",+ "num-traits",+ "serde",+ "time 0.1.45",+ "wasm-bindgen",+ "winapi",+]++[[package]]+name = "clap"+version = "3.2.25"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"+dependencies = [+ "bitflags 1.3.2",+ "clap_derive",+ "clap_lex",+ "indexmap",+ "once_cell",+ "textwrap",+]++[[package]]+name = "clap_derive"+version = "3.2.25"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008"+dependencies = [+ "heck 0.4.1",+ "proc-macro-error",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "clap_lex"+version = "0.2.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"+dependencies = [+ "os_str_bytes",+]++[[package]]+name = "color_quant"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"++[[package]]+name = "combine"+version = "4.6.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4"+dependencies = [+ "memchr",+]++[[package]]+name = "const-oid"+version = "0.9.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913"++[[package]]+name = "const-random"+version = "0.1.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "368a7a772ead6ce7e1de82bfb04c485f3db8ec744f72925af5735e29a22cc18e"+dependencies = [+ "const-random-macro",+ "proc-macro-hack",+]++[[package]]+name = "const-random-macro"+version = "0.1.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb"+dependencies = [+ "getrandom 0.2.10",+ "once_cell",+ "proc-macro-hack",+ "tiny-keccak",+]++[[package]]+name = "convert_case"+version = "0.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"+dependencies = [+ "unicode-segmentation",+]++[[package]]+name = "core-foundation"+version = "0.9.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"+dependencies = [+ "core-foundation-sys",+ "libc",+]++[[package]]+name = "core-foundation-sys"+version = "0.8.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"++[[package]]+name = "cpufeatures"+version = "0.2.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "03e69e28e9f7f77debdedbaafa2866e1de9ba56df55a8bd7cfc724c25a09987c"+dependencies = [+ "libc",+]++[[package]]+name = "crc32fast"+version = "1.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"+dependencies = [+ "cfg-if",+]++[[package]]+name = "crossbeam-channel"+version = "0.5.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"+dependencies = [+ "cfg-if",+ "crossbeam-utils",+]++[[package]]+name = "crossbeam-deque"+version = "0.8.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"+dependencies = [+ "cfg-if",+ "crossbeam-epoch",+ "crossbeam-utils",+]++[[package]]+name = "crossbeam-epoch"+version = "0.9.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"+dependencies = [+ "autocfg",+ "cfg-if",+ "crossbeam-utils",+ "memoffset",+ "scopeguard",+]++[[package]]+name = "crossbeam-queue"+version = "0.3.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"+dependencies = [+ "cfg-if",+ "crossbeam-utils",+]++[[package]]+name = "crossbeam-utils"+version = "0.8.16"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"+dependencies = [+ "cfg-if",+]++[[package]]+name = "crunchy"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"++[[package]]+name = "crypto-common"+version = "0.1.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"+dependencies = [+ "generic-array",+ "typenum",+]++[[package]]+name = "ctor"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1586fa608b1dab41f667475b4a41faec5ba680aee428bfa5de4ea520fdc6e901"+dependencies = [+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "dashmap"+version = "5.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"+dependencies = [+ "cfg-if",+ "hashbrown 0.12.3",+ "lock_api",+ "once_cell",+ "parking_lot_core 0.9.8",+]++[[package]]+name = "der"+version = "0.7.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "56acb310e15652100da43d130af8d97b509e95af61aab1c5a7939ef24337ee17"+dependencies = [+ "const-oid",+ "pem-rfc7468",+ "zeroize",+]++[[package]]+name = "derive_arbitrary"+version = "1.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "digest"+version = "0.10.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"+dependencies = [+ "block-buffer",+ "const-oid",+ "crypto-common",+ "subtle",+]++[[package]]+name = "dirs"+version = "4.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"+dependencies = [+ "dirs-sys",+]++[[package]]+name = "dirs-sys"+version = "0.3.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"+dependencies = [+ "libc",+ "redox_users",+ "winapi",+]++[[package]]+name = "dlv-list"+version = "0.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d529fd73d344663edfd598ccb3f344e46034db51ebd103518eae34338248ad73"+dependencies = [+ "const-random",+]++[[package]]+name = "dotenvy"+version = "0.15.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"++[[package]]+name = "downcast-rs"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"++[[package]]+name = "dyn-clone"+version = "1.0.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"++[[package]]+name = "either"+version = "1.8.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"++[[package]]+name = "encoding_rs"+version = "0.8.32"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394"+dependencies = [+ "cfg-if",+]++[[package]]+name = "enum-iterator"+version = "1.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7add3873b5dd076766ee79c8e406ad1a472c385476b9e38849f8eec24f1be689"+dependencies = [+ "enum-iterator-derive",+]++[[package]]+name = "enum-iterator-derive"+version = "1.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eecf8589574ce9b895052fa12d69af7a233f99e6107f5cb8dd1044f2a17bfdcb"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "errno"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"+dependencies = [+ "errno-dragonfly",+ "libc",+ "windows-sys 0.48.0",+]++[[package]]+name = "errno-dragonfly"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"+dependencies = [+ "cc",+ "libc",+]++[[package]]+name = "event-listener"+version = "2.5.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"++[[package]]+name = "exr"+version = "1.6.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "279d3efcc55e19917fff7ab3ddd6c14afb6a90881a0078465196fe2f99d08c56"+dependencies = [+ "bit_field",+ "flume",+ "half",+ "lebe",+ "miniz_oxide",+ "rayon-core",+ "smallvec",+ "zune-inflate",+]++[[package]]+name = "fail"+version = "0.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fe5e43d0f78a42ad591453aedb1d7ae631ce7ee445c7643691055a9ed8d3b01c"+dependencies = [+ "log",+ "once_cell",+ "rand 0.8.5",+]++[[package]]+name = "fastdivide"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "25c7df09945d65ea8d70b3321547ed414bbc540aad5bac6883d021b970f35b04"++[[package]]+name = "fastfield_codecs"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "374a3a53c1bd5fb31b10084229290eafb0a05f260ec90f1f726afffda4877a8a"+dependencies = [+ "fastdivide",+ "itertools",+ "log",+ "ownedbytes",+ "tantivy-bitpacker",+ "tantivy-common",+]++[[package]]+name = "fastrand"+version = "1.9.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"+dependencies = [+ "instant",+]++[[package]]+name = "fdeflate"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"+dependencies = [+ "simd-adler32",+]++[[package]]+name = "flagset"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cda653ca797810c02f7ca4b804b40b8b95ae046eb989d356bce17919a8c25499"++[[package]]+name = "flate2"+version = "1.0.26"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"+dependencies = [+ "crc32fast",+ "miniz_oxide",+]++[[package]]+name = "flume"+version = "0.10.14"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"+dependencies = [+ "futures-core",+ "futures-sink",+ "nanorand",+ "pin-project",+ "spin 0.9.8",+]++[[package]]+name = "fnv"+version = "1.0.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"++[[package]]+name = "form_urlencoded"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652"+dependencies = [+ "percent-encoding",+]++[[package]]+name = "fs2"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"+dependencies = [+ "libc",+ "winapi",+]++[[package]]+name = "funty"+version = "2.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"++[[package]]+name = "futures"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"+dependencies = [+ "futures-channel",+ "futures-core",+ "futures-executor",+ "futures-io",+ "futures-sink",+ "futures-task",+ "futures-util",+]++[[package]]+name = "futures-channel"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"+dependencies = [+ "futures-core",+ "futures-sink",+]++[[package]]+name = "futures-core"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"++[[package]]+name = "futures-executor"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"+dependencies = [+ "futures-core",+ "futures-task",+ "futures-util",+]++[[package]]+name = "futures-intrusive"+version = "0.4.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a604f7a68fbf8103337523b1fadc8ade7361ee3f112f7c680ad179651616aed5"+dependencies = [+ "futures-core",+ "lock_api",+ "parking_lot 0.11.2",+]++[[package]]+name = "futures-io"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"++[[package]]+name = "futures-macro"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "futures-sink"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"++[[package]]+name = "futures-task"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"++[[package]]+name = "futures-timer"+version = "3.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"++[[package]]+name = "futures-util"+version = "0.3.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"+dependencies = [+ "futures-channel",+ "futures-core",+ "futures-io",+ "futures-macro",+ "futures-sink",+ "futures-task",+ "memchr",+ "pin-project-lite",+ "pin-utils",+ "slab",+]++[[package]]+name = "fxhash"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"+dependencies = [+ "byteorder",+]++[[package]]+name = "generator"+version = "0.7.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5cc16584ff22b460a382b7feec54b23d2908d858152e5739a120b949293bd74e"+dependencies = [+ "cc",+ "libc",+ "log",+ "rustversion",+ "windows",+]++[[package]]+name = "generic-array"+version = "0.14.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"+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",+ "js-sys",+ "libc",+ "wasi 0.9.0+wasi-snapshot-preview1",+ "wasm-bindgen",+]++[[package]]+name = "getrandom"+version = "0.2.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"+dependencies = [+ "cfg-if",+ "js-sys",+ "libc",+ "wasi 0.11.0+wasi-snapshot-preview1",+ "wasm-bindgen",+]++[[package]]+name = "getset"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e45727250e75cc04ff2846a66397da8ef2b3db8e40e0cef4df67950a07621eb9"+dependencies = [+ "proc-macro-error",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "gif"+version = "0.12.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"+dependencies = [+ "color_quant",+ "weezl",+]++[[package]]+name = "git2"+version = "0.16.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ccf7f68c2995f392c49fffb4f95ae2c873297830eb25c6bc4c114ce8f4562acc"+dependencies = [+ "bitflags 1.3.2",+ "libc",+ "libgit2-sys",+ "log",+ "url",+]++[[package]]+name = "governor"+version = "0.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c390a940a5d157878dd057c78680a33ce3415bcd05b4799509ea44210914b4d5"+dependencies = [+ "cfg-if",+ "dashmap",+ "futures",+ "futures-timer",+ "no-std-compat",+ "nonzero_ext",+ "parking_lot 0.12.1",+ "quanta",+ "rand 0.8.5",+ "smallvec",+]++[[package]]+name = "h2"+version = "0.3.20"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049"+dependencies = [+ "bytes",+ "fnv",+ "futures-core",+ "futures-sink",+ "futures-util",+ "http",+ "indexmap",+ "slab",+ "tokio",+ "tokio-util",+ "tracing",+]++[[package]]+name = "half"+version = "2.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"+dependencies = [+ "crunchy",+]++[[package]]+name = "hashbrown"+version = "0.12.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"+dependencies = [+ "ahash 0.7.6",+]++[[package]]+name = "hashbrown"+version = "0.13.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"+dependencies = [+ "ahash 0.8.3",+]++[[package]]+name = "hashbrown"+version = "0.14.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"+dependencies = [+ "ahash 0.8.3",+ "allocator-api2",+]++[[package]]+name = "hashlink"+version = "0.8.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "312f66718a2d7789ffef4f4b7b213138ed9f1eb3aa1d0d82fc99f88fb3ffd26f"+dependencies = [+ "hashbrown 0.14.0",+]++[[package]]+name = "heck"+version = "0.3.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"+dependencies = [+ "unicode-segmentation",+]++[[package]]+name = "heck"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"+dependencies = [+ "unicode-segmentation",+]++[[package]]+name = "hermit-abi"+version = "0.2.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"+dependencies = [+ "libc",+]++[[package]]+name = "hermit-abi"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"++[[package]]+name = "hex"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"++[[package]]+name = "hkdf"+version = "0.12.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437"+dependencies = [+ "hmac",+]++[[package]]+name = "hmac"+version = "0.12.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"+dependencies = [+ "digest",+]++[[package]]+name = "home"+version = "0.5.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"+dependencies = [+ "windows-sys 0.48.0",+]++[[package]]+name = "htmlescape"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163"++[[package]]+name = "http"+version = "0.2.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482"+dependencies = [+ "bytes",+ "fnv",+ "itoa",+]++[[package]]+name = "http-body"+version = "0.4.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"+dependencies = [+ "bytes",+ "http",+ "pin-project-lite",+]++[[package]]+name = "httparse"+version = "1.8.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"++[[package]]+name = "httpdate"+version = "1.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"++[[package]]+name = "hyper"+version = "0.14.27"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468"+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-rustls"+version = "0.24.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0646026eb1b3eea4cd9ba47912ea5ce9cc07713d105b1a14698f4e6433d348b7"+dependencies = [+ "http",+ "hyper",+ "rustls 0.21.2",+ "tokio",+ "tokio-rustls 0.24.1",+]++[[package]]+name = "iana-time-zone"+version = "0.1.57"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613"+dependencies = [+ "android_system_properties",+ "core-foundation-sys",+ "iana-time-zone-haiku",+ "js-sys",+ "wasm-bindgen",+ "windows",+]++[[package]]+name = "iana-time-zone-haiku"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"+dependencies = [+ "cc",+]++[[package]]+name = "idna"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c"+dependencies = [+ "unicode-bidi",+ "unicode-normalization",+]++[[package]]+name = "image"+version = "0.24.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a"+dependencies = [+ "bytemuck",+ "byteorder",+ "color_quant",+ "exr",+ "gif",+ "jpeg-decoder",+ "num-rational",+ "num-traits",+ "png",+ "qoi",+ "tiff",+ "webp",+]++[[package]]+name = "indexmap"+version = "1.9.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"+dependencies = [+ "autocfg",+ "hashbrown 0.12.3",+ "serde",+]++[[package]]+name = "instant"+version = "0.1.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"+dependencies = [+ "cfg-if",+ "js-sys",+ "wasm-bindgen",+ "web-sys",+]++[[package]]+name = "io-lifetimes"+version = "1.0.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"+dependencies = [+ "hermit-abi 0.3.1",+ "libc",+ "windows-sys 0.48.0",+]++[[package]]+name = "ipnet"+version = "2.8.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"++[[package]]+name = "itertools"+version = "0.10.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"+dependencies = [+ "either",+]++[[package]]+name = "itoa"+version = "1.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"++[[package]]+name = "jieba-rs"+version = "0.6.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "37228e06c75842d1097432d94d02f37fe3ebfca9791c2e8fef6e9db17ed128c1"+dependencies = [+ "cedarwood",+ "fxhash",+ "hashbrown 0.12.3",+ "lazy_static",+ "phf",+ "phf_codegen",+ "regex",+]++[[package]]+name = "jobserver"+version = "0.1.26"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"+dependencies = [+ "libc",+]++[[package]]+name = "jpeg-decoder"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"+dependencies = [+ "rayon",+]++[[package]]+name = "js-sys"+version = "0.3.64"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"+dependencies = [+ "wasm-bindgen",+]++[[package]]+name = "jwst"+version = "0.1.1"+source = "git+https://github.com/toeverything/OctoBase.git?branch=master#5e0d5e0cc65ea46f326fdde12658bfac59b38c9f"+dependencies = [+ "async-trait",+ "base64 0.21.2",+ "bytes",+ "cang-jie",+ "chrono",+ "convert_case",+ "futures",+ "jwst-codec",+ "lib0",+ "nanoid",+ "schemars",+ "serde",+ "serde_json",+ "tantivy",+ "thiserror",+ "tokio",+ "tracing",+ "type-map",+ "utoipa",+ "vergen",+ "yrs",+]++[[package]]+name = "jwst-codec"+version = "0.1.0"+source = "git+https://github.com/toeverything/OctoBase.git?branch=master#5e0d5e0cc65ea46f326fdde12658bfac59b38c9f"+dependencies = [+ "arbitrary",+ "bitvec",+ "byteorder",+ "jwst-logger",+ "nanoid",+ "nom",+ "ordered-float",+ "rand 0.8.5",+ "serde_json",+ "thiserror",+]++[[package]]+name = "jwst-logger"+version = "0.1.0"+source = "git+https://github.com/toeverything/OctoBase.git?branch=master#5e0d5e0cc65ea46f326fdde12658bfac59b38c9f"+dependencies = [+ "chrono",+ "nu-ansi-term",+ "tracing",+ "tracing-log",+ "tracing-stackdriver",+ "tracing-subscriber",+]++[[package]]+name = "jwst-storage"+version = "0.1.0"+source = "git+https://github.com/toeverything/OctoBase.git?branch=master#5e0d5e0cc65ea46f326fdde12658bfac59b38c9f"+dependencies = [+ "anyhow",+ "async-trait",+ "bytes",+ "chrono",+ "futures",+ "governor",+ "image",+ "jwst",+ "jwst-codec",+ "jwst-logger",+ "jwst-storage-migration",+ "lib0",+ "opendal",+ "path-ext",+ "sea-orm",+ "sea-orm-migration",+ "sha2",+ "thiserror",+ "tokio",+ "tokio-util",+ "url",+ "yrs",+]++[[package]]+name = "jwst-storage-migration"+version = "0.1.0"+source = "git+https://github.com/toeverything/OctoBase.git?branch=master#5e0d5e0cc65ea46f326fdde12658bfac59b38c9f"+dependencies = [+ "sea-orm-migration",+ "tokio",+]++[[package]]+name = "lazy_static"+version = "1.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"+dependencies = [+ "spin 0.5.2",+]++[[package]]+name = "lebe"+version = "0.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"++[[package]]+name = "levenshtein_automata"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0c2cdeb66e45e9f36bfad5bbdb4d2384e70936afbee843c6f6543f0c551ebb25"++[[package]]+name = "lib0"+version = "0.16.5"+source = "git+https://github.com/toeverything/y-crdt?rev=a700f09#a700f0990a993f905531f7acf589c6a736bb7429"+dependencies = [+ "serde",+ "serde_json",+ "thiserror",+]++[[package]]+name = "libc"+version = "0.2.147"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"++[[package]]+name = "libgit2-sys"+version = "0.14.2+1.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7f3d95f6b51075fe9810a7ae22c7095f12b98005ab364d8544797a825ce946a4"+dependencies = [+ "cc",+ "libc",+ "libz-sys",+ "pkg-config",+]++[[package]]+name = "libloading"+version = "0.7.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"+dependencies = [+ "cfg-if",+ "winapi",+]++[[package]]+name = "libm"+version = "0.2.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"++[[package]]+name = "libsqlite3-sys"+version = "0.24.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "898745e570c7d0453cc1fbc4a701eb6c662ed54e8fec8b7d14be137ebeeb9d14"+dependencies = [+ "cc",+ "pkg-config",+ "vcpkg",+]++[[package]]+name = "libwebp-sys"+version = "0.4.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "439fd1885aa28937e7edcd68d2e793cb4a22f8733460d2519fbafd2b215672bf"+dependencies = [+ "cc",+]++[[package]]+name = "libz-sys"+version = "1.1.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"+dependencies = [+ "cc",+ "libc",+ "pkg-config",+ "vcpkg",+]++[[package]]+name = "linux-raw-sys"+version = "0.3.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"++[[package]]+name = "lock_api"+version = "0.4.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"+dependencies = [+ "autocfg",+ "scopeguard",+]++[[package]]+name = "log"+version = "0.4.19"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"++[[package]]+name = "loom"+version = "0.5.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"+dependencies = [+ "cfg-if",+ "generator",+ "pin-utils",+ "scoped-tls",+ "tracing",+ "tracing-subscriber",+]++[[package]]+name = "lru"+version = "0.7.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a"+dependencies = [+ "hashbrown 0.12.3",+]++[[package]]+name = "lz4_flex"+version = "0.9.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1a8cbbb2831780bc3b9c15a41f5b49222ef756b6730a95f3decfdd15903eb5a3"++[[package]]+name = "mach"+version = "0.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"+dependencies = [+ "libc",+]++[[package]]+name = "matchers"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"+dependencies = [+ "regex-automata",+]++[[package]]+name = "md-5"+version = "0.10.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"+dependencies = [+ "digest",+]++[[package]]+name = "measure_time"+version = "0.8.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "56220900f1a0923789ecd6bf25fbae8af3b2f1ff3e9e297fc9b6b8674dd4d852"+dependencies = [+ "instant",+ "log",+]++[[package]]+name = "memchr"+version = "2.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"++[[package]]+name = "memmap2"+version = "0.5.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"+dependencies = [+ "libc",+]++[[package]]+name = "memoffset"+version = "0.9.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"+dependencies = [+ "autocfg",+]++[[package]]+name = "mime"+version = "0.3.17"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"++[[package]]+name = "minimal-lexical"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"++[[package]]+name = "miniz_oxide"+version = "0.7.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"+dependencies = [+ "adler",+ "simd-adler32",+]++[[package]]+name = "mio"+version = "0.8.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"+dependencies = [+ "libc",+ "wasi 0.11.0+wasi-snapshot-preview1",+ "windows-sys 0.48.0",+]++[[package]]+name = "murmurhash32"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d736ff882f0e85fe9689fb23db229616c4c00aee2b3ac282f666d8f20eb25d4a"+dependencies = [+ "byteorder",+]++[[package]]+name = "nanoid"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3ffa00dec017b5b1a8b7cf5e2c008bfda1aa7e0697ac1508b491fdf2622fb4d8"+dependencies = [+ "rand 0.8.5",+]++[[package]]+name = "nanorand"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3"+dependencies = [+ "getrandom 0.2.10",+]++[[package]]+name = "napi"+version = "2.13.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0ede2d12cd6fce44da537a4be1f5510c73be2506c2e32dfaaafd1f36968f3a0e"+dependencies = [+ "bitflags 2.3.3",+ "ctor",+ "napi-derive",+ "napi-sys",+ "once_cell",+ "tokio",+]++[[package]]+name = "napi-build"+version = "2.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "882a73d9ef23e8dc2ebbffb6a6ae2ef467c0f18ac10711e4cc59c5485d41df0e"++[[package]]+name = "napi-derive"+version = "2.13.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "da1c6a8fa84d549aa8708fcd062372bf8ec6e849de39016ab921067d21bde367"+dependencies = [+ "cfg-if",+ "convert_case",+ "napi-derive-backend",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "napi-derive-backend"+version = "1.0.52"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "20bbc7c69168d06a848f925ec5f0e0997f98e8c8d4f2cc30157f0da51c009e17"+dependencies = [+ "convert_case",+ "once_cell",+ "proc-macro2",+ "quote",+ "regex",+ "semver",+ "syn 1.0.109",+]++[[package]]+name = "napi-sys"+version = "2.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "166b5ef52a3ab5575047a9fe8d4a030cdd0f63c96f071cd6907674453b07bae3"+dependencies = [+ "libloading",+]++[[package]]+name = "no-std-compat"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c"++[[package]]+name = "nom"+version = "7.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"+dependencies = [+ "memchr",+ "minimal-lexical",+]++[[package]]+name = "nonzero_ext"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21"++[[package]]+name = "nu-ansi-term"+version = "0.46.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"+dependencies = [+ "overload",+ "winapi",+]++[[package]]+name = "num-bigint"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f"+dependencies = [+ "autocfg",+ "num-integer",+ "num-traits",+]++[[package]]+name = "num-bigint-dig"+version = "0.8.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2399c9463abc5f909349d8aa9ba080e0b88b3ce2885389b60b993f39b1a56905"+dependencies = [+ "byteorder",+ "lazy_static",+ "libm",+ "num-integer",+ "num-iter",+ "num-traits",+ "rand 0.8.5",+ "smallvec",+ "zeroize",+]++[[package]]+name = "num-integer"+version = "0.1.45"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"+dependencies = [+ "autocfg",+ "num-traits",+]++[[package]]+name = "num-iter"+version = "0.1.43"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252"+dependencies = [+ "autocfg",+ "num-integer",+ "num-traits",+]++[[package]]+name = "num-rational"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"+dependencies = [+ "autocfg",+ "num-integer",+ "num-traits",+]++[[package]]+name = "num-traits"+version = "0.2.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"+dependencies = [+ "autocfg",+ "libm",+]++[[package]]+name = "num_cpus"+version = "1.15.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"+dependencies = [+ "hermit-abi 0.2.6",+ "libc",+]++[[package]]+name = "once_cell"+version = "1.18.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"++[[package]]+name = "oneshot"+version = "0.1.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fc22d22931513428ea6cc089e942d38600e3d00976eef8c86de6b8a3aadec6eb"+dependencies = [+ "loom",+]++[[package]]+name = "opendal"+version = "0.37.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6a37de9fe637d53550bf3f76d5c731f69cb6f9685ada6afd390ada98994a3f91"+dependencies = [+ "anyhow",+ "async-compat",+ "async-trait",+ "backon",+ "base64 0.21.2",+ "bytes",+ "chrono",+ "flagset",+ "futures",+ "http",+ "hyper",+ "log",+ "md-5",+ "once_cell",+ "parking_lot 0.12.1",+ "percent-encoding",+ "pin-project",+ "quick-xml 0.27.1",+ "reqsign",+ "reqwest",+ "serde",+ "serde_json",+ "tokio",+ "uuid",+]++[[package]]+name = "openssl-probe"+version = "0.1.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"++[[package]]+name = "ordered-float"+version = "3.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2fc2dbde8f8a79f2102cc474ceb0ad68e3b80b85289ea62389b60e66777e4213"+dependencies = [+ "arbitrary",+ "num-traits",+]++[[package]]+name = "ordered-multimap"+version = "0.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e"+dependencies = [+ "dlv-list",+ "hashbrown 0.13.2",+]++[[package]]+name = "os_str_bytes"+version = "6.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac"++[[package]]+name = "ouroboros"+version = "0.15.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e1358bd1558bd2a083fed428ffeda486fbfb323e698cdda7794259d592ca72db"+dependencies = [+ "aliasable",+ "ouroboros_macro",+]++[[package]]+name = "ouroboros_macro"+version = "0.15.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5f7d21ccd03305a674437ee1248f3ab5d4b1db095cf1caf49f1713ddf61956b7"+dependencies = [+ "Inflector",+ "proc-macro-error",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "overload"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"++[[package]]+name = "ownedbytes"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8e957eaa64a299f39755416e5b3128c505e9d63a91d0453771ad2ccd3907f8db"+dependencies = [+ "stable_deref_trait",+]++[[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 0.8.6",+]++[[package]]+name = "parking_lot"+version = "0.12.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"+dependencies = [+ "lock_api",+ "parking_lot_core 0.9.8",+]++[[package]]+name = "parking_lot_core"+version = "0.8.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"+dependencies = [+ "cfg-if",+ "instant",+ "libc",+ "redox_syscall 0.2.16",+ "smallvec",+ "winapi",+]++[[package]]+name = "parking_lot_core"+version = "0.9.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"+dependencies = [+ "cfg-if",+ "libc",+ "redox_syscall 0.3.5",+ "smallvec",+ "windows-targets",+]++[[package]]+name = "paste"+version = "1.0.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79"++[[package]]+name = "path-ext"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d8285c3c3c3085f8819bdcebc9c7e783851527f34974d7d283ced36c977ae812"+dependencies = [+ "walkdir",+]++[[package]]+name = "pem-rfc7468"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"+dependencies = [+ "base64ct",+]++[[package]]+name = "percent-encoding"+version = "2.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"++[[package]]+name = "phf"+version = "0.11.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"+dependencies = [+ "phf_shared",+]++[[package]]+name = "phf_codegen"+version = "0.11.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a"+dependencies = [+ "phf_generator",+ "phf_shared",+]++[[package]]+name = "phf_generator"+version = "0.11.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"+dependencies = [+ "phf_shared",+ "rand 0.8.5",+]++[[package]]+name = "phf_shared"+version = "0.11.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"+dependencies = [+ "siphasher",+]++[[package]]+name = "pin-project"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead"+dependencies = [+ "pin-project-internal",+]++[[package]]+name = "pin-project-internal"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "pin-project-lite"+version = "0.2.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"++[[package]]+name = "pin-utils"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"++[[package]]+name = "pkcs1"+version = "0.7.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"+dependencies = [+ "der",+ "pkcs8",+ "spki",+]++[[package]]+name = "pkcs8"+version = "0.10.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"+dependencies = [+ "der",+ "spki",+]++[[package]]+name = "pkg-config"+version = "0.3.27"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"++[[package]]+name = "png"+version = "0.17.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "59871cc5b6cce7eaccca5a802b4173377a1c2ba90654246789a8fa2334426d11"+dependencies = [+ "bitflags 1.3.2",+ "crc32fast",+ "fdeflate",+ "flate2",+ "miniz_oxide",+]++[[package]]+name = "ppv-lite86"+version = "0.2.17"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"++[[package]]+name = "proc-macro-crate"+version = "0.1.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"+dependencies = [+ "toml",+]++[[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 1.0.109",+ "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.20+deprecated"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"++[[package]]+name = "proc-macro2"+version = "1.0.63"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb"+dependencies = [+ "unicode-ident",+]++[[package]]+name = "ptr_meta"+version = "0.1.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"+dependencies = [+ "ptr_meta_derive",+]++[[package]]+name = "ptr_meta_derive"+version = "0.1.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "qoi"+version = "0.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"+dependencies = [+ "bytemuck",+]++[[package]]+name = "quanta"+version = "0.9.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8"+dependencies = [+ "crossbeam-utils",+ "libc",+ "mach",+ "once_cell",+ "raw-cpuid",+ "wasi 0.10.0+wasi-snapshot-preview1",+ "web-sys",+ "winapi",+]++[[package]]+name = "quick-xml"+version = "0.27.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ffc053f057dd768a56f62cd7e434c42c831d296968997e9ac1f76ea7c2d14c41"+dependencies = [+ "memchr",+ "serde",+]++[[package]]+name = "quick-xml"+version = "0.28.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"+dependencies = [+ "memchr",+ "serde",+]++[[package]]+name = "quote"+version = "1.0.28"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"+dependencies = [+ "proc-macro2",+]++[[package]]+name = "radium"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"++[[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",+]++[[package]]+name = "rand"+version = "0.8.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"+dependencies = [+ "libc",+ "rand_chacha 0.3.1",+ "rand_core 0.6.4",+]++[[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.4",+]++[[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.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"+dependencies = [+ "getrandom 0.2.10",+]++[[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 = "raw-cpuid"+version = "10.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332"+dependencies = [+ "bitflags 1.3.2",+]++[[package]]+name = "rayon"+version = "1.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"+dependencies = [+ "either",+ "rayon-core",+]++[[package]]+name = "rayon-core"+version = "1.11.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"+dependencies = [+ "crossbeam-channel",+ "crossbeam-deque",+ "crossbeam-utils",+ "num_cpus",+]++[[package]]+name = "redox_syscall"+version = "0.2.16"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"+dependencies = [+ "bitflags 1.3.2",+]++[[package]]+name = "redox_syscall"+version = "0.3.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"+dependencies = [+ "bitflags 1.3.2",+]++[[package]]+name = "redox_users"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"+dependencies = [+ "getrandom 0.2.10",+ "redox_syscall 0.2.16",+ "thiserror",+]++[[package]]+name = "regex"+version = "1.8.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f"+dependencies = [+ "aho-corasick 1.0.2",+ "memchr",+ "regex-syntax 0.7.2",+]++[[package]]+name = "regex-automata"+version = "0.1.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"+dependencies = [+ "regex-syntax 0.6.29",+]++[[package]]+name = "regex-syntax"+version = "0.6.29"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"++[[package]]+name = "regex-syntax"+version = "0.7.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"++[[package]]+name = "rend"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab"+dependencies = [+ "bytecheck",+]++[[package]]+name = "reqsign"+version = "0.13.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b6cb65eb3405f9c2de5c18bfc37338d6bbdb2c35eb8eb0e946208cbb564e4833"+dependencies = [+ "anyhow",+ "async-trait",+ "base64 0.21.2",+ "chrono",+ "form_urlencoded",+ "hex",+ "hmac",+ "home",+ "http",+ "log",+ "once_cell",+ "percent-encoding",+ "quick-xml 0.28.2",+ "rand 0.8.5",+ "reqwest",+ "rsa",+ "rust-ini",+ "serde",+ "serde_json",+ "sha1",+ "sha2",+]++[[package]]+name = "reqwest"+version = "0.11.18"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55"+dependencies = [+ "base64 0.21.2",+ "bytes",+ "encoding_rs",+ "futures-core",+ "futures-util",+ "h2",+ "http",+ "http-body",+ "hyper",+ "hyper-rustls",+ "ipnet",+ "js-sys",+ "log",+ "mime",+ "once_cell",+ "percent-encoding",+ "pin-project-lite",+ "rustls 0.21.2",+ "rustls-native-certs",+ "rustls-pemfile",+ "serde",+ "serde_json",+ "serde_urlencoded",+ "tokio",+ "tokio-rustls 0.24.1",+ "tokio-util",+ "tower-service",+ "url",+ "wasm-bindgen",+ "wasm-bindgen-futures",+ "wasm-streams",+ "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 0.5.2",+ "untrusted",+ "web-sys",+ "winapi",+]++[[package]]+name = "rkyv"+version = "0.7.42"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58"+dependencies = [+ "bitvec",+ "bytecheck",+ "hashbrown 0.12.3",+ "ptr_meta",+ "rend",+ "rkyv_derive",+ "seahash",+ "tinyvec",+ "uuid",+]++[[package]]+name = "rkyv_derive"+version = "0.7.42"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "rsa"+version = "0.9.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6ab43bb47d23c1a631b4b680199a45255dce26fa9ab2fa902581f624ff13e6a8"+dependencies = [+ "byteorder",+ "const-oid",+ "digest",+ "num-bigint-dig",+ "num-integer",+ "num-iter",+ "num-traits",+ "pkcs1",+ "pkcs8",+ "rand_core 0.6.4",+ "signature",+ "spki",+ "subtle",+ "zeroize",+]++[[package]]+name = "rust-ini"+version = "0.19.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091"+dependencies = [+ "cfg-if",+ "ordered-multimap",+]++[[package]]+name = "rust-stemmers"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54"+dependencies = [+ "serde",+ "serde_derive",+]++[[package]]+name = "rust_decimal"+version = "1.30.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d0446843641c69436765a35a5a77088e28c2e6a12da93e84aa3ab1cd4aa5a042"+dependencies = [+ "arrayvec",+ "borsh",+ "bytecheck",+ "byteorder",+ "bytes",+ "num-traits",+ "rand 0.8.5",+ "rkyv",+ "serde",+ "serde_json",+]++[[package]]+name = "rustc-hash"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"++[[package]]+name = "rustc_version"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"+dependencies = [+ "semver",+]++[[package]]+name = "rustix"+version = "0.37.20"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0"+dependencies = [+ "bitflags 1.3.2",+ "errno",+ "io-lifetimes",+ "libc",+ "linux-raw-sys",+ "windows-sys 0.48.0",+]++[[package]]+name = "rustls"+version = "0.20.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f"+dependencies = [+ "log",+ "ring",+ "sct",+ "webpki",+]++[[package]]+name = "rustls"+version = "0.21.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e32ca28af694bc1bbf399c33a516dbdf1c90090b8ab23c2bc24f834aa2247f5f"+dependencies = [+ "log",+ "ring",+ "rustls-webpki",+ "sct",+]++[[package]]+name = "rustls-native-certs"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"+dependencies = [+ "openssl-probe",+ "rustls-pemfile",+ "schannel",+ "security-framework",+]++[[package]]+name = "rustls-pemfile"+version = "1.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b"+dependencies = [+ "base64 0.21.2",+]++[[package]]+name = "rustls-webpki"+version = "0.100.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b"+dependencies = [+ "ring",+ "untrusted",+]++[[package]]+name = "rustversion"+version = "1.0.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06"++[[package]]+name = "ryu"+version = "1.0.13"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"++[[package]]+name = "same-file"+version = "1.0.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"+dependencies = [+ "winapi-util",+]++[[package]]+name = "schannel"+version = "0.1.21"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3"+dependencies = [+ "windows-sys 0.42.0",+]++[[package]]+name = "schemars"+version = "0.8.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "02c613288622e5f0c3fdc5dbd4db1c5fbe752746b1d1a56a0630b78fd00de44f"+dependencies = [+ "dyn-clone",+ "schemars_derive",+ "serde",+ "serde_json",+]++[[package]]+name = "schemars_derive"+version = "0.8.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "109da1e6b197438deb6db99952990c7f959572794b80ff93707d55a232545e7c"+dependencies = [+ "proc-macro2",+ "quote",+ "serde_derive_internals",+ "syn 1.0.109",+]++[[package]]+name = "scoped-tls"+version = "1.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"++[[package]]+name = "scopeguard"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"++[[package]]+name = "sct"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"+dependencies = [+ "ring",+ "untrusted",+]++[[package]]+name = "sea-orm"+version = "0.11.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fade86e8d41fd1a4721f84cb834f4ca2783f973cc30e6212b7fafc134f169214"+dependencies = [+ "async-stream",+ "async-trait",+ "bigdecimal",+ "chrono",+ "futures",+ "log",+ "ouroboros",+ "rust_decimal",+ "sea-orm-macros",+ "sea-query",+ "sea-query-binder",+ "sea-strum",+ "serde",+ "serde_json",+ "sqlx",+ "thiserror",+ "time 0.3.22",+ "tracing",+ "url",+ "uuid",+]++[[package]]+name = "sea-orm-cli"+version = "0.11.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "efbf34a2caf70c2e3be9bb1e674e9540f6dfd7c8f40f6f05daf3b9740e476005"+dependencies = [+ "chrono",+ "clap",+ "dotenvy",+ "regex",+ "sea-schema",+ "tracing",+ "tracing-subscriber",+ "url",+]++[[package]]+name = "sea-orm-macros"+version = "0.11.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "28936f26d62234ff0be16f80115dbdeb3237fe9c25cf18fbcd1e3b3592360f20"+dependencies = [+ "bae",+ "heck 0.3.3",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "sea-orm-migration"+version = "0.11.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "278d3adfd0832b6ffc17d3cfbc574d3695a5c1b38814e0bc8ac238d33f3d87cf"+dependencies = [+ "async-trait",+ "clap",+ "dotenvy",+ "futures",+ "sea-orm",+ "sea-orm-cli",+ "sea-schema",+ "tracing",+ "tracing-subscriber",+]++[[package]]+name = "sea-query"+version = "0.28.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bbab99b8cd878ab7786157b7eb8df96333a6807cc6e45e8888c85b51534b401a"+dependencies = [+ "bigdecimal",+ "chrono",+ "rust_decimal",+ "sea-query-derive",+ "serde_json",+ "time 0.3.22",+ "uuid",+]++[[package]]+name = "sea-query-binder"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4cea85029985b40dfbf18318d85fe985c04db7c1b4e5e8e0a0a0cdff5f1e30f9"+dependencies = [+ "bigdecimal",+ "chrono",+ "rust_decimal",+ "sea-query",+ "serde_json",+ "sqlx",+ "time 0.3.22",+ "uuid",+]++[[package]]+name = "sea-query-derive"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "63f62030c60f3a691f5fe251713b4e220b306e50a71e1d6f9cce1f24bb781978"+dependencies = [+ "heck 0.4.1",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+ "thiserror",+]++[[package]]+name = "sea-schema"+version = "0.11.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eeb2940bb5a10bc6cd05b450ce6cd3993e27fddd7eface2becb97fc5af3a040e"+dependencies = [+ "futures",+ "sea-query",+ "sea-schema-derive",+]++[[package]]+name = "sea-schema-derive"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "56821b7076f5096b8f726e2791ad255a99c82498e08ec477a65a96c461ff1927"+dependencies = [+ "heck 0.3.3",+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "sea-strum"+version = "0.23.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "391d06a6007842cfe79ac6f7f53911b76dfd69fc9a6769f1cf6569d12ce20e1b"+dependencies = [+ "sea-strum_macros",+]++[[package]]+name = "sea-strum_macros"+version = "0.23.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "69b4397b825df6ccf1e98bcdabef3bbcfc47ff5853983467850eeab878384f21"+dependencies = [+ "heck 0.3.3",+ "proc-macro2",+ "quote",+ "rustversion",+ "syn 1.0.109",+]++[[package]]+name = "seahash"+version = "4.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"++[[package]]+name = "security-framework"+version = "2.9.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8"+dependencies = [+ "bitflags 1.3.2",+ "core-foundation",+ "core-foundation-sys",+ "libc",+ "security-framework-sys",+]++[[package]]+name = "security-framework-sys"+version = "2.9.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7"+dependencies = [+ "core-foundation-sys",+ "libc",+]++[[package]]+name = "semver"+version = "1.0.17"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"++[[package]]+name = "serde"+version = "1.0.164"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d"+dependencies = [+ "serde_derive",+]++[[package]]+name = "serde_derive"+version = "1.0.164"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "serde_derive_internals"+version = "0.26.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 1.0.109",+]++[[package]]+name = "serde_json"+version = "1.0.99"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3"+dependencies = [+ "itoa",+ "ryu",+ "serde",+]++[[package]]+name = "serde_urlencoded"+version = "0.7.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"+dependencies = [+ "form_urlencoded",+ "itoa",+ "ryu",+ "serde",+]++[[package]]+name = "sha1"+version = "0.10.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"+dependencies = [+ "cfg-if",+ "cpufeatures",+ "digest",+]++[[package]]+name = "sha2"+version = "0.10.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"+dependencies = [+ "cfg-if",+ "cpufeatures",+ "digest",+]++[[package]]+name = "sharded-slab"+version = "0.1.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"+dependencies = [+ "lazy_static",+]++[[package]]+name = "signature"+version = "2.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500"+dependencies = [+ "digest",+ "rand_core 0.6.4",+]++[[package]]+name = "simd-adler32"+version = "0.3.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"++[[package]]+name = "simdutf8"+version = "0.1.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"++[[package]]+name = "siphasher"+version = "0.3.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"++[[package]]+name = "slab"+version = "0.4.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d"+dependencies = [+ "autocfg",+]++[[package]]+name = "smallstr"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1e922794d168678729ffc7e07182721a14219c65814e66e91b839a272fe5ae4f"+dependencies = [+ "smallvec",+]++[[package]]+name = "smallvec"+version = "1.10.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"++[[package]]+name = "socket2"+version = "0.4.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662"+dependencies = [+ "libc",+ "winapi",+]++[[package]]+name = "spin"+version = "0.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"++[[package]]+name = "spin"+version = "0.9.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"+dependencies = [+ "lock_api",+]++[[package]]+name = "spki"+version = "0.7.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a"+dependencies = [+ "base64ct",+ "der",+]++[[package]]+name = "sqlformat"+version = "0.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0c12bc9199d1db8234678b7051747c07f517cdcf019262d1847b94ec8b1aee3e"+dependencies = [+ "itertools",+ "nom",+ "unicode_categories",+]++[[package]]+name = "sqlx"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f8de3b03a925878ed54a954f621e64bf55a3c1bd29652d0d1a17830405350188"+dependencies = [+ "sqlx-core",+ "sqlx-macros",+]++[[package]]+name = "sqlx-core"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fa8241483a83a3f33aa5fff7e7d9def398ff9990b2752b6c6112b83c6d246029"+dependencies = [+ "ahash 0.7.6",+ "atoi",+ "base64 0.13.1",+ "bigdecimal",+ "bitflags 1.3.2",+ "byteorder",+ "bytes",+ "chrono",+ "crossbeam-queue",+ "dirs",+ "dotenvy",+ "either",+ "event-listener",+ "flume",+ "futures-channel",+ "futures-core",+ "futures-executor",+ "futures-intrusive",+ "futures-util",+ "hashlink",+ "hex",+ "hkdf",+ "hmac",+ "indexmap",+ "itoa",+ "libc",+ "libsqlite3-sys",+ "log",+ "md-5",+ "memchr",+ "num-bigint",+ "once_cell",+ "paste",+ "percent-encoding",+ "rand 0.8.5",+ "rust_decimal",+ "rustls 0.20.8",+ "rustls-pemfile",+ "serde",+ "serde_json",+ "sha1",+ "sha2",+ "smallvec",+ "sqlformat",+ "sqlx-rt",+ "stringprep",+ "thiserror",+ "time 0.3.22",+ "tokio-stream",+ "url",+ "uuid",+ "webpki-roots",+ "whoami",+]++[[package]]+name = "sqlx-macros"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9966e64ae989e7e575b19d7265cb79d7fc3cbbdf179835cb0d716f294c2049c9"+dependencies = [+ "dotenvy",+ "either",+ "heck 0.4.1",+ "once_cell",+ "proc-macro2",+ "quote",+ "serde_json",+ "sqlx-core",+ "sqlx-rt",+ "syn 1.0.109",+ "url",+]++[[package]]+name = "sqlx-rt"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "804d3f245f894e61b1e6263c84b23ca675d96753b5abfd5cc8597d86806e8024"+dependencies = [+ "once_cell",+ "tokio",+ "tokio-rustls 0.23.4",+]++[[package]]+name = "stable_deref_trait"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"++[[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 = "subtle"+version = "2.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"++[[package]]+name = "syn"+version = "1.0.109"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"+dependencies = [+ "proc-macro2",+ "quote",+ "unicode-ident",+]++[[package]]+name = "syn"+version = "2.0.22"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2efbeae7acf4eabd6bcdcbd11c92f45231ddda7539edc7806bd1a04a03b24616"+dependencies = [+ "proc-macro2",+ "quote",+ "unicode-ident",+]++[[package]]+name = "tantivy"+version = "0.19.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5bb26a6b22c84d8be41d99a14016d6f04d30d8d31a2ea411a8ab553af5cc490d"+dependencies = [+ "aho-corasick 0.7.20",+ "arc-swap",+ "async-trait",+ "base64 0.13.1",+ "bitpacking",+ "byteorder",+ "census",+ "crc32fast",+ "crossbeam-channel",+ "downcast-rs",+ "fail",+ "fastdivide",+ "fastfield_codecs",+ "fs2",+ "htmlescape",+ "itertools",+ "levenshtein_automata",+ "log",+ "lru",+ "lz4_flex",+ "measure_time",+ "memmap2",+ "murmurhash32",+ "num_cpus",+ "once_cell",+ "oneshot",+ "ownedbytes",+ "rayon",+ "regex",+ "rust-stemmers",+ "rustc-hash",+ "serde",+ "serde_json",+ "smallvec",+ "stable_deref_trait",+ "tantivy-bitpacker",+ "tantivy-common",+ "tantivy-fst",+ "tantivy-query-grammar",+ "tempfile",+ "thiserror",+ "time 0.3.22",+ "uuid",+ "winapi",+]++[[package]]+name = "tantivy-bitpacker"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e71a0c95b82d4292b097a09b989a6380d28c3a86800c841a2d03bae1fc8b9fa6"++[[package]]+name = "tantivy-common"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "14fef4182bb60df9a4b92cd8ecab39ba2e50a05542934af17eef1f49660705cb"+dependencies = [+ "byteorder",+ "ownedbytes",+]++[[package]]+name = "tantivy-fst"+version = "0.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fc3c506b1a8443a3a65352df6382a1fb6a7afe1a02e871cee0d25e2c3d5f3944"+dependencies = [+ "byteorder",+ "regex-syntax 0.6.29",+ "utf8-ranges",+]++[[package]]+name = "tantivy-query-grammar"+version = "0.19.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "343e3ada4c1c480953f6960f8a21ce9c76611480ffdd4f4e230fdddce0fc5331"+dependencies = [+ "combine",+ "once_cell",+ "regex",+]++[[package]]+name = "tap"+version = "1.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"++[[package]]+name = "tempfile"+version = "3.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"+dependencies = [+ "autocfg",+ "cfg-if",+ "fastrand",+ "redox_syscall 0.3.5",+ "rustix",+ "windows-sys 0.48.0",+]++[[package]]+name = "textwrap"+version = "0.16.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"++[[package]]+name = "thiserror"+version = "1.0.40"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac"+dependencies = [+ "thiserror-impl",+]++[[package]]+name = "thiserror-impl"+version = "1.0.40"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "thread_local"+version = "1.1.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"+dependencies = [+ "cfg-if",+ "once_cell",+]++[[package]]+name = "tiff"+version = "0.8.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7449334f9ff2baf290d55d73983a7d6fa15e01198faef72af07e2a8db851e471"+dependencies = [+ "flate2",+ "jpeg-decoder",+ "weezl",+]++[[package]]+name = "time"+version = "0.1.45"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"+dependencies = [+ "libc",+ "wasi 0.10.0+wasi-snapshot-preview1",+ "winapi",+]++[[package]]+name = "time"+version = "0.3.22"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd"+dependencies = [+ "itoa",+ "serde",+ "time-core",+ "time-macros",+]++[[package]]+name = "time-core"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"++[[package]]+name = "time-macros"+version = "0.2.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b"+dependencies = [+ "time-core",+]++[[package]]+name = "tiny-keccak"+version = "2.0.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"+dependencies = [+ "crunchy",+]++[[package]]+name = "tinyvec"+version = "1.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"+dependencies = [+ "tinyvec_macros",+]++[[package]]+name = "tinyvec_macros"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"++[[package]]+name = "tokio"+version = "1.28.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"+dependencies = [+ "autocfg",+ "bytes",+ "libc",+ "mio",+ "num_cpus",+ "pin-project-lite",+ "socket2",+ "tokio-macros",+ "windows-sys 0.48.0",+]++[[package]]+name = "tokio-macros"+version = "2.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "tokio-rustls"+version = "0.23.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"+dependencies = [+ "rustls 0.20.8",+ "tokio",+ "webpki",+]++[[package]]+name = "tokio-rustls"+version = "0.24.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"+dependencies = [+ "rustls 0.21.2",+ "tokio",+]++[[package]]+name = "tokio-stream"+version = "0.1.14"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"+dependencies = [+ "futures-core",+ "pin-project-lite",+ "tokio",+]++[[package]]+name = "tokio-util"+version = "0.7.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"+dependencies = [+ "bytes",+ "futures-core",+ "futures-sink",+ "pin-project-lite",+ "tokio",+ "tracing",+]++[[package]]+name = "toml"+version = "0.5.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"+dependencies = [+ "serde",+]++[[package]]+name = "tower-service"+version = "0.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"++[[package]]+name = "tracing"+version = "0.1.37"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"+dependencies = [+ "cfg-if",+ "log",+ "pin-project-lite",+ "tracing-attributes",+ "tracing-core",+]++[[package]]+name = "tracing-attributes"+version = "0.1.26"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "tracing-core"+version = "0.1.31"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a"+dependencies = [+ "once_cell",+ "valuable",+]++[[package]]+name = "tracing-log"+version = "0.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"+dependencies = [+ "lazy_static",+ "log",+ "tracing-core",+]++[[package]]+name = "tracing-serde"+version = "0.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1"+dependencies = [+ "serde",+ "tracing-core",+]++[[package]]+name = "tracing-stackdriver"+version = "0.6.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eff9dd91761e07727176a3dd3a1d64bbb577ea656b7b82fa4be4021832674c49"+dependencies = [+ "Inflector",+ "serde",+ "serde_json",+ "thiserror",+ "time 0.3.22",+ "tracing-core",+ "tracing-subscriber",+]++[[package]]+name = "tracing-subscriber"+version = "0.3.17"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77"+dependencies = [+ "matchers",+ "nu-ansi-term",+ "once_cell",+ "regex",+ "serde",+ "serde_json",+ "sharded-slab",+ "smallvec",+ "thread_local",+ "tracing",+ "tracing-core",+ "tracing-log",+ "tracing-serde",+]++[[package]]+name = "try-lock"+version = "0.2.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"++[[package]]+name = "type-map"+version = "0.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"+dependencies = [+ "rustc-hash",+]++[[package]]+name = "typenum"+version = "1.16.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"++[[package]]+name = "unicode-bidi"+version = "0.3.13"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"++[[package]]+name = "unicode-ident"+version = "1.0.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"++[[package]]+name = "unicode-normalization"+version = "0.1.22"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"+dependencies = [+ "tinyvec",+]++[[package]]+name = "unicode-segmentation"+version = "1.10.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"++[[package]]+name = "unicode_categories"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"++[[package]]+name = "untrusted"+version = "0.7.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"++[[package]]+name = "url"+version = "2.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"+dependencies = [+ "form_urlencoded",+ "idna",+ "percent-encoding",+]++[[package]]+name = "utf8-ranges"+version = "1.0.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7fcfc827f90e53a02eaef5e535ee14266c1d569214c6aa70133a624d8a3164ba"++[[package]]+name = "utoipa"+version = "3.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68ae74ef183fae36d650f063ae7bde1cacbe1cd7e72b617cbe1e985551878b98"+dependencies = [+ "indexmap",+ "serde",+ "serde_json",+ "utoipa-gen",+]++[[package]]+name = "utoipa-gen"+version = "3.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7ea8ac818da7e746a63285594cce8a96f5e00ee31994e655bd827569cb8b137b"+dependencies = [+ "proc-macro-error",+ "proc-macro2",+ "quote",+ "syn 2.0.22",+]++[[package]]+name = "uuid"+version = "1.4.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d023da39d1fde5a8a3fe1f3e01ca9632ada0a63e9797de55a879d6e2236277be"+dependencies = [+ "getrandom 0.2.10",+ "serde",+]++[[package]]+name = "valuable"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"++[[package]]+name = "vcpkg"+version = "0.2.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"++[[package]]+name = "vergen"+version = "7.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f21b881cd6636ece9735721cf03c1fe1e774fe258683d084bb2812ab67435749"+dependencies = [+ "anyhow",+ "cfg-if",+ "enum-iterator",+ "getset",+ "git2",+ "rustc_version",+ "rustversion",+ "thiserror",+ "time 0.3.22",+]++[[package]]+name = "version_check"+version = "0.9.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"++[[package]]+name = "walkdir"+version = "2.3.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"+dependencies = [+ "same-file",+ "winapi-util",+]++[[package]]+name = "want"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"+dependencies = [+ "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 = "wasi"+version = "0.11.0+wasi-snapshot-preview1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"++[[package]]+name = "wasm-bindgen"+version = "0.2.87"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"+dependencies = [+ "cfg-if",+ "wasm-bindgen-macro",+]++[[package]]+name = "wasm-bindgen-backend"+version = "0.2.87"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"+dependencies = [+ "bumpalo",+ "log",+ "once_cell",+ "proc-macro2",+ "quote",+ "syn 2.0.22",+ "wasm-bindgen-shared",+]++[[package]]+name = "wasm-bindgen-futures"+version = "0.4.37"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03"+dependencies = [+ "cfg-if",+ "js-sys",+ "wasm-bindgen",+ "web-sys",+]++[[package]]+name = "wasm-bindgen-macro"+version = "0.2.87"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"+dependencies = [+ "quote",+ "wasm-bindgen-macro-support",+]++[[package]]+name = "wasm-bindgen-macro-support"+version = "0.2.87"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.22",+ "wasm-bindgen-backend",+ "wasm-bindgen-shared",+]++[[package]]+name = "wasm-bindgen-shared"+version = "0.2.87"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"++[[package]]+name = "wasm-streams"+version = "0.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078"+dependencies = [+ "futures-util",+ "js-sys",+ "wasm-bindgen",+ "wasm-bindgen-futures",+ "web-sys",+]++[[package]]+name = "web-sys"+version = "0.3.64"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"+dependencies = [+ "js-sys",+ "wasm-bindgen",+]++[[package]]+name = "webp"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cf022f821f166079a407d000ab57e84de020e66ffbbf4edde999bc7d6e371cae"+dependencies = [+ "libwebp-sys",+]++[[package]]+name = "webpki"+version = "0.22.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"+dependencies = [+ "ring",+ "untrusted",+]++[[package]]+name = "webpki-roots"+version = "0.22.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87"+dependencies = [+ "webpki",+]++[[package]]+name = "weezl"+version = "0.1.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"++[[package]]+name = "whoami"+version = "1.4.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50"+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 = "windows"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"+dependencies = [+ "windows-targets",+]++[[package]]+name = "windows-sys"+version = "0.42.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"+dependencies = [+ "windows_aarch64_gnullvm 0.42.2",+ "windows_aarch64_msvc 0.42.2",+ "windows_i686_gnu 0.42.2",+ "windows_i686_msvc 0.42.2",+ "windows_x86_64_gnu 0.42.2",+ "windows_x86_64_gnullvm 0.42.2",+ "windows_x86_64_msvc 0.42.2",+]++[[package]]+name = "windows-sys"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"+dependencies = [+ "windows-targets",+]++[[package]]+name = "windows-targets"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"+dependencies = [+ "windows_aarch64_gnullvm 0.48.0",+ "windows_aarch64_msvc 0.48.0",+ "windows_i686_gnu 0.48.0",+ "windows_i686_msvc 0.48.0",+ "windows_x86_64_gnu 0.48.0",+ "windows_x86_64_gnullvm 0.48.0",+ "windows_x86_64_msvc 0.48.0",+]++[[package]]+name = "windows_aarch64_gnullvm"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"++[[package]]+name = "windows_aarch64_gnullvm"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"++[[package]]+name = "windows_aarch64_msvc"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"++[[package]]+name = "windows_aarch64_msvc"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"++[[package]]+name = "windows_i686_gnu"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"++[[package]]+name = "windows_i686_gnu"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"++[[package]]+name = "windows_i686_msvc"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"++[[package]]+name = "windows_i686_msvc"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"++[[package]]+name = "windows_x86_64_gnu"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"++[[package]]+name = "windows_x86_64_gnu"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"++[[package]]+name = "windows_x86_64_gnullvm"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"++[[package]]+name = "windows_x86_64_gnullvm"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"++[[package]]+name = "windows_x86_64_msvc"+version = "0.42.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"++[[package]]+name = "windows_x86_64_msvc"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"++[[package]]+name = "winreg"+version = "0.10.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"+dependencies = [+ "winapi",+]++[[package]]+name = "wyz"+version = "0.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"+dependencies = [+ "tap",+]++[[package]]+name = "yrs"+version = "0.16.5"+source = "git+https://github.com/toeverything/y-crdt?rev=a700f09#a700f0990a993f905531f7acf589c6a736bb7429"+dependencies = [+ "atomic_refcell",+ "lib0",+ "rand 0.7.3",+ "smallstr",+ "smallvec",+ "thiserror",+]++[[package]]+name = "zeroize"+version = "1.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9"++[[package]]+name = "zune-inflate"+version = "0.2.54"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"+dependencies = [+ "simd-adler32",+]diff --git a/packages/storage/Cargo.toml b/packages/storage/Cargo.tomlnew file mode 100644index 0000000000..15f0b583d2--- /dev/null+++ b/packages/storage/Cargo.toml@@ -0,0 +1,27 @@+[package]+name = "affine_storage"+version = "1.0.0"+edition = "2021"++# used to avoid sys dep conflict sqlx -> libsqlite-sys+[workspace]++[lib]+crate-type = ["cdylib"]++[dependencies]+jwst = { git = "https://github.com/toeverything/OctoBase.git", branch = "master" }+jwst-storage = { git = "https://github.com/toeverything/OctoBase.git", branch = "master" }+napi = { version = "2", default-features = false, features = [+ "napi5",+ "async",+] }+napi-derive = { version = "2", features = ["type-def"] }+yrs = { version = "0.16.5" }++[build-dependencies]+napi-build = "2"++[patch.crates-io]+lib0 = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }+yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }diff --git a/packages/storage/__tests__/storage.spec.js b/packages/storage/__tests__/storage.spec.jsnew file mode 100644index 0000000000..234bc2f868--- /dev/null+++ b/packages/storage/__tests__/storage.spec.js@@ -0,0 +1,131 @@+import assert from 'node:assert';+import { beforeEach, describe, test } from 'node:test';++import { encoding } from 'lib0';+import * as Y from 'yjs';++import { Storage } from '../index.js';++// update binary by y.doc.text('content').insert('hello world')+// prettier-ignore+let init = Buffer.from([1,1,160,238,169,240,10,0,4,1,7,99,111,110,116,101,110,116,11,104,101,108,108,111,32,119,111,114,108,100,0])+describe('Test jwst storage binding', () => {+ /** @type { Storage } */+ let storage;+ beforeEach(async () => {+ storage = await Storage.connect('sqlite::memory:', true);+ });++ test('should be able to create workspace', async () => {+ const workspace = await storage.createWorkspace('test-workspace', init);++ assert(workspace.id === 'test-workspace');+ assert.deepEqual(init, await storage.load(workspace.doc.guid));+ });++ test('should not create workspace with same id', async () => {+ await storage.createWorkspace('test-workspace', init);+ await assert.rejects(+ storage.createWorkspace('test-workspace', init),+ /Workspace [\w-]+ already exists/+ );+ });++ test('should be able to delete workspace', async () => {+ const workspace = await storage.createWorkspace('test-workspace', init);++ await storage.deleteWorkspace(workspace.id);++ await assert.rejects(+ storage.load(workspace.doc.guid),+ /Doc [\w-]+ not exists/+ );+ });++ test('should be able to sync update', async () => {+ const workspace = await storage.createWorkspace('test-workspace', init);++ const update = await storage.load(workspace.doc.guid);+ assert(update !== null);++ const doc = new Y.Doc();+ Y.applyUpdate(doc, update);++ let text = doc.getText('content');+ assert.equal(text.toJSON(), 'hello world');++ const updates = [];+ doc.on('update', async (/** @type { UInt8Array } */ update) => {+ updates.push(Buffer.from(update));+ });++ text.insert(5, ' my');+ text.insert(14, '!');++ for (const update of updates) {+ await storage.sync(workspace.id, workspace.doc.guid, update);+ }++ const update2 = await storage.load(workspace.doc.guid);+ const doc2 = new Y.Doc();+ Y.applyUpdate(doc2, update2);++ text = doc2.getText('content');+ assert.equal(text.toJSON(), 'hello my world!');+ });++ test('should be able to sync update with guid encoded', async () => {+ const workspace = await storage.createWorkspace('test-workspace', init);++ const update = await storage.load(workspace.doc.guid);+ assert(update !== null);++ const doc = new Y.Doc();+ Y.applyUpdate(doc, update);++ let text = doc.getText('content');+ assert.equal(text.toJSON(), 'hello world');++ const updates = [];+ doc.on('update', async (/** @type { UInt8Array } */ update) => {+ const prefix = encoding.encode(encoder => {+ encoding.writeVarString(encoder, workspace.doc.guid);+ });++ updates.push(Buffer.concat([prefix, update]));+ });++ text.insert(5, ' my');+ text.insert(14, '!');++ for (const update of updates) {+ await storage.syncWithGuid(workspace.id, update);+ }++ const update2 = await storage.load(workspace.doc.guid);+ const doc2 = new Y.Doc();+ Y.applyUpdate(doc2, update2);++ text = doc2.getText('content');+ assert.equal(text.toJSON(), 'hello my world!');+ });++ test('should be able to store blob', async () => {+ let workspace = await storage.createWorkspace('test-workspace', init);+ const blobId = await storage.uploadBlob(workspace.id, Buffer.from([1]));++ assert(blobId !== null);++ let blob = await storage.blob(workspace.id, blobId);++ assert.deepEqual(blob.data, Buffer.from([1]));+ assert.strictEqual(blob.size, 1);+ assert.equal(blob.contentType, 'application/octet-stream');++ await storage.uploadBlob(workspace.id, Buffer.from([1, 2, 3, 4, 5]));++ const spaceTaken = await storage.blobsSize(workspace.id);++ assert.equal(spaceTaken, 6);+ });+});diff --git a/packages/storage/build.rs b/packages/storage/build.rsnew file mode 100644index 0000000000..bbfc9e4b9e--- /dev/null+++ b/packages/storage/build.rs@@ -0,0 +1,3 @@+fn main() {+ napi_build::setup();+}diff --git a/packages/storage/index.d.ts b/packages/storage/index.d.tsnew file mode 100644index 0000000000..0b7833732c--- /dev/null+++ b/packages/storage/index.d.ts@@ -0,0 +1,52 @@+/* auto-generated by NAPI-RS */+/* eslint-disable */++export class Doc {+ get guid(): string;+}++export class Storage {+ /** Create a storage instance and establish connection to persist store. */+ static connect(+ database: string,+ debugOnlyAutoMigrate?: boolean | undefined | null+ ): Promise<Storage>;+ /** Get a workspace by id */+ getWorkspace(workspaceId: string): Promise<Workspace | null>;+ /** Create a new workspace with a init update. */+ createWorkspace(workspaceId: string, init: Buffer): Promise<Workspace>;+ /** Delete a workspace. */+ deleteWorkspace(workspaceId: string): Promise<void>;+ /** Sync doc updates. */+ sync(workspaceId: string, guid: string, update: Buffer): Promise<void>;+ /** Sync doc update with doc guid encoded. */+ syncWithGuid(workspaceId: string, update: Buffer): Promise<void>;+ /** Load doc as update buffer. */+ load(guid: string): Promise<Buffer | null>;+ /** Fetch a workspace blob. */+ blob(workspaceId: string, name: string): Promise<Blob | null>;+ /** Upload a blob into workspace storage. */+ uploadBlob(workspaceId: string, blob: Buffer): Promise<string>;+ /** Workspace size taken by blobs. */+ blobsSize(workspaceId: string): Promise<number>;+}++export class Workspace {+ get doc(): Doc;+ isEmpty(): boolean;+ get id(): string;+ get clientId(): string;+ search(query: string): Array<SearchResult>;+}++export interface Blob {+ contentType: string;+ lastModified: string;+ size: number;+ data: Buffer;+}++export interface SearchResult {+ blockId: string;+ score: number;+}diff --git a/packages/storage/index.js b/packages/storage/index.jsnew file mode 100644index 0000000000..d05ffda8ca--- /dev/null+++ b/packages/storage/index.js@@ -0,0 +1,10 @@+import { createRequire } from 'node:module';++const require = createRequire(import.meta.url);++/** @type {import('.')} */+const binding = require('./storage.node');++export const Storage = binding.Storage;+export const Workspace = binding.Workspace;+export const Document = binding.Doc;diff --git a/packages/storage/package.json b/packages/storage/package.jsonnew file mode 100644index 0000000000..c31837c069--- /dev/null+++ b/packages/storage/package.json@@ -0,0 +1,43 @@+{+ "name": "@affine/storage",+ "version": "1.0.0",+ "engines": {+ "node": ">= 10.16.0 < 11 || >= 11.8.0"+ },+ "type": "module",+ "main": "./index.js",+ "module": "./index.js",+ "types": "index.d.ts",+ "exports": {+ ".": {+ "require": "./storage.node",+ "import": "./index.js",+ "types": "./index.d.ts"+ }+ },+ "napi": {+ "binaryName": "storage",+ "targets": [+ "aarch64-apple-darwin",+ "aarch64-unknown-linux-gnu",+ "aarch64-pc-windows-msvc",+ "x86_64-apple-darwin",+ "x86_64-pc-windows-msvc",+ "x86_64-unknown-linux-gnu",+ "universal-apple-darwin"+ ]+ },+ "scripts": {+ "test": "node --test ./__tests__/**/*.spec.js",+ "build": "napi build --release --strip",+ "build:debug": "napi build",+ "prepublishOnly": "napi prepublish -t npm",+ "artifacts": "napi artifacts",+ "version": "napi version"+ },+ "devDependencies": {+ "@napi-rs/cli": "^3.0.0-alpha.4",+ "lib0": "^0.2.78",+ "yjs": "^13.6.6"+ }+}diff --git a/packages/storage/src/lib.rs b/packages/storage/src/lib.rsnew file mode 100644index 0000000000..a0a4442b72--- /dev/null+++ b/packages/storage/src/lib.rs@@ -0,0 +1,284 @@+#![deny(clippy::all)]++use std::{+ collections::HashMap,+ fmt::{Debug, Display},+ path::PathBuf,+};++use jwst::{BlobStorage, SearchResult as JwstSearchResult, Workspace as JwstWorkspace, DocStorage};+use jwst_storage::{JwstStorage, JwstStorageError};+use yrs::{Doc as YDoc, ReadTxn, StateVector, Transact};++use napi::{bindgen_prelude::*, Error, Result, Status};++#[macro_use]+extern crate napi_derive;++fn map_err_inner<T, E: Display + Debug>(v: std::result::Result<T, E>, status: Status) -> Result<T> {+ match v {+ Ok(val) => Ok(val),+ Err(e) => {+ dbg!(&e);+ Err(Error::new(status, e.to_string()))+ }+ }+}++macro_rules! map_err {+ ($val: expr) => {+ map_err_inner($val, Status::GenericFailure)+ };+ ($val: expr, $stauts: ident) => {+ map_err_inner($val, $stauts)+ };+}++macro_rules! napi_wrap {+ ($( ($name: ident, $target: ident) ),*) => {+ $(+ #[napi]+ pub struct $name($target);++ impl std::ops::Deref for $name {+ type Target = $target;++ fn deref(&self) -> &Self::Target {+ &self.0+ }+ }++ impl From<$target> for $name {+ fn from(t: $target) -> Self {+ Self(t)+ }+ }+ )*+ };+}++napi_wrap!(+ (Storage, JwstStorage),+ (Workspace, JwstWorkspace),+ (Doc, YDoc)+);++fn to_update_v1(doc: &YDoc) -> Result<Buffer> {+ let trx = doc.transact();++ map_err!(trx.encode_state_as_update_v1(&StateVector::default())).map(|update| update.into())+}++#[napi(object)]+pub struct Blob {+ pub content_type: String,+ pub last_modified: String,+ pub size: i64,+ pub data: Buffer,+}++#[napi(object)]+pub struct SearchResult {+ pub block_id: String,+ pub score: f64,+}++impl From<JwstSearchResult> for SearchResult {+ fn from(r: JwstSearchResult) -> Self {+ Self {+ block_id: r.block_id,+ score: r.score as f64,+ }+ }+}++#[napi]+impl Storage {+ /// Create a storage instance and establish connection to persist store.+ #[napi]+ pub async fn connect(database: String, debug_only_auto_migrate: Option<bool>) -> Result<Storage> {+ let inner = match if cfg!(debug_assertions) && debug_only_auto_migrate.unwrap_or(false) {+ JwstStorage::new_with_migration(&database).await+ } else {+ JwstStorage::new(&database).await+ } {+ Ok(storage) => storage,+ Err(JwstStorageError::Db(e)) => {+ return Err(Error::new(+ Status::GenericFailure,+ format!("failed to connect to database: {}", e),+ ))+ }+ Err(e) => return Err(Error::new(Status::GenericFailure, e.to_string())),+ };++ Ok(inner.into())+ }++ /// Get a workspace by id+ #[napi]+ pub async fn get_workspace(&self, workspace_id: String) -> Result<Option<Workspace>> {+ match self.0.get_workspace(workspace_id).await {+ Ok(w) => Ok(Some(w.into())),+ Err(JwstStorageError::WorkspaceNotFound(_)) => Ok(None),+ Err(e) => Err(Error::new(Status::GenericFailure, e.to_string())),+ }+ }++ /// Create a new workspace with a init update.+ #[napi]+ pub async fn create_workspace(&self, workspace_id: String, init: Buffer) -> Result<Workspace> {+ if map_err!(self.0.docs().detect_workspace(&workspace_id).await)? {+ return Err(Error::new(+ Status::GenericFailure,+ format!("Workspace {} already exists", workspace_id),+ ));+ }++ let workspace = map_err!(self.0.create_workspace(workspace_id).await)?;++ let init = init.as_ref();+ let guid = workspace.doc_guid().to_string();+ map_err!(self.docs().update_doc(workspace.id(), guid, init).await)?;++ Ok(workspace.into())+ }++ /// Delete a workspace.+ #[napi]+ pub async fn delete_workspace(&self, workspace_id: String) -> Result<()> {+ map_err!(self.docs().delete_workspace(&workspace_id).await)?;+ map_err!(self.blobs().delete_workspace(workspace_id).await)+ }++ /// Sync doc updates.+ #[napi]+ pub async fn sync(&self, workspace_id: String, guid: String, update: Buffer) -> Result<()> {+ let update = update.as_ref();+ map_err!(self.docs().update_doc(workspace_id, guid, update).await)+ }++ /// Sync doc update with doc guid encoded.+ #[napi]+ pub async fn sync_with_guid(&self, workspace_id: String, update: Buffer) -> Result<()> {+ let update = update.as_ref();+ map_err!(self.docs().update_doc_with_guid(workspace_id, update).await)+ }++ /// Load doc as update buffer.+ #[napi]+ pub async fn load(&self, guid: String) -> Result<Option<Buffer>> {+ self.ensure_exists(&guid).await?;++ if let Some(doc) = map_err!(self.docs().get_doc(guid).await)? {+ Ok(Some(to_update_v1(&doc)?))+ } else {+ Ok(None)+ }+ }++ /// Fetch a workspace blob.+ #[napi]+ pub async fn blob(&self, workspace_id: String, name: String) -> Result<Option<Blob>> {+ let (id, params) = {+ let path = PathBuf::from(name.clone());+ let ext = path+ .extension()+ .and_then(|s| s.to_str().map(|s| s.to_string()));+ let id = path+ .file_stem()+ .and_then(|s| s.to_str().map(|s| s.to_string()))+ .unwrap_or(name);++ (id, ext.map(|ext| HashMap::from([("format".into(), ext)])))+ };++ let Ok(meta) = self.blobs().get_metadata(Some(workspace_id.clone()), id.clone(), params.clone()).await else {+ return Ok(None);+ };++ let Ok(file) = self.blobs().get_blob(Some(workspace_id), id, params).await else {+ return Ok(None);+ };++ Ok(Some(Blob {+ content_type: meta.content_type,+ last_modified: format!("{:?}", meta.last_modified),+ size: meta.size,+ data: file.into(),+ }))+ }++ /// Upload a blob into workspace storage.+ #[napi]+ pub async fn upload_blob(&self, workspace_id: String, blob: Buffer) -> Result<String> {+ // TODO: can optimize, avoid copy+ let blob = blob.as_ref().to_vec();+ map_err!(self.blobs().put_blob(Some(workspace_id), blob).await)+ }++ /// Workspace size taken by blobs.+ #[napi]+ pub async fn blobs_size(&self, workspace_id: String) -> Result<i64> {+ map_err!(self.blobs().get_blobs_size(workspace_id).await)+ }++ async fn ensure_exists(&self, guid: &str) -> Result<()> {+ if map_err!(self.docs().detect_doc(guid).await)? {+ Ok(())+ } else {+ Err(Error::new(+ Status::GenericFailure,+ format!("Doc {} not exists", guid),+ ))+ }+ }+}++#[napi]+impl Workspace {+ #[napi(getter)]+ pub fn doc(&self) -> Doc {+ self.0.doc().into()+ }++ #[napi]+ #[inline]+ pub fn is_empty(&self) -> bool {+ self.0.is_empty()+ }++ #[napi(getter)]+ #[inline]+ pub fn id(&self) -> String {+ self.0.id()+ }++ #[napi(getter)]+ #[inline]+ pub fn client_id(&self) -> String {+ self.0.client_id().to_string()+ }++ #[napi]+ pub fn search(&self, query: String) -> Result<Vec<SearchResult>> {+ // TODO: search in all subdocs+ let result = map_err!(self.0.search(&query))?;++ Ok(+ result+ .into_inner()+ .into_iter()+ .map(Into::into)+ .collect::<Vec<_>>(),+ )+ }+}++#[napi]+impl Doc {+ #[napi(getter)]+ pub fn guid(&self) -> String {+ self.0.guid().to_string()+ }+}diff --git a/packages/storage/tsconfig.json b/packages/storage/tsconfig.jsonnew file mode 100644index 0000000000..b587693977--- /dev/null+++ b/packages/storage/tsconfig.json@@ -0,0 +1,9 @@+{+ "extends": "../../tsconfig.json",+ "compilerOptions": {+ "noEmit": false,+ "outDir": "lib",+ "composite": true+ },+ "include": ["index.d.ts"]+}diff --git a/tsconfig.json b/tsconfig.jsonindex 45d8ff2ecb..bd1adf2eaa 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -79,6 +79,7 @@"@toeverything/plugin-infra/*": ["./packages/plugin-infra/src/*"],"@affine/native": ["./packages/native/index.d.ts"],"@affine/native/*": ["./packages/native/*"],+ "@affine/storage": ["./packages/storage/index.d.ts"],// Development only"@affine/electron/*": ["./apps/electron/src/*"]diff --git a/yarn.lock b/yarn.lockindex 783ef5cd9c..b930b24149 100644--- a/yarn.lock+++ b/yarn.lock@@ -387,6 +387,7 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/server@workspace:apps/server"dependencies:+ "@affine/storage": "workspace:*""@apollo/server": ^4.7.4"@auth/prisma-adapter": ^1.0.0"@aws-sdk/client-s3": ^3.359.0@@ -426,6 +427,16 @@ __metadata:languageName: unknownlinkType: soft+"@affine/storage@workspace:*, @affine/storage@workspace:packages/storage":+ version: 0.0.0-use.local+ resolution: "@affine/storage@workspace:packages/storage"+ dependencies:+ "@napi-rs/cli": ^3.0.0-alpha.4+ lib0: ^0.2.78+ yjs: ^13.6.6+ languageName: unknown+ linkType: soft+"@affine/storybook@workspace:apps/storybook":version: 0.0.0-use.localresolution: "@affine/storybook@workspace:apps/storybook"@@ -7422,6 +7433,25 @@ __metadata:languageName: nodelinkType: hard+"@napi-rs/cli@npm:^3.0.0-alpha.4":+ version: 3.0.0-alpha.4+ resolution: "@napi-rs/cli@npm:3.0.0-alpha.4"+ dependencies:+ "@octokit/rest": ^19.0.7+ clipanion: ^3.2.0+ colorette: ^2.0.19+ debug: ^4.3.4+ inquirer: ^9.1.5+ js-yaml: ^4.1.0+ lodash-es: ^4.17.21+ typanion: ^3.12.1+ bin:+ napi: dist/cli.js+ napi-raw: cli.mjs+ checksum: 961d0f569c73c1dc84e362e2b4baf1fb090ef4fca9a0a53a9b149fd793eeb7e035b66d2cfb79e5c6fc02a1a5ff8732be6d72cca6b2a633b25b7d3cc47b1d983f+ languageName: node+ linkType: hard+"@napi-rs/image-android-arm-eabi@npm:1.6.1":version: 1.6.1resolution: "@napi-rs/image-android-arm-eabi@npm:1.6.1"@@ -8356,6 +8386,151 @@ __metadata:languageName: nodelinkType: hard+"@octokit/auth-token@npm:^3.0.0":+ version: 3.0.4+ resolution: "@octokit/auth-token@npm:3.0.4"+ checksum: 42f533a873d4192e6df406b3176141c1f95287423ebdc4cf23a38bb77ee00ccbc0e60e3fbd5874234fc2ed2e67bbc6035e3b0561dacc1d078adb5c4ced3579e3+ languageName: node+ linkType: hard++"@octokit/core@npm:^4.2.1":+ version: 4.2.1+ resolution: "@octokit/core@npm:4.2.1"+ dependencies:+ "@octokit/auth-token": ^3.0.0+ "@octokit/graphql": ^5.0.0+ "@octokit/request": ^6.0.0+ "@octokit/request-error": ^3.0.0+ "@octokit/types": ^9.0.0+ before-after-hook: ^2.2.0+ universal-user-agent: ^6.0.0+ checksum: f82d52e937e12da1c7c163341c845b8e27e7fa75678f5e5954e6fa017a94f1833d6e5c4e43f0be796fbfea9dc5e1137087f655dbd5acb3d57879e1b28568e0a9+ languageName: node+ linkType: hard++"@octokit/endpoint@npm:^7.0.0":+ version: 7.0.6+ resolution: "@octokit/endpoint@npm:7.0.6"+ dependencies:+ "@octokit/types": ^9.0.0+ is-plain-object: ^5.0.0+ universal-user-agent: ^6.0.0+ checksum: 7caebf30ceec50eb7f253341ed419df355232f03d4638a95c178ee96620400db7e4a5e15d89773fe14db19b8653d4ab4cc81b2e93ca0c760b4e0f7eb7ad80301+ languageName: node+ linkType: hard++"@octokit/graphql@npm:^5.0.0":+ version: 5.0.6+ resolution: "@octokit/graphql@npm:5.0.6"+ dependencies:+ "@octokit/request": ^6.0.0+ "@octokit/types": ^9.0.0+ universal-user-agent: ^6.0.0+ checksum: 7be545d348ef31dcab0a2478dd64d5746419a2f82f61459c774602bcf8a9b577989c18001f50b03f5f61a3d9e34203bdc021a4e4d75ff2d981e8c9c09cf8a65c+ languageName: node+ linkType: hard++"@octokit/openapi-types@npm:^18.0.0":+ version: 18.0.0+ resolution: "@octokit/openapi-types@npm:18.0.0"+ checksum: d487d6c6c1965e583eee417d567e4fe3357a98953fc49bce1a88487e7908e9b5dbb3e98f60dfa340e23b1792725fbc006295aea071c5667a813b9c098185b56f+ languageName: node+ linkType: hard++"@octokit/plugin-paginate-rest@npm:^6.1.2":+ version: 6.1.2+ resolution: "@octokit/plugin-paginate-rest@npm:6.1.2"+ dependencies:+ "@octokit/tsconfig": ^1.0.2+ "@octokit/types": ^9.2.3+ peerDependencies:+ "@octokit/core": ">=4"+ checksum: a7b3e686c7cbd27ec07871cde6e0b1dc96337afbcef426bbe3067152a17b535abd480db1861ca28c88d93db5f7bfdbcadd0919ead19818c28a69d0e194038065+ languageName: node+ linkType: hard++"@octokit/plugin-request-log@npm:^1.0.4":+ version: 1.0.4+ resolution: "@octokit/plugin-request-log@npm:1.0.4"+ peerDependencies:+ "@octokit/core": ">=3"+ checksum: 2086db00056aee0f8ebd79797b5b57149ae1014e757ea08985b71eec8c3d85dbb54533f4fd34b6b9ecaa760904ae6a7536be27d71e50a3782ab47809094bfc0c+ languageName: node+ linkType: hard++"@octokit/plugin-rest-endpoint-methods@npm:^7.1.2":+ version: 7.2.3+ resolution: "@octokit/plugin-rest-endpoint-methods@npm:7.2.3"+ dependencies:+ "@octokit/types": ^10.0.0+ peerDependencies:+ "@octokit/core": ">=3"+ checksum: 21dfb98514dbe900c29cddb13b335bbce43d613800c6b17eba3c1fd31d17e69c1960f3067f7bf864bb38fdd5043391f4a23edee42729d8c7fbabd00569a80336+ languageName: node+ linkType: hard++"@octokit/request-error@npm:^3.0.0":+ version: 3.0.3+ resolution: "@octokit/request-error@npm:3.0.3"+ dependencies:+ "@octokit/types": ^9.0.0+ deprecation: ^2.0.0+ once: ^1.4.0+ checksum: 5db0b514732686b627e6ed9ef1ccdbc10501f1b271a9b31f784783f01beee70083d7edcfeb35fbd7e569fa31fdd6762b1ff6b46101700d2d97e7e48e749520d0+ languageName: node+ linkType: hard++"@octokit/request@npm:^6.0.0":+ version: 6.2.6+ resolution: "@octokit/request@npm:6.2.6"+ dependencies:+ "@octokit/endpoint": ^7.0.0+ "@octokit/request-error": ^3.0.0+ "@octokit/types": ^9.0.0+ is-plain-object: ^5.0.0+ node-fetch: ^2.6.7+ universal-user-agent: ^6.0.0+ checksum: 0732fb60e20b0348fc61d856c9e234038e34f9ce062b04b968df18c2f106da094055d55c93f653284298b03e6dac2ea5a4b5c5a97686b529ed30447bd37f2773+ languageName: node+ linkType: hard++"@octokit/rest@npm:^19.0.7":+ version: 19.0.11+ resolution: "@octokit/rest@npm:19.0.11"+ dependencies:+ "@octokit/core": ^4.2.1+ "@octokit/plugin-paginate-rest": ^6.1.2+ "@octokit/plugin-request-log": ^1.0.4+ "@octokit/plugin-rest-endpoint-methods": ^7.1.2+ checksum: 147518ad51d214ead88adc717b5fdc4f33317949d58c124f4069bdf07d2e6b49fa66861036b9e233aed71fcb88ff367a6da0357653484e466175ab4fb7183b3b+ languageName: node+ linkType: hard++"@octokit/tsconfig@npm:^1.0.2":+ version: 1.0.2+ resolution: "@octokit/tsconfig@npm:1.0.2"+ checksum: 74d56f3e9f326a8dd63700e9a51a7c75487180629c7a68bbafee97c612fbf57af8347369bfa6610b9268a3e8b833c19c1e4beb03f26db9a9dce31f6f7a19b5b1+ languageName: node+ linkType: hard++"@octokit/types@npm:^10.0.0":+ version: 10.0.0+ resolution: "@octokit/types@npm:10.0.0"+ dependencies:+ "@octokit/openapi-types": ^18.0.0+ checksum: 8aafba2ff0cd2435fb70c291bf75ed071c0fa8a865cf6169648732068a35dec7b85a345851f18920ec5f3e94ee0e954988485caac0da09ec3f6781cc44fe153a+ languageName: node+ linkType: hard++"@octokit/types@npm:^9.0.0, @octokit/types@npm:^9.2.3":+ version: 9.3.2+ resolution: "@octokit/types@npm:9.3.2"+ dependencies:+ "@octokit/openapi-types": ^18.0.0+ checksum: f55d096aaed3e04b8308d4422104fb888f355988056ba7b7ef0a4c397b8a3e54290d7827b06774dbe0c9ce55280b00db486286954f9c265aa6b03091026d9da8+ languageName: node+ linkType: hard+"@open-draft/until@npm:^1.0.3":version: 1.0.3resolution: "@open-draft/until@npm:1.0.3"@@ -13232,7 +13407,7 @@ __metadata:languageName: nodelinkType: hard-"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0":+"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0, ansi-escapes@npm:^4.3.2":version: 4.3.2resolution: "ansi-escapes@npm:4.3.2"dependencies:@@ -14102,6 +14277,13 @@ __metadata:languageName: nodelinkType: hard+"before-after-hook@npm:^2.2.0":+ version: 2.2.3+ resolution: "before-after-hook@npm:2.2.3"+ checksum: a1a2430976d9bdab4cd89cb50d27fa86b19e2b41812bf1315923b0cba03371ebca99449809226425dd3bcef20e010db61abdaff549278e111d6480034bebae87+ languageName: node+ linkType: hard+"better-opn@npm:^2.1.1":version: 2.1.1resolution: "better-opn@npm:2.1.1"@@ -15019,6 +15201,13 @@ __metadata:languageName: nodelinkType: hard+"cli-width@npm:^4.0.0":+ version: 4.0.0+ resolution: "cli-width@npm:4.0.0"+ checksum: 1ec12311217cc8b2d018646a58b61424d2348def598fb58ba2c32e28f0bcb59a35cef168110311cefe3340abf00e5171b351de6c3e2c084bd1642e6e2a9e144e+ languageName: node+ linkType: hard+"client-only@npm:0.0.1, client-only@npm:^0.0.1":version: 0.0.1resolution: "client-only@npm:0.0.1"@@ -15026,7 +15215,7 @@ __metadata:languageName: nodelinkType: hard-"clipanion@npm:^3.1.0":+"clipanion@npm:^3.1.0, clipanion@npm:^3.2.0":version: 3.2.1resolution: "clipanion@npm:3.2.1"dependencies:@@ -16148,6 +16337,13 @@ __metadata:languageName: nodelinkType: hard+"deprecation@npm:^2.0.0":+ version: 2.3.1+ resolution: "deprecation@npm:2.3.1"+ checksum: f56a05e182c2c195071385455956b0c4106fe14e36245b00c689ceef8e8ab639235176a96977ba7c74afb173317fac2e0ec6ec7a1c6d1e6eaa401c586c714132+ languageName: node+ linkType: hard+"dequal@npm:^2.0.2, dequal@npm:^2.0.3":version: 2.0.3resolution: "dequal@npm:2.0.3"@@ -17450,6 +17646,13 @@ __metadata:languageName: nodelinkType: hard+"escape-string-regexp@npm:^5.0.0":+ version: 5.0.0+ resolution: "escape-string-regexp@npm:5.0.0"+ checksum: 20daabe197f3cb198ec28546deebcf24b3dbb1a5a269184381b3116d12f0532e06007f4bc8da25669d6a7f8efb68db0758df4cd981f57bc5b57f521a3e12c59e+ languageName: node+ linkType: hard+"escodegen@npm:^2.0.0":version: 2.0.0resolution: "escodegen@npm:2.0.0"@@ -18360,6 +18563,16 @@ __metadata:languageName: nodelinkType: hard+"figures@npm:^5.0.0":+ version: 5.0.0+ resolution: "figures@npm:5.0.0"+ dependencies:+ escape-string-regexp: ^5.0.0+ is-unicode-supported: ^1.2.0+ checksum: e6e8b6d1df2f554d4effae4a5ceff5d796f9449f6d4e912d74dab7d5f25916ecda6c305b9084833157d56485a0c78b37164430ddc5675bcee1330e346710669e+ languageName: node+ linkType: hard+"file-entry-cache@npm:^6.0.1":version: 6.0.1resolution: "file-entry-cache@npm:6.0.1"@@ -20327,6 +20540,29 @@ __metadata:languageName: nodelinkType: hard+"inquirer@npm:^9.1.5":+ version: 9.2.7+ resolution: "inquirer@npm:9.2.7"+ dependencies:+ ansi-escapes: ^4.3.2+ chalk: ^5.2.0+ cli-cursor: ^3.1.0+ cli-width: ^4.0.0+ external-editor: ^3.0.3+ figures: ^5.0.0+ lodash: ^4.17.21+ mute-stream: 1.0.0+ ora: ^5.4.1+ run-async: ^3.0.0+ rxjs: ^7.8.1+ string-width: ^4.2.3+ strip-ansi: ^6.0.1+ through: ^2.3.6+ wrap-ansi: ^6.0.1+ checksum: 5522fd4af72aec151d92a8156d24ff55c2e5f68177eac1e704a594004b31b3215ff92c59a3105691b8e237640995efd55df0aa2e3b47053fb27768ded760fbf5+ languageName: node+ linkType: hard+"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5":version: 1.0.5resolution: "internal-slot@npm:1.0.5"@@ -20741,7 +20977,7 @@ __metadata:languageName: nodelinkType: hard-"is-plain-object@npm:5.0.0":+"is-plain-object@npm:5.0.0, is-plain-object@npm:^5.0.0":version: 5.0.0resolution: "is-plain-object@npm:5.0.0"checksum: e32d27061eef62c0847d303125440a38660517e586f2f3db7c9d179ae5b6674ab0f469d519b2e25c147a1a3bc87156d0d5f4d8821e0ce4a9ee7fe1fcf11ce45c@@ -20906,7 +21142,7 @@ __metadata:languageName: nodelinkType: hard-"is-unicode-supported@npm:*":+"is-unicode-supported@npm:*, is-unicode-supported@npm:^1.2.0":version: 1.3.0resolution: "is-unicode-supported@npm:1.3.0"checksum: 20a1fc161afafaf49243551a5ac33b6c4cf0bbcce369fcd8f2951fbdd000c30698ce320de3ee6830497310a8f41880f8066d440aa3eb0a853e2aa4836dd89abc@@ -23972,6 +24208,13 @@ __metadata:languageName: nodelinkType: hard+"mute-stream@npm:1.0.0":+ version: 1.0.0+ resolution: "mute-stream@npm:1.0.0"+ checksum: 36fc968b0e9c9c63029d4f9dc63911950a3bdf55c9a87f58d3a266289b67180201cade911e7699f8b2fa596b34c9db43dad37649e3f7fdd13c3bb9edb0017ee7+ languageName: node+ linkType: hard+"mz@npm:^2.7.0":version: 2.7.0resolution: "mz@npm:2.7.0"@@ -27558,6 +27801,13 @@ __metadata:languageName: nodelinkType: hard+"run-async@npm:^3.0.0":+ version: 3.0.0+ resolution: "run-async@npm:3.0.0"+ checksum: 280c03d5a88603f48103fc6fd69f07fb0c392a1e0d319c34ec96a2516030e07ba06f79231a563c78698b882649c2fc1fda601bc84705f57d50efcd1fa506cfc0+ languageName: node+ linkType: hard+"run-parallel@npm:^1.1.9":version: 1.2.0resolution: "run-parallel@npm:1.2.0"@@ -29597,7 +29847,7 @@ __metadata:languageName: nodelinkType: hard-"typanion@npm:^3.8.0":+"typanion@npm:^3.12.1, typanion@npm:^3.8.0":version: 3.12.1resolution: "typanion@npm:3.12.1"checksum: a2e26fa216f8a1dbd2ffbaacb75b1e2dc042a0356e9702fba05a968cad95d9f661b24e37f6c6d8c3adad2c8582c99fca4826ff26a2d07cd2ae617ea87e6187eb@@ -30033,6 +30283,13 @@ __metadata:languageName: nodelinkType: hard+"universal-user-agent@npm:^6.0.0":+ version: 6.0.0+ resolution: "universal-user-agent@npm:6.0.0"+ checksum: 5092bbc80dd0d583cef0b62c17df0043193b74f425112ea6c1f69bc5eda21eeec7a08d8c4f793a277eb2202ffe9b44bec852fa3faff971234cd209874d1b79ef+ languageName: node+ linkType: hard+"universalify@npm:^0.1.0":version: 0.1.2resolution: "universalify@npm:0.1.2"@@ -31038,7 +31295,7 @@ __metadata:languageName: nodelinkType: hard-"wrap-ansi@npm:^6.2.0":+"wrap-ansi@npm:^6.0.1, wrap-ansi@npm:^6.2.0":version: 6.2.0resolution: "wrap-ansi@npm:6.2.0"dependencies: