diff --git a/Cargo.lock b/Cargo.lock index 8544cc23..017a62d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5765,6 +5765,14 @@ dependencies = [ "zeroize", ] +[[package]] +name = "pluto-featureset" +version = "1.7.1" +dependencies = [ + "thiserror 2.0.18", + "tracing", +] + [[package]] name = "pluto-frost" version = "1.7.1" diff --git a/Cargo.toml b/Cargo.toml index eb6ab36c..ac569187 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ members = [ "crates/eth2api", "crates/eth2util", "crates/eth1wrap", + "crates/featureset", "crates/k1util", "crates/relay-server", "crates/p2p", @@ -120,6 +121,7 @@ pluto-dkg = { path = "crates/dkg" } pluto-eth2api = { path = "crates/eth2api" } pluto-eth2util = { path = "crates/eth2util" } pluto-eth1wrap = { path = "crates/eth1wrap" } +pluto-featureset = { path = "crates/featureset" } pluto-k1util = { path = "crates/k1util" } pluto-relay-server = { path = "crates/relay-server" } pluto-ssz = { path = "crates/ssz" } diff --git a/crates/app/src/lib.rs b/crates/app/src/lib.rs index d6cf9287..87d7061e 100644 --- a/crates/app/src/lib.rs +++ b/crates/app/src/lib.rs @@ -13,9 +13,6 @@ pub mod log; /// until the deadline has elapsed. pub mod retry; -/// Featureset defines a set of global features and their rollout status. -pub mod featureset; - /// Obol API client for interacting with the Obol network API. pub mod obolapi; diff --git a/crates/featureset/Cargo.toml b/crates/featureset/Cargo.toml new file mode 100644 index 00000000..b678ddda --- /dev/null +++ b/crates/featureset/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "pluto-featureset" +version.workspace = true +edition.workspace = true +repository.workspace = true +license.workspace = true +publish.workspace = true + +[dependencies] +thiserror.workspace = true +tracing.workspace = true + +[lints] +workspace = true diff --git a/crates/app/src/featureset.rs b/crates/featureset/src/lib.rs similarity index 100% rename from crates/app/src/featureset.rs rename to crates/featureset/src/lib.rs