diff --git a/Cargo.toml b/Cargo.toml index 02df3704..773f9fcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,6 @@ op-alloy-genesis = { version = "0.9.2", path = "crates/genesis", default-feature op-alloy-protocol = { version = "0.9.2", path = "crates/protocol", default-features = false } op-alloy-consensus = { version = "0.9.2", path = "crates/consensus", default-features = false } op-alloy-network = { version = "0.9.2", path = "crates/network", default-features = false } -op-alloy-registry = { version = "0.9.2", path = "crates/registry", default-features = false } op-alloy-rpc-types = { version = "0.9.2", path = "crates/rpc-types", default-features = false } op-alloy-rpc-jsonrpsee = { version = "0.9.2", path = "crates/rpc-jsonrpsee", default-features = false } op-alloy-rpc-types-engine = { version = "0.9.2", path = "crates/rpc-types-engine", default-features = false } diff --git a/README.md b/README.md index e0a237c6..009514cf 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ The following crates are provided by `op-alloy`. - [`op-alloy-genesis`][op-alloy-genesis] - [`op-alloy-network`][op-alloy-network] - [`op-alloy-protocol`][op-alloy-protocol] -- [`op-alloy-registry`][op-alloy-registry] - [`op-alloy-rpc-jsonrpsee`][op-alloy-rpc-jsonrpsee] - [`op-alloy-rpc-types-engine`][op-alloy-rpc-types-engine] - [`op-alloy-rpc-types`][op-alloy-rpc-types] @@ -57,7 +56,6 @@ Notice, provider crates do not support `no_std` compatibility. - [`op-alloy-genesis`][op-alloy-genesis] - [`op-alloy-protocol`][op-alloy-protocol] -- [`op-alloy-registry`][op-alloy-registry] (note: requires `serde`) - [`op-alloy-consensus`][op-alloy-consensus] - [`op-alloy-rpc-types`][op-alloy-rpc-types] - [`op-alloy-rpc-types-engine`][op-alloy-rpc-types-engine] @@ -95,7 +93,6 @@ shall be dual licensed as above, without any additional terms or conditions. [op-alloy-genesis]: https://crates.io/crates/op-alloy-genesis [op-alloy-network]: https://crates.io/crates/op-alloy-network [op-alloy-protocol]: https://crates.io/crates/op-alloy-protocol -[op-alloy-registry]: https://crates.io/crates/op-alloy-registry [op-alloy-rpc-jsonrpsee]: https://crates.io/crates/op-alloy-rpc-jsonrpsee [op-alloy-rpc-types-engine]: https://crates.io/crates/op-alloy-rpc-types-engine [op-alloy-rpc-types]: https://crates.io/crates/op-alloy-rpc-types diff --git a/crates/op-alloy/Cargo.toml b/crates/op-alloy/Cargo.toml index 142bef73..91424f84 100644 --- a/crates/op-alloy/Cargo.toml +++ b/crates/op-alloy/Cargo.toml @@ -23,7 +23,6 @@ op-alloy-consensus = { workspace = true, optional = true } op-alloy-genesis = { workspace = true, optional = true } op-alloy-network = { workspace = true, optional = true } op-alloy-protocol = { workspace = true, optional = true } -op-alloy-registry = { workspace = true, optional = true } op-alloy-rpc-jsonrpsee = { workspace = true, optional = true } op-alloy-rpc-types-engine = { workspace = true, optional = true } op-alloy-rpc-types = { workspace = true, optional = true } @@ -35,7 +34,6 @@ std = [ "op-alloy-consensus?/std", "op-alloy-genesis?/std", "op-alloy-protocol?/std", - "op-alloy-registry?/std", "op-alloy-rpc-types?/std", "op-alloy-rpc-types-engine?/std", ] @@ -43,7 +41,6 @@ std = [ full = [ "consensus", "genesis", - "registry", "network", "protocol", "rpc-types", @@ -73,7 +70,6 @@ serde = [ # `no_std` support consensus = ["dep:op-alloy-consensus"] genesis = ["dep:op-alloy-genesis"] -registry = ["dep:op-alloy-registry"] protocol = ["dep:op-alloy-protocol"] rpc-types = ["dep:op-alloy-rpc-types"] rpc-types-engine = ["dep:op-alloy-rpc-types-engine"] diff --git a/crates/op-alloy/src/lib.rs b/crates/op-alloy/src/lib.rs index c8b83dac..c76166c5 100644 --- a/crates/op-alloy/src/lib.rs +++ b/crates/op-alloy/src/lib.rs @@ -23,10 +23,6 @@ pub use op_alloy_network as network; #[doc(inline)] pub use op_alloy_protocol as protocol; -#[cfg(feature = "registry")] -#[doc(inline)] -pub use op_alloy_registry as registry; - #[cfg(feature = "rpc-types")] #[doc(inline)] pub use op_alloy_rpc_types as rpc_types; diff --git a/crates/registry/Cargo.toml b/crates/registry/Cargo.toml deleted file mode 100644 index c032603a..00000000 --- a/crates/registry/Cargo.toml +++ /dev/null @@ -1,24 +0,0 @@ -[package] -name = "op-alloy-registry" -description = "Re-export of op-rs/maili-registry" - -version.workspace = true -edition.workspace = true -rust-version.workspace = true -authors.workspace = true -license.workspace = true -homepage.workspace = true -repository.workspace = true -exclude.workspace = true - -[lints] -workspace = true - -[dependencies] -maili-registry = { workspace = true, default-features = false } - -[features] -default = ["std", "map-foldhash"] -map-hashbrown = ["maili-registry/map-hashbrown"] -map-foldhash = ["maili-registry/map-foldhash"] -std = ["maili-registry/std"] diff --git a/crates/registry/README.md b/crates/registry/README.md deleted file mode 100644 index 9d65e1f6..00000000 --- a/crates/registry/README.md +++ /dev/null @@ -1,12 +0,0 @@ -## `op-alloy-registry` - -CI -op-alloy-registry -MIT License -Apache License -Book - - -See [maili-registry] - -[maili-registry]: https://github.com/op-rs/maili/blob/main/crates/registry/README.md \ No newline at end of file diff --git a/crates/registry/src/lib.rs b/crates/registry/src/lib.rs deleted file mode 100644 index a6df8fcd..00000000 --- a/crates/registry/src/lib.rs +++ /dev/null @@ -1,10 +0,0 @@ -#![doc = include_str!("../README.md")] -#![doc( - html_logo_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/alloy.jpg", - html_favicon_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/favicon.ico" -)] -#![cfg_attr(not(test), warn(unused_crate_dependencies))] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] -#![cfg_attr(not(any(test, feature = "std")), no_std)] - -pub use maili_registry::*; diff --git a/scripts/check_no_std.sh b/scripts/check_no_std.sh index 34950af6..eed6481d 100755 --- a/scripts/check_no_std.sh +++ b/scripts/check_no_std.sh @@ -5,7 +5,6 @@ no_std_packages=( op-alloy op-alloy-consensus op-alloy-protocol - op-alloy-registry op-alloy-genesis op-alloy-rpc-types op-alloy-rpc-types-engine