-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: prepare segcache storage crate for release (#91)
Prepare the segcache storage crate for release. Changes to make the metrics an optional, but default feature to help reduce the dependency tree for embedded cases. Remove the dependency on the `storage-types` by adding the typed `Value`s into this crate itself. Supporting changes for rename and versioning.
- Loading branch information
Showing
43 changed files
with
459 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "segcache" | ||
name = "pelikan-segcache" | ||
description = "a Memcache protocol server with segment-structured storage" | ||
authors = ["Brian Martin <[email protected]>"] | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[package] | ||
name = "seg" | ||
description = "segment-structured in-memory storage with eager expiration" | ||
name = "segcache" | ||
version = "0.1.0" | ||
description = "Pelikan segment-structured cache" | ||
authors = ["Brian Martin <[email protected]>"] | ||
|
||
version = { workspace = true } | ||
edition = { workspace = true } | ||
homepage = { workspace = true } | ||
repository = { workspace = true } | ||
|
@@ -19,22 +19,24 @@ harness = false | |
# enables setting/checking magic strings | ||
magic = [] | ||
|
||
# enables metrics | ||
metrics = ["metriken"] | ||
|
||
# metafeatures | ||
debug = ["magic"] | ||
|
||
# default set of enabled features | ||
default = [] | ||
default = ["metrics"] | ||
|
||
[dependencies] | ||
ahash = { workspace = true } | ||
clocksource = { workspace = true } | ||
datatier = { path = "../datatier" } | ||
metriken = { workspace = true } | ||
datatier = { workspace = true } | ||
log = { workspace = true } | ||
metriken = { workspace = true, optional = true } | ||
rand = { workspace = true , features = ["small_rng", "getrandom"] } | ||
rand_chacha = { workspace = true } | ||
rand_xoshiro = { workspace = true } | ||
ringlog = { workspace = true } | ||
storage-types = { path = "../types" } | ||
thiserror = { workspace = true } | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.