Unverified Commit 59dcb1ba authored by Andrew Jones's avatar Andrew Jones Committed by GitHub

[metadata] rename abi crate to metadata (#465)

* git mv abi metadata

* mm

* Rename codegen abi to metadata

* Fmt
parent 65e094e1
Pipeline #98794 failed with stages
in 11 minutes and 46 seconds
......@@ -255,7 +255,7 @@ publish-docs:
- git fetch origin gh-pages
# Generating Docs
- time cargo doc --no-deps --all-features
-p scale-info -p ink_abi -p ink_abi_derive -p ink_core -p ink_core_derive
-p scale-info -p ink_metadata -p ink_metadata_derive -p ink_core -p ink_core_derive
-p ink_primitives -p ink_prelude -p ink_lang -p ink_lang_macro
# saving README and docs
- mv target/doc/ /tmp/
......
[workspace]
members = [
"abi",
"metadata",
"core",
"lang",
"prelude",
......
......@@ -14,8 +14,8 @@
[e2]: https://github.com/Aaronepower/tokei#badges
[f1]: https://img.shields.io/badge/docs-core-blue.svg
[f2]: https://paritytech.github.io/ink/ink_core
[h1]: https://img.shields.io/badge/docs-abi-blue.svg
[h2]: https://paritytech.github.io/ink/ink_abi
[h1]: https://img.shields.io/badge/docs-metadata-blue.svg
[h2]: https://paritytech.github.io/ink/ink_metadata
[i1]: https://img.shields.io/badge/docs-prelude-blue.svg
[i2]: https://paritytech.github.io/ink/ink_prelude
......@@ -27,7 +27,7 @@ For more information please visit [the ink! tutorial](https://substrate.dev/subs
## Developer Documentation
| `ink_abi` | `ink_core` | `ink_prelude` |
| `ink_metadata` | `ink_core` | `ink_prelude` |
| ------------- | ------------- | ------------- |
| [![][h1]][h2] | [![][f1]][f2] | [![][i1]][i2] |
......
......@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_abi = { version = "2.1.0", path = "../abi/", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_alloc = { version = "2.1.0", path = "../alloc/", default-features = false }
ink_primitives = { version = "2.1.0", path = "../primitives/", default-features = false }
ink_core_derive = { version = "2.1.0", path = "derive", default-features = false }
......@@ -54,8 +54,8 @@ itertools = "0.9"
default = ["std"]
std = [
"criterion",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_alloc/std",
"ink_prelude/std",
"ink_primitives/std",
......
......@@ -18,5 +18,5 @@ synstructure = "0.12"
[dev-dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives" }
ink_abi = { version = "2.1.0", path = "../../abi" }
ink_metadata = { version = "2.1.0", path = "../../metadata" }
ink_core = { version = "2.1.0", path = ".." }
......@@ -28,7 +28,7 @@ fn field_layout<'a>(
};
let ty = &field.ty;
quote! {
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
#ident,
<#ty as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
)
......@@ -49,9 +49,9 @@ fn storage_layout_struct(s: &synstructure::Structure) -> TokenStream2 {
let field_layouts = field_layout(variant);
s.gen_impl(quote! {
gen impl ::ink_core::storage2::traits::StorageLayout for @Self {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
::ink_abi::layout2::Layout::Struct(
::ink_abi::layout2::StructLayout::new(vec![
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
::ink_metadata::layout2::Layout::Struct(
::ink_metadata::layout2::StructLayout::new(vec![
#(#field_layouts ,)*
])
)
......@@ -78,8 +78,8 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 {
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(#discriminant),
::ink_abi::layout2::StructLayout::new(vec![
::ink_metadata::layout2::Discriminant::from(#discriminant),
::ink_metadata::layout2::StructLayout::new(vec![
#(#field_layouts ,)*
]),
)
......@@ -88,11 +88,11 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 {
});
s.gen_impl(quote! {
gen impl ::ink_core::storage2::traits::StorageLayout for @Self {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
let dispatch_key = __key_ptr.advance_by(1);
::ink_abi::layout2::Layout::Enum(
::ink_abi::layout2::EnumLayout::new(
::ink_abi::layout2::LayoutKey::from(dispatch_key),
::ink_metadata::layout2::Layout::Enum(
::ink_metadata::layout2::EnumLayout::new(
::ink_metadata::layout2::LayoutKey::from(dispatch_key),
vec![
#(#variant_layouts ,)*
]
......
......@@ -24,9 +24,9 @@ fn unit_struct_works() {
#[allow(non_upper_case_globals)]
const _DERIVE_ink_core_storage2_traits_StorageLayout_FOR_UnitStruct: () = {
impl ::ink_core::storage2::traits::StorageLayout for UnitStruct {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
::ink_abi::layout2::Layout::Struct(
::ink_abi::layout2::StructLayout::new(vec![])
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
::ink_metadata::layout2::Layout::Struct(
::ink_metadata::layout2::StructLayout::new(vec![])
)
}
}
......@@ -45,18 +45,18 @@ fn tuple_struct_works() {
#[allow(non_upper_case_globals)]
const _DERIVE_ink_core_storage2_traits_StorageLayout_FOR_TupleStruct: () = {
impl ::ink_core::storage2::traits::StorageLayout for TupleStruct {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
::ink_abi::layout2::Layout::Struct(
::ink_abi::layout2::StructLayout::new(vec![
::ink_abi::layout2::FieldLayout::new(
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
::ink_metadata::layout2::Layout::Struct(
::ink_metadata::layout2::StructLayout::new(vec![
::ink_metadata::layout2::FieldLayout::new(
None,
<bool as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
None,
<u32 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
None,
<i64 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
......@@ -83,18 +83,18 @@ fn named_fields_struct_works() {
#[allow(non_upper_case_globals)]
const _DERIVE_ink_core_storage2_traits_StorageLayout_FOR_NamedFieldsStruct: () = {
impl ::ink_core::storage2::traits::StorageLayout for NamedFieldsStruct {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
::ink_abi::layout2::Layout::Struct(
::ink_abi::layout2::StructLayout::new(vec![
::ink_abi::layout2::FieldLayout::new(
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
::ink_metadata::layout2::Layout::Struct(
::ink_metadata::layout2::StructLayout::new(vec![
::ink_metadata::layout2::FieldLayout::new(
Some("a"),
<bool as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
Some("b"),
<u32 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
Some("c"),
<i64 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
......@@ -117,34 +117,34 @@ fn clike_enum_works() {
#[allow(non_upper_case_globals)]
const _DERIVE_ink_core_storage2_traits_StorageLayout_FOR_ClikeEnum: () = {
impl ::ink_core::storage2::traits::StorageLayout for ClikeEnum {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
let dispatch_key = __key_ptr.advance_by(1);
::ink_abi::layout2::Layout::Enum(
::ink_abi::layout2::EnumLayout::new(
::ink_abi::layout2::LayoutKey::from(dispatch_key),
::ink_metadata::layout2::Layout::Enum(
::ink_metadata::layout2::EnumLayout::new(
::ink_metadata::layout2::LayoutKey::from(dispatch_key),
vec![
{
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(0usize),
::ink_abi::layout2::StructLayout::new(vec![]),
::ink_metadata::layout2::Discriminant::from(0usize),
::ink_metadata::layout2::StructLayout::new(vec![]),
)
},
{
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(1usize),
::ink_abi::layout2::StructLayout::new(vec![]),
::ink_metadata::layout2::Discriminant::from(1usize),
::ink_metadata::layout2::StructLayout::new(vec![]),
)
},
{
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(2usize),
::ink_abi::layout2::StructLayout::new(vec![]),
::ink_metadata::layout2::Discriminant::from(2usize),
::ink_metadata::layout2::StructLayout::new(vec![]),
)
},
]
......@@ -175,35 +175,35 @@ fn mixed_enum_works() {
#[allow(non_upper_case_globals)]
const _DERIVE_ink_core_storage2_traits_StorageLayout_FOR_MixedEnum: () = {
impl ::ink_core::storage2::traits::StorageLayout for MixedEnum {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_abi::layout2::Layout {
fn layout(__key_ptr: &mut ::ink_core::storage2::traits::KeyPtr) -> ::ink_metadata::layout2::Layout {
let dispatch_key = __key_ptr.advance_by(1);
::ink_abi::layout2::Layout::Enum(
::ink_abi::layout2::EnumLayout::new(
::ink_abi::layout2::LayoutKey::from(dispatch_key),
::ink_metadata::layout2::Layout::Enum(
::ink_metadata::layout2::EnumLayout::new(
::ink_metadata::layout2::LayoutKey::from(dispatch_key),
vec![
{
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(0usize),
::ink_abi::layout2::StructLayout::new(vec![]),
::ink_metadata::layout2::Discriminant::from(0usize),
::ink_metadata::layout2::StructLayout::new(vec![]),
)
},
{
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(1usize),
::ink_abi::layout2::StructLayout::new(vec![
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::Discriminant::from(1usize),
::ink_metadata::layout2::StructLayout::new(vec![
::ink_metadata::layout2::FieldLayout::new(
None,
<bool as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
None,
<u32 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
None,
<i64 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
......@@ -214,17 +214,17 @@ fn mixed_enum_works() {
let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr;
(
::ink_abi::layout2::Discriminant::from(2usize),
::ink_abi::layout2::StructLayout::new(vec![
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::Discriminant::from(2usize),
::ink_metadata::layout2::StructLayout::new(vec![
::ink_metadata::layout2::FieldLayout::new(
Some("a"),
<bool as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
Some("b"),
<u32 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
::ink_abi::layout2::FieldLayout::new(
::ink_metadata::layout2::FieldLayout::new(
Some("c"),
<i64 as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
),
......
......@@ -32,7 +32,7 @@ pub struct DynamicAllocator {
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -30,7 +30,7 @@ use ink_primitives::Key;
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
CellLayout,
Layout,
LayoutKey,
......
......@@ -35,7 +35,7 @@ use ink_primitives::Key;
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -36,7 +36,7 @@ const _: () = {
lazy::Lazy,
traits::StorageLayout,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -43,7 +43,7 @@ const _: () = {
StorageLayout,
},
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -29,7 +29,7 @@ const _: () = {
lazy::LazyArray,
traits::StorageLayout,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -38,7 +38,7 @@ const _: () = {
collections::Vec as StorageVec,
traits::StorageLayout,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
CellLayout,
FieldLayout,
Layout,
......
......@@ -30,7 +30,7 @@ const _: () = {
lazy::Lazy,
traits::StorageLayout,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
FieldLayout,
Layout,
StructLayout,
......
......@@ -90,7 +90,7 @@ where
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
ArrayLayout,
CellLayout,
Layout,
......
......@@ -119,7 +119,7 @@ where
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::Layout;
use ink_metadata::layout2::Layout;
impl<T> StorageLayout for LazyCell<T>
where
......
......@@ -153,7 +153,7 @@ const _: () = {
LayoutCryptoHasher,
StorageLayout,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
CellLayout,
HashLayout,
HashingStrategy,
......
......@@ -209,7 +209,7 @@ impl<V> LazyIndexMap<V> {
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
ArrayLayout,
CellLayout,
Layout,
......
......@@ -71,7 +71,7 @@ where
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::Layout;
use ink_metadata::layout2::Layout;
impl<T> StorageLayout for Lazy<T>
where
......
......@@ -53,7 +53,7 @@ pub struct Memory<T> {
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
CellLayout,
Layout,
LayoutKey,
......
......@@ -84,7 +84,7 @@ impl<T> Pack<T> {
#[cfg(feature = "std")]
const _: () = {
use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{
use ink_metadata::layout2::{
CellLayout,
Layout,
LayoutKey,
......
......@@ -24,7 +24,7 @@ use crate::{
SpreadLayout,
},
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
ArrayLayout,
CellLayout,
Discriminant,
......
......@@ -25,7 +25,7 @@ use crate::{
},
storage2::traits::KeyPtr,
};
use ink_abi::layout2::{
use ink_metadata::layout2::{
CryptoHasher,
Layout,
};
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -26,8 +26,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
......@@ -27,8 +27,8 @@ crate-type = [
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
......@@ -29,8 +29,8 @@ crate-type = [
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
......@@ -29,8 +29,8 @@ crate-type = [
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata",
"ink_metadata/std",
"ink_core/std",
"ink_lang/std",
"scale/std",
......
......@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
......@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"]
std = [
"ink_primitives/std",
"ink_abi",
"ink_abi/std",
"ink_metadata"