flatten: move poc-memory contents to workspace root
No more subcrate nesting — src/, agents/, schema/, defaults/, build.rs all live at the workspace root. poc-daemon remains as the only workspace member. Crate name (poc-memory) and all imports unchanged. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
891cca57f8
commit
998b71e52c
113 changed files with 79 additions and 78 deletions
80
Cargo.toml
80
Cargo.toml
|
|
@ -1,5 +1,5 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["poc-memory", "poc-daemon"]
|
members = ["poc-daemon"]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
|
|
@ -12,3 +12,81 @@ debug = 1
|
||||||
|
|
||||||
[profile.release.package."*"]
|
[profile.release.package."*"]
|
||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "poc-memory"
|
||||||
|
version.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
capnp = "0.20"
|
||||||
|
uuid = { version = "1", features = ["v4"] }
|
||||||
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
serde_json = "1"
|
||||||
|
json5 = "0.4"
|
||||||
|
bincode = "1"
|
||||||
|
regex = "1"
|
||||||
|
chrono = "0.4"
|
||||||
|
clap = { version = "4", features = ["derive"] }
|
||||||
|
libc = "0.2"
|
||||||
|
faer = "0.24.0"
|
||||||
|
rkyv = { version = "0.7", features = ["validation", "std"] }
|
||||||
|
memchr = "2"
|
||||||
|
memmap2 = "0.9"
|
||||||
|
rayon = "1"
|
||||||
|
peg = "0.8"
|
||||||
|
paste = "1"
|
||||||
|
jobkit = { path = "/home/kent/jobkit", features = ["daemon", "console"] }
|
||||||
|
tokio = { version = "1", features = ["full"] }
|
||||||
|
reqwest = { version = "0.12", features = ["json"] }
|
||||||
|
walkdir = "2"
|
||||||
|
glob = "0.3"
|
||||||
|
anyhow = "1"
|
||||||
|
base64 = "0.22"
|
||||||
|
dirs = "6"
|
||||||
|
futures = "0.3"
|
||||||
|
tiktoken-rs = "0.9.1"
|
||||||
|
figment = { version = "0.10", features = ["env"] }
|
||||||
|
tui-markdown = "0.3"
|
||||||
|
unicode-width = "0.2.2"
|
||||||
|
tui-textarea = { version = "0.10.2", package = "tui-textarea-2" }
|
||||||
|
redb = "2"
|
||||||
|
log = "0.4"
|
||||||
|
ratatui = { version = "0.30", features = ["unstable-rendered-line-info"] }
|
||||||
|
skillratings = "0.28"
|
||||||
|
crossterm = { version = "0.29", features = ["event-stream"] }
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
capnpc = "0.20"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "poc_memory"
|
||||||
|
path = "src/lib.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "poc-memory"
|
||||||
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "memory-search"
|
||||||
|
path = "src/bin/memory-search.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "poc-hook"
|
||||||
|
path = "src/bin/poc-hook.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "merge-logs"
|
||||||
|
path = "src/bin/merge-logs.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "diag-key"
|
||||||
|
path = "src/bin/diag-key.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "find-deleted"
|
||||||
|
path = "src/bin/find-deleted.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "poc-agent"
|
||||||
|
path = "src/bin/poc-agent.rs"
|
||||||
|
|
|
||||||
|
|
@ -1,77 +0,0 @@
|
||||||
[package]
|
|
||||||
name = "poc-memory"
|
|
||||||
version.workspace = true
|
|
||||||
edition.workspace = true
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
capnp = "0.20"
|
|
||||||
uuid = { version = "1", features = ["v4"] }
|
|
||||||
serde = { version = "1", features = ["derive"] }
|
|
||||||
serde_json = "1"
|
|
||||||
json5 = "0.4"
|
|
||||||
bincode = "1"
|
|
||||||
regex = "1"
|
|
||||||
chrono = "0.4"
|
|
||||||
clap = { version = "4", features = ["derive"] }
|
|
||||||
libc = "0.2"
|
|
||||||
faer = "0.24.0"
|
|
||||||
rkyv = { version = "0.7", features = ["validation", "std"] }
|
|
||||||
memchr = "2"
|
|
||||||
memmap2 = "0.9"
|
|
||||||
rayon = "1"
|
|
||||||
peg = "0.8"
|
|
||||||
paste = "1"
|
|
||||||
jobkit = { path = "/home/kent/jobkit", features = ["daemon", "console"] }
|
|
||||||
tokio = { version = "1", features = ["full"] }
|
|
||||||
reqwest = { version = "0.12", features = ["json"] }
|
|
||||||
walkdir = "2"
|
|
||||||
glob = "0.3"
|
|
||||||
anyhow = "1"
|
|
||||||
base64 = "0.22"
|
|
||||||
dirs = "6"
|
|
||||||
futures = "0.3"
|
|
||||||
tiktoken-rs = "0.9.1"
|
|
||||||
figment = { version = "0.10", features = ["env"] }
|
|
||||||
tui-markdown = "0.3"
|
|
||||||
unicode-width = "0.2.2"
|
|
||||||
tui-textarea = { version = "0.10.2", package = "tui-textarea-2" }
|
|
||||||
redb = "2"
|
|
||||||
log = "0.4"
|
|
||||||
ratatui = { version = "0.30", features = ["unstable-rendered-line-info"] }
|
|
||||||
skillratings = "0.28"
|
|
||||||
crossterm = { version = "0.29", features = ["event-stream"] }
|
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
capnpc = "0.20"
|
|
||||||
|
|
||||||
[lib]
|
|
||||||
name = "poc_memory"
|
|
||||||
path = "src/lib.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "poc-memory"
|
|
||||||
path = "src/main.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "memory-search"
|
|
||||||
path = "src/bin/memory-search.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "poc-hook"
|
|
||||||
path = "src/bin/poc-hook.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "merge-logs"
|
|
||||||
path = "src/bin/merge-logs.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "diag-key"
|
|
||||||
path = "src/bin/diag-key.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "find-deleted"
|
|
||||||
path = "src/bin/find-deleted.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "poc-agent"
|
|
||||||
path = "src/bin/poc-agent.rs"
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue