Skip to content

refactor(workspace): Moves the main package into src/function-stream and centralizes the workspace metadata. - #227

Open
luoluoyuyu wants to merge 8 commits into
FunctionStream:mainfrom
luoluoyuyu:update-lib
Open

refactor(workspace): Moves the main package into src/function-stream and centralizes the workspace metadata.#227
luoluoyuyu wants to merge 8 commits into
FunctionStream:mainfrom
luoluoyuyu:update-lib

Conversation

@luoluoyuyu

Copy link
Copy Markdown
Collaborator

No description provided.

luoluoyuyu and others added 6 commits May 12, 2026 00:31
- 根 Cargo.toml 改为纯 workspace,主程序与库移至 src/function-stream
- 新增 [workspace.package] 统一 version / edition,成员 crate 使用 *.workspace = true
- Makefile:VERSION 从根 Cargo.toml 读取,构建显式 -p function-stream,lite 使用 OPTIMIZE_FLAGS
- wasm_host bindgen WIT 路径改为 ../../wit,以适配子目录中的 package manifest
- 移除根 src 下旧入口与 runtime/storage 模块,streaming/wasm 等 crate 路径与导入同步调整
- examples-validator 与全仓 edition 对齐为 2024

Co-authored-by: Cursor <cursoragent@cursor.com>
- Move coordinator sources from legacy/ to src/coordinator/src; embed via coordinator_body.rs; update function-stream #[path].

- Move servicer sources from legacy/; embed via servicer_body.rs; update function-stream #[path].

- Remove unused config legacy shim (src/config/src/legacy/mod.rs).

- Drop empty function-stream-job-manager workspace member; refresh Cargo.lock.

- CLI: collapse nested ifs in repl.rs for clippy::collapsible_if.

- streaming_planner: add crate-level #![allow(dead_code)] for reserved APIs under -D warnings.

- .gitignore: **/__pycache__/ and *.py[cod] so bytecode is never committed.
luoluoyuyu and others added 2 commits May 13, 2026 22:13
Run rustfmt on CLI, coordinator, catalog_storage, streaming_planner, streaming_runtime, and wasm_runtime so cargo fmt --check passes for the main binary and CLI packages.
Relocate ast_utils and ddl_compiler from the coordinator plan module
into streaming_planner (common and schema/introspection). Add
try_compile_connector_create_table so coordinator logical plan
visitors compile connector CREATE TABLE statements via the planner
crate without duplicating AST routing logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant