Skip to content

Commit

Permalink
Change: remove openraft-0.7 compatibility support
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Mar 4, 2024
1 parent c452744 commit a1c7f6e
Show file tree
Hide file tree
Showing 22 changed files with 3 additions and 1,806 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ jobs:
include:
- store: "memstore"
- store: "rocksstore"
- store: "rocksstore-compat07"
- store: "sledstore"

steps:
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ members = [
"macros",
"tests",
"rocksstore",
"rocksstore-compat07",
"sledstore",
]
exclude = [
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ unused_dep:

typos:
# cargo install typos-cli
typos --write-changes openraft/ tests/ memstore/ rocksstore rocksstore-compat07/ examples/raft-kv-memstore/ examples/raft-kv-rocksdb/
typos --write-changes openraft/ tests/ memstore/ rocksstore examples/raft-kv-memstore/ examples/raft-kv-rocksdb/
# typos

clean:
Expand Down
4 changes: 0 additions & 4 deletions openraft/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ single-term-leader = []
# Provide basic compatible types
compat = []

# Turn on to let openraft provide additional data types to build v0.7 compatible RaftStorage.
compat-07 = ["compat", "serde", "dep:or07", "compat-07-testing"]
compat-07-testing = ["dep:tempfile", "anyhow", "dep:serde_json"]

# Allows an application to implement a custom the v2 storage API.
# See `openraft::storage::v2` for more details.
# V2 API are unstable and may change in the future.
Expand Down
Loading

0 comments on commit a1c7f6e

Please sign in to comment.