Commit 0e86337
refactor: reorganize crates into common/client/server categories
Group the 11 flat crates under `crates/` into three category
subdirectories that reflect the dependency architecture: `common/`
(types, runtime-api, version, test-harness), `client/` (kvapi,
kvapi-test-suite, kvapi-tests, client), and `server/` (sled-store,
raft-store, service).
The client crate now re-exports `kvapi` and `kvapi_test_suite`, and
the service crate re-exports `raft_store` and `sled_store`, so
downstream consumers only need one dependency per category.
Changes:
- Add `pub extern crate ... as ...` re-exports in client and service
- Add `databend-meta-kvapi-test-suite` as a dependency of the client crate1 parent db5b622 commit 0e86337
File tree
319 files changed
+32
-25
lines changed- crates
- client
- client
- src
- errors
- tests/it
- kvapi-test-suite
- src
- kvapi-tests
- src
- tests/it
- kvapi
- src
- kvapi
- common
- runtime-api
- src
- test-harness
- src
- types
- proto
- src
- cmd
- errors
- proto_display
- proto_ext
- raft_types_ext
- txn_condition_ext
- txn_op_ext
- txn_op_response_ext
- watch_ext
- tests/it
- version
- src
- server
- raft-store
- src
- applier
- applier_data
- immutable_compactor
- leveled_store
- immutable_data
- immutable_levels
- immutable
- leveled_map
- level
- testing_data
- ondisk
- raft_log_v004
- sm_v003
- state_machine
- state
- tests/it
- service
- src
- analysis
- api
- grpc
- configs
- meta_node
- meta_service
- metrics
- store
- meta_raft_log
- meta_raft_state_machine
- tests/it
- api
- http
- grpc
- meta_node
- tests
- sled-store
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
319 files changed
+32
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments