Skip to content
Draft
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rs/ethexe/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -193,7 +193,16 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -190,7 +190,16 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl sails_rename::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rename::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rename::meta::InterfaceId = {
let mut final_hash = sails_rename::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rename::keccak_const::Keccak256::new();
Expand Down Expand Up @@ -192,7 +192,16 @@ impl sails_rename::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rename::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -193,7 +193,16 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl sails_rs::meta::ServiceMeta for MyServiceWithEvents {
type EventsMeta = my_service_with_events_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = false;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -206,7 +206,16 @@ impl sails_rs::meta::ServiceMeta for MyServiceWithEvents {
final_hash = final_hash
.update(&<MyEvents as sails_rs::sails_reflect_hash::ReflectHash>::HASH);
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod my_service_with_events_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand Down Expand Up @@ -207,7 +207,16 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
];
const ASYNC: bool = <ExtendedService1 as sails_rs::meta::ServiceMeta>::ASYNC
|| <ExtendedService2 as sails_rs::meta::ServiceMeta>::ASYNC;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -224,11 +224,20 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
final_hash = final_hash
.update(&<ExtendedService1 as sails_rs::meta::ServiceMeta>::INTERFACE_ID);
.update(&<ExtendedService1 as sails_rs::meta::ServiceMeta>::INTERFACE_ID.0);
final_hash = final_hash
.update(&<ExtendedService2 as sails_rs::meta::ServiceMeta>::INTERFACE_ID);
.update(&<ExtendedService2 as sails_rs::meta::ServiceMeta>::INTERFACE_ID.0);
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl<'a> sails_rs::meta::ServiceMeta for ExtendedWithLifetime<'a> {
sails_rs::meta::AnyServiceMeta::new::<BaseWithLifetime>,
];
const ASYNC: bool = <BaseWithLifetime as sails_rs::meta::ServiceMeta>::ASYNC;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -242,9 +242,18 @@ impl<'a> sails_rs::meta::ServiceMeta for ExtendedWithLifetime<'a> {
final_hash = final_hash.update(&fn_hash.finalize());
}
final_hash = final_hash
.update(&<BaseWithLifetime as sails_rs::meta::ServiceMeta>::INTERFACE_ID);
.update(&<BaseWithLifetime as sails_rs::meta::ServiceMeta>::INTERFACE_ID.0);
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod extended_with_lifetime_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ where
type EventsMeta = my_generic_events_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = false;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -163,7 +163,16 @@ where
final_hash = final_hash
.update(&<MyEvents as sails_rs::sails_reflect_hash::ReflectHash>::HASH);
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod my_generic_events_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ where
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = false;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -148,7 +148,16 @@ where
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ impl sails_rs::meta::ServiceMeta for ReferenceService {
type EventsMeta = reference_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand Down Expand Up @@ -377,7 +377,16 @@ impl sails_rs::meta::ServiceMeta for ReferenceService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod reference_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl sails_rs::meta::ServiceMeta for SomeService {
type EventsMeta = some_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = true;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -193,7 +193,16 @@ impl sails_rs::meta::ServiceMeta for SomeService {
final_hash = final_hash.update(&fn_hash.finalize());
}
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod some_service_meta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ where
type EventsMeta = my_generic_events_service_meta::EventsMeta;
const BASE_SERVICES: &'static [sails_rs::meta::AnyServiceMetaFn] = &[];
const ASYNC: bool = false;
const INTERFACE_ID: [u8; 8] = {
const INTERFACE_ID: sails_rs::meta::InterfaceId = {
let mut final_hash = sails_rs::keccak_const::Keccak256::new();
{
let mut fn_hash = sails_rs::keccak_const::Keccak256::new();
Expand All @@ -163,7 +163,16 @@ where
final_hash = final_hash
.update(&<MyEvents as sails_rs::sails_reflect_hash::ReflectHash>::HASH);
let hash = final_hash.finalize();
[hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7]]
sails_rs::meta::InterfaceId([
hash[0],
hash[1],
hash[2],
hash[3],
hash[4],
hash[5],
hash[6],
hash[7],
])
};
}
mod my_generic_events_service_meta {
Expand Down
Loading
Loading