aboutsummaryrefslogtreecommitdiff
path: root/crates/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add incremental transfer functionality and update core components魏曹先生2025-09-293-1211/+1
| | | | | | | | - Implement instance_incremental_transfer module for efficient file synchronization - Add support for chunk-based file transfer with hash comparison - Update TCP connection utilities to support incremental transfer protocol - Enhance error handling and version management for file synchronization - Update dependencies and integrate new functionality into main library
* Add incremental transfer functionality and update TCP connection utilities魏曹先生2025-09-295-0/+1499
| | | | | | | | - Add instance_incremental_transfer module for handling incremental data transfers - Add test_incremental_transfer module for testing incremental transfer functionality - Update TCP connection library to support new incremental transfer features - Update Cargo.toml dependencies for TCP connection utilities - Update main library to integrate new TCP connection functionality
* Refactor TCP connection authentication into separate module魏曹先生2025-09-283-284/+300
| | | | | | - Extract challenge-response authentication code from instance.rs to new instance_challenge.rs - Add instance_challenge module declaration to lib.rs - Maintain all cryptographic functionality while improving code organization
* refactor: downgrade tcp_connection functionality to test utilities魏曹先生2025-09-2612-33/+42
| | | | | | | | - Remove handle, target, target_configure, target_connection modules from main library - Create test_utils module in test project to contain temporary connection functionality - Update import paths in test files - Keep instance and error modules as core functionality - Adjust vcs_test configurations to adapt to new test structure
* feat(tcp_connection): add MessagePack serialization support魏曹先生2025-09-267-24/+262
| | | | | | | | | | | | - Add rmp-serde dependency for MessagePack serialization - Implement write_msgpack and read_msgpack methods for basic MessagePack support - Add write_large_msgpack and read_large_msgpack methods for chunked transmission - Add error conversions for rmp-serde errors - Add comprehensive tests for MessagePack functionality - Fix code formatting and improve readability - Make stream field pub(crate) for better access control All tests pass successfully, ensuring backward compatibility.
* refactor: Update sheet input handling and fix tests魏曹先生2025-09-264-27/+45
| | | | | | | | - Modify Sheet::add_input to accept InputPackage instead of separate parameters - Use output_mappings method to generate InputPackage in tests - Update test assertions to match new path transformation logic - Fix mapping count assertions after adding multiple mappings - Clean up string_proc module structure
* Fix clippy warnings in test files魏曹先生2025-09-254-125/+113
| | | | | | | - Convert manual async functions to async fn syntax - Replace assert_eq!(true/false, ...) with assert!(...) and assert!(!...) - Fix useless vec warning by using array directly - All tests continue to pass after optimizations
* Fix clippy warnings and optimize code魏曹先生2025-09-252-2/+3
| | | | | | | - Rename from_str to from_address_str in tcp_connection to avoid trait conflict - Use ? operator instead of let...else patterns in local and vault initialization - Replace manual string slicing with strip_prefix in virtual_file.rs - All tests continue to pass after optimizations
* Fixed by Clippy魏曹先生2025-09-254-21/+16
|
* Remove redundant Sync bound from process future魏曹先生2025-09-224-20/+8
|
* Fixed some tests魏曹先生2025-09-223-4/+77
|
* Add test `test_file_transfer`魏曹先生2025-09-221-0/+101
|
* Add new resources for test魏曹先生2025-09-224-0/+116
|
* Remove `test_key`魏曹先生2025-09-222-64/+0
|
* Update lib.rs of `tcp_connection`魏曹先生2025-09-221-5/+0
|
* Fixed function `write` and `read`魏曹先生2025-09-221-18/+52
|
* Fixed Challenge魏曹先生2025-09-213-19/+38
|
* Fixed test_key魏曹先生2025-09-212-1/+13
|
* Add test pem key魏曹先生2025-09-212-0/+52
|
* Complete Challenge魏曹先生2025-09-212-208/+296
|
* Update TcpTargetError魏曹先生2025-09-211-13/+78
|
* Add some dependencies 1. thiserror 2. Upgrade base64 3. pem 4. crc魏曹先生2025-09-211-1/+7
|
* Update Cargo.toml魏曹先生2025-09-211-0/+9
|
* Add Result for ConfigFile魏曹先生2025-09-212-112/+57
|
* Add challenge function for `tcp_connection`魏曹先生2025-09-211-6/+243
|
* Add challenge test for `tcp_connection`魏曹先生2025-09-212-0/+87
|
* Add string_proc util crates魏曹先生2025-09-204-0/+248
|
* Make ServerTargetConfig and ClientTargetConfig Serializeable魏曹先生2025-09-201-2/+4
|
* Make TcpServerTarget Serializable and Generalizable魏曹先生2025-09-201-1/+2
|
* Removed unused imports魏曹先生2025-09-201-1/+1
|
* Add exist function to ConfigFile trait魏曹先生2025-09-201-0/+11
|
* Update cfg_file_derive魏曹先生2025-09-201-13/+31
|
* Update Cargo.toml 1. Rename feature `default` to `all` 2. Add feature魏曹先生2025-09-204-18/+0
| | | | | `tcp_connection`, `string_proc`, `env` 3. Add crates `string_proc`, `env` to workspace 4. Removed crate `member_verify`
* Finished test of `tcp_connection` 1. Merge example_handle.rs into魏曹先生2025-09-174-39/+91
| | | | test_connection.rs
* Update examples魏曹先生2025-09-172-8/+17
|
* Update TcpServerTarget魏曹先生2025-09-172-45/+38
|
* Add message transfer functions魏曹先生2025-09-171-1/+324
|
* Add `serde` dependencies for `tcp_connection` crate魏曹先生2025-09-171-1/+5
|
* Fixed codes by Zed魏曹先生2025-09-145-9/+111
|
* Add TcpServerConfigs魏曹先生2025-09-142-0/+114
|
* Add instance.rs魏曹先生2025-09-141-0/+11
|
* Add error.rs魏曹先生2025-09-141-0/+24
|
* Fixed codes by Zed魏曹先生2025-09-1412-82/+88
|
* Fixed by Clippy魏曹先生2025-09-143-14/+11
|
* Update `tcp_connection_test` Cargo.toml魏曹先生2025-09-141-0/+8
|
* Update module `tcp_connection_test`魏曹先生2025-09-143-0/+52
|
* Update module `tcp_connection`魏曹先生2025-09-143-13/+67
| | | | | 1. Add handle.rs 2. Completed target.rs
* Update verifier.rs魏曹先生2025-09-141-10/+0
| | | | 1. Removed test config
* Update `tcp_connection` modules魏曹先生2025-09-131-0/+101
|
* Update `member_verify` modules魏曹先生2025-09-132-0/+19
|