snapshot before rebranding
This commit is contained in:
@@ -41,16 +41,16 @@ trybuild = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface-test-wasm/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-wasm-interface/std",
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface-test-wasm/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-wasm-interface/std",
|
||||
]
|
||||
|
||||
# ATTENTION
|
||||
@@ -61,6 +61,6 @@ std = [
|
||||
# check is changed into a runtime check.
|
||||
disable_target_static_assertions = []
|
||||
runtime-benchmarks = [
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -162,7 +162,7 @@ impl RuntimeInterface {
|
||||
|
||||
/// Generates the include for the runtime-interface crate.
|
||||
pub fn generate_runtime_interface_include() -> TokenStream {
|
||||
match crate_name("sp-runtime-interface") {
|
||||
match crate_name("pezsp-runtime-interface") {
|
||||
Ok(FoundCrate::Itself) => quote!(),
|
||||
Ok(FoundCrate::Name(crate_name)) => {
|
||||
let crate_name = Ident::new(&crate_name, Span::call_site());
|
||||
@@ -178,9 +178,9 @@ pub fn generate_runtime_interface_include() -> TokenStream {
|
||||
}
|
||||
}
|
||||
|
||||
/// Generates the access to the `sp-runtime-interface` crate.
|
||||
/// Generates the access to the `pezsp-runtime-interface` crate.
|
||||
pub fn generate_crate_access() -> TokenStream {
|
||||
if env::var("CARGO_PKG_NAME").unwrap() == "sp-runtime-interface" {
|
||||
if env::var("CARGO_PKG_NAME").unwrap() == "pezsp-runtime-interface" {
|
||||
quote!(pezsp_runtime_interface)
|
||||
} else {
|
||||
quote!(proc_macro_runtime_interface)
|
||||
|
||||
@@ -8,6 +8,8 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
description = "Pezkuwi SDK primitive: runtime interface test wasm deprecated"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test-wasm-deprecated"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,8 +28,8 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,8 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
description = "Pezkuwi SDK primitive: runtime interface test wasm"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test-wasm"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -27,9 +29,9 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"bytes/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
]
|
||||
|
||||
@@ -7,6 +7,8 @@ license = "Apache-2.0"
|
||||
publish = false
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Pezkuwi SDK primitive: runtime interface test"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -28,9 +30,9 @@ tracing-core = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user