Skip to content

Commit f2b3c6f

Browse files
committed
update code
1 parent 47d2121 commit f2b3c6f

45 files changed

Lines changed: 46 additions & 4488 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ PACKAGE_DIR := packages
2121
PYTHON_WASM_PATH := python/functionstream-runtime/target/functionstream-python-runtime.wasm
2222
PYTHON_WASM_NAME := functionstream-python-runtime.wasm
2323

24-
.PHONY: help clean clean-dist build build-full build-lite package package-full package-lite package-all test install docker-build docker-up
24+
.PHONY: help clean clean-dist build build-full build-lite package package-full package-lite package-all test install docker-build docker-up fmt fmt-check
2525

2626
help:
2727
@echo "Function Stream Build System"
2828
@echo ""
2929
@echo "Available targets:"
30+
@echo " fmt - Format code with cargo fmt"
31+
@echo " fmt-check - Check code format without modifying"
3032
@echo " build - Build full version (debug)"
3133
@echo " build-full - Build full release version"
3234
@echo " build-lite - Build lite release version (no Python)"
@@ -43,6 +45,14 @@ help:
4345
@echo "Architecture: $(ARCH)"
4446
@echo "OS: $(OS)"
4547

48+
fmt:
49+
@echo "Formatting code..."
50+
cargo fmt --all
51+
52+
fmt-check:
53+
@echo "Checking code format..."
54+
cargo fmt --all -- --check
55+
4656
clean:
4757
@echo "Cleaning build artifacts..."
4858
cargo clean

src/codec/mod.rs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/codec/primitive.rs

Lines changed: 0 additions & 334 deletions
This file was deleted.

0 commit comments

Comments
 (0)