diff --git a/Cargo.toml b/Cargo.toml index 3a3b7fd..067cdce 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol-trade-sdk" -version = "3.5.6" +version = "3.5.7" edition = "2021" authors = [ "William ", diff --git a/README.md b/README.md index abca379..6fa1c8b 100644 --- a/README.md +++ b/README.md @@ -89,14 +89,14 @@ Add the dependency to your `Cargo.toml`: ```toml # Add to your Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.5.6" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.5.7" } ``` ### Use crates.io ```toml # Add to your Cargo.toml -sol-trade-sdk = "3.5.6" +sol-trade-sdk = "3.5.7" ``` ## 🛠️ Usage Examples @@ -333,6 +333,10 @@ MIT License - Telegram Group: https://t.me/fnzero_group - Discord: https://discord.gg/vuazbGkqQE +## ⏱️ Timing metrics (v3.5.0+) + +When `log_enabled` and SDK log are on, the executor prints `[SDK] Buy/Sell timing(...)`. **Semantics changed in v3.5.0**: `submit` is now only the send to SWQOS/RPC; `confirm` is separate; `start_to_submit` (when `grpc_recv_us` is set) is **end-to-end from gRPC event to submit**, so it is larger than in-process timings. See [docs/TIMING_METRICS.md](docs/TIMING_METRICS.md) for definitions and how to compare with older versions. + ## ⚠️ Important Notes 1. Test thoroughly before using on mainnet diff --git a/README_CN.md b/README_CN.md index 9c42400..367973e 100755 --- a/README_CN.md +++ b/README_CN.md @@ -89,14 +89,14 @@ git clone https://github.com/0xfnzero/sol-trade-sdk ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.5.6" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.5.7" } ``` ### 使用 crates.io ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = "3.5.6" +sol-trade-sdk = "3.5.7" ``` ## 🛠️ 使用示例