-
Notifications
You must be signed in to change notification settings - Fork 102
Update serde, so TiKV can update time crate #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
77af1e8
67bdcf6
b69c65e
4bb8e7f
e12bab2
7eb02a0
33825e8
7fe5013
7158644
981f813
5548575
bffcb1a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| name = "raft-engine" | ||
| version = "0.4.2" | ||
| authors = ["The TiKV Project Developers"] | ||
| edition = "2018" | ||
| edition = "2024" | ||
| rust-version = "1.85.0" | ||
|
Comment on lines
+5
to
6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # First, let's look at the repository structure
git ls-files | head -20Repository: tikv/raft-engine Length of output: 360 🏁 Script executed: # Check for 'gen' usage as identifier
rg -n --type rust '\bgen\b' -g '!target/' -g '!Cargo.toml' | head -50Repository: tikv/raft-engine Length of output: 250 🏁 Script executed: # Check unsafe fn patterns that might be affected by 2024 edition changes
ast-grep --pattern 'unsafe fn $NAME($$$) { $$$ }'Repository: tikv/raft-engine Length of output: 1751 🏁 Script executed: # Let's also check the full Cargo.toml context
cat Cargo.tomlRepository: tikv/raft-engine Length of output: 2619 Edition jump from 2018 → 2024 is significant — confirm this aligns with project requirements and downstream consumers. The 2024 edition introduces breaking changes across two skipped editions (2021 and 2024), including the A code scan shows no 🤖 Prompt for AI Agents |
||
| description = "A persistent storage engine for Multi-Raft logs" | ||
| readme = "README.md" | ||
|
|
@@ -58,7 +58,7 @@ protobuf = "2" | |
| rayon = "1.5" | ||
| rhai = { version = "1.7", features = ["sync"], optional = true } | ||
| scopeguard = "1.1" | ||
| serde = { version = "=1.0.194", features = ["derive"] } | ||
| serde = { version = "1.0", features = ["derive"] } | ||
| serde_repr = "0.1" | ||
| strum = { version = "0.26.2", features = ["derive"] } | ||
| thiserror = "1.0" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we pin grpc-io in Cargo.toml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grpc-io is not a direct dependency. raft-engine depend on kvproto which then depend on grpc-io, I don't think we want to pin it in this repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will pin grpc-io there