dont reference db items
This commit is contained in:
Generated
+3
-11
@@ -1111,7 +1111,6 @@ dependencies = [
|
|||||||
"prometheus",
|
"prometheus",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
"rope",
|
|
||||||
"rpc",
|
"rpc",
|
||||||
"scrypt",
|
"scrypt",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -1647,7 +1646,6 @@ dependencies = [
|
|||||||
"language",
|
"language",
|
||||||
"postage",
|
"postage",
|
||||||
"project",
|
"project",
|
||||||
"rope",
|
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"settings",
|
"settings",
|
||||||
"smallvec",
|
"smallvec",
|
||||||
@@ -1804,7 +1802,6 @@ dependencies = [
|
|||||||
"postage",
|
"postage",
|
||||||
"project",
|
"project",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"rope",
|
|
||||||
"rpc",
|
"rpc",
|
||||||
"serde",
|
"serde",
|
||||||
"settings",
|
"settings",
|
||||||
@@ -2373,7 +2370,6 @@ dependencies = [
|
|||||||
"lazy_static",
|
"lazy_static",
|
||||||
"log",
|
"log",
|
||||||
"parking_lot 0.11.2",
|
"parking_lot 0.11.2",
|
||||||
"rope",
|
|
||||||
"smol",
|
"smol",
|
||||||
"sum_tree",
|
"sum_tree",
|
||||||
"text",
|
"text",
|
||||||
@@ -2421,7 +2417,6 @@ dependencies = [
|
|||||||
"gpui",
|
"gpui",
|
||||||
"menu",
|
"menu",
|
||||||
"postage",
|
"postage",
|
||||||
"rope",
|
|
||||||
"settings",
|
"settings",
|
||||||
"text",
|
"text",
|
||||||
"workspace",
|
"workspace",
|
||||||
@@ -2959,6 +2954,8 @@ dependencies = [
|
|||||||
"editor",
|
"editor",
|
||||||
"gpui",
|
"gpui",
|
||||||
"log",
|
"log",
|
||||||
|
"settings",
|
||||||
|
"shellexpand",
|
||||||
"util",
|
"util",
|
||||||
"workspace",
|
"workspace",
|
||||||
]
|
]
|
||||||
@@ -3045,7 +3042,6 @@ dependencies = [
|
|||||||
"postage",
|
"postage",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"regex",
|
"regex",
|
||||||
"rope",
|
|
||||||
"rpc",
|
"rpc",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -4272,7 +4268,6 @@ dependencies = [
|
|||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"regex",
|
"regex",
|
||||||
"rocksdb",
|
"rocksdb",
|
||||||
"rope",
|
|
||||||
"rpc",
|
"rpc",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -5328,7 +5323,6 @@ dependencies = [
|
|||||||
"gpui",
|
"gpui",
|
||||||
"json_comments",
|
"json_comments",
|
||||||
"postage",
|
"postage",
|
||||||
"rope",
|
|
||||||
"schemars",
|
"schemars",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -6833,7 +6827,6 @@ dependencies = [
|
|||||||
"nvim-rs",
|
"nvim-rs",
|
||||||
"parking_lot 0.11.2",
|
"parking_lot 0.11.2",
|
||||||
"project",
|
"project",
|
||||||
"rope",
|
|
||||||
"search",
|
"search",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -7524,7 +7517,6 @@ dependencies = [
|
|||||||
"client",
|
"client",
|
||||||
"collections",
|
"collections",
|
||||||
"context_menu",
|
"context_menu",
|
||||||
"db",
|
|
||||||
"drag_and_drop",
|
"drag_and_drop",
|
||||||
"fs",
|
"fs",
|
||||||
"futures 0.3.24",
|
"futures 0.3.24",
|
||||||
@@ -7582,7 +7574,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "zed"
|
name = "zed"
|
||||||
version = "0.60.0"
|
version = "0.60.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"activity_indicator",
|
"activity_indicator",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ use rusqlite::Connection;
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
pub use items::*;
|
|
||||||
pub use kvp::*;
|
pub use kvp::*;
|
||||||
|
|
||||||
pub struct Db {
|
pub struct Db {
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Install sqlx-cli if needed
|
|
||||||
[[ "$(sqlx --version)" == "sqlx-cli 0.5.7" ]] || cargo install sqlx-cli --version 0.5.7
|
|
||||||
|
|
||||||
cd crates/db
|
|
||||||
|
|
||||||
mkdir -p /tmp/zed-client-db
|
|
||||||
DATABASE_URL=sqlite:///tmp/zed-client-db/test.db
|
|
||||||
|
|
||||||
cargo sqlx -D $DATABASE_URL database drop
|
|
||||||
cargo sqlx -D $DATABASE_URL database setup
|
|
||||||
cargo sqlx -D $DATABASE_URL prepare
|
|
||||||
Reference in New Issue
Block a user