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: ...@@ -255,7 +255,7 @@ publish-docs:
- git fetch origin gh-pages - git fetch origin gh-pages
# Generating Docs # Generating Docs
- time cargo doc --no-deps --all-features - 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 -p ink_primitives -p ink_prelude -p ink_lang -p ink_lang_macro
# saving README and docs # saving README and docs
- mv target/doc/ /tmp/ - mv target/doc/ /tmp/
......
[workspace] [workspace]
members = [ members = [
"abi", "metadata",
"core", "core",
"lang", "lang",
"prelude", "prelude",
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
[e2]: https://github.com/Aaronepower/tokei#badges [e2]: https://github.com/Aaronepower/tokei#badges
[f1]: https://img.shields.io/badge/docs-core-blue.svg [f1]: https://img.shields.io/badge/docs-core-blue.svg
[f2]: https://paritytech.github.io/ink/ink_core [f2]: https://paritytech.github.io/ink/ink_core
[h1]: https://img.shields.io/badge/docs-abi-blue.svg [h1]: https://img.shields.io/badge/docs-metadata-blue.svg
[h2]: https://paritytech.github.io/ink/ink_abi [h2]: https://paritytech.github.io/ink/ink_metadata
[i1]: https://img.shields.io/badge/docs-prelude-blue.svg [i1]: https://img.shields.io/badge/docs-prelude-blue.svg
[i2]: https://paritytech.github.io/ink/ink_prelude [i2]: https://paritytech.github.io/ink/ink_prelude
...@@ -27,7 +27,7 @@ For more information please visit [the ink! tutorial](https://substrate.dev/subs ...@@ -27,7 +27,7 @@ For more information please visit [the ink! tutorial](https://substrate.dev/subs
## Developer Documentation ## Developer Documentation
| `ink_abi` | `ink_core` | `ink_prelude` | | `ink_metadata` | `ink_core` | `ink_prelude` |
| ------------- | ------------- | ------------- | | ------------- | ------------- | ------------- |
| [![][h1]][h2] | [![][f1]][f2] | [![][i1]][i2] | | [![][h1]][h2] | [![][f1]][f2] | [![][i1]][i2] |
......
...@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"] ...@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies] [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_alloc = { version = "2.1.0", path = "../alloc/", default-features = false }
ink_primitives = { version = "2.1.0", path = "../primitives/", 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 } ink_core_derive = { version = "2.1.0", path = "derive", default-features = false }
...@@ -54,8 +54,8 @@ itertools = "0.9" ...@@ -54,8 +54,8 @@ itertools = "0.9"
default = ["std"] default = ["std"]
std = [ std = [
"criterion", "criterion",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_alloc/std", "ink_alloc/std",
"ink_prelude/std", "ink_prelude/std",
"ink_primitives/std", "ink_primitives/std",
......
...@@ -18,5 +18,5 @@ synstructure = "0.12" ...@@ -18,5 +18,5 @@ synstructure = "0.12"
[dev-dependencies] [dev-dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives" } 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 = ".." } ink_core = { version = "2.1.0", path = ".." }
...@@ -28,7 +28,7 @@ fn field_layout<'a>( ...@@ -28,7 +28,7 @@ fn field_layout<'a>(
}; };
let ty = &field.ty; let ty = &field.ty;
quote! { quote! {
::ink_abi::layout2::FieldLayout::new( ::ink_metadata::layout2::FieldLayout::new(
#ident, #ident,
<#ty as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr), <#ty as ::ink_core::storage2::traits::StorageLayout>::layout(__key_ptr),
) )
...@@ -49,9 +49,9 @@ fn storage_layout_struct(s: &synstructure::Structure) -> TokenStream2 { ...@@ -49,9 +49,9 @@ fn storage_layout_struct(s: &synstructure::Structure) -> TokenStream2 {
let field_layouts = field_layout(variant); let field_layouts = field_layout(variant);
s.gen_impl(quote! { s.gen_impl(quote! {
gen impl ::ink_core::storage2::traits::StorageLayout for @Self { 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 {
::ink_abi::layout2::Layout::Struct( ::ink_metadata::layout2::Layout::Struct(
::ink_abi::layout2::StructLayout::new(vec![ ::ink_metadata::layout2::StructLayout::new(vec![
#(#field_layouts ,)* #(#field_layouts ,)*
]) ])
) )
...@@ -78,8 +78,8 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 { ...@@ -78,8 +78,8 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 {
let mut __variant_key_ptr = __key_ptr.clone(); let mut __variant_key_ptr = __key_ptr.clone();
let mut __key_ptr = &mut __variant_key_ptr; let mut __key_ptr = &mut __variant_key_ptr;
( (
::ink_abi::layout2::Discriminant::from(#discriminant), ::ink_metadata::layout2::Discriminant::from(#discriminant),
::ink_abi::layout2::StructLayout::new(vec![ ::ink_metadata::layout2::StructLayout::new(vec![
#(#field_layouts ,)* #(#field_layouts ,)*
]), ]),
) )
...@@ -88,11 +88,11 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 { ...@@ -88,11 +88,11 @@ fn storage_layout_enum(s: &synstructure::Structure) -> TokenStream2 {
}); });
s.gen_impl(quote! { s.gen_impl(quote! {
gen impl ::ink_core::storage2::traits::StorageLayout for @Self { 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); let dispatch_key = __key_ptr.advance_by(1);
::ink_abi::layout2::Layout::Enum( ::ink_metadata::layout2::Layout::Enum(
::ink_abi::layout2::EnumLayout::new( ::ink_metadata::layout2::EnumLayout::new(
::ink_abi::layout2::LayoutKey::from(dispatch_key), ::ink_metadata::layout2::LayoutKey::from(dispatch_key),
vec![ vec![
#(#variant_layouts ,)* #(#variant_layouts ,)*
] ]
......
This diff is collapsed.
...@@ -32,7 +32,7 @@ pub struct DynamicAllocator { ...@@ -32,7 +32,7 @@ pub struct DynamicAllocator {
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -30,7 +30,7 @@ use ink_primitives::Key; ...@@ -30,7 +30,7 @@ use ink_primitives::Key;
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
CellLayout, CellLayout,
Layout, Layout,
LayoutKey, LayoutKey,
......
...@@ -35,7 +35,7 @@ use ink_primitives::Key; ...@@ -35,7 +35,7 @@ use ink_primitives::Key;
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -36,7 +36,7 @@ const _: () = { ...@@ -36,7 +36,7 @@ const _: () = {
lazy::Lazy, lazy::Lazy,
traits::StorageLayout, traits::StorageLayout,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -43,7 +43,7 @@ const _: () = { ...@@ -43,7 +43,7 @@ const _: () = {
StorageLayout, StorageLayout,
}, },
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -29,7 +29,7 @@ const _: () = { ...@@ -29,7 +29,7 @@ const _: () = {
lazy::LazyArray, lazy::LazyArray,
traits::StorageLayout, traits::StorageLayout,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -38,7 +38,7 @@ const _: () = { ...@@ -38,7 +38,7 @@ const _: () = {
collections::Vec as StorageVec, collections::Vec as StorageVec,
traits::StorageLayout, traits::StorageLayout,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
CellLayout, CellLayout,
FieldLayout, FieldLayout,
Layout, Layout,
......
...@@ -30,7 +30,7 @@ const _: () = { ...@@ -30,7 +30,7 @@ const _: () = {
lazy::Lazy, lazy::Lazy,
traits::StorageLayout, traits::StorageLayout,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
FieldLayout, FieldLayout,
Layout, Layout,
StructLayout, StructLayout,
......
...@@ -90,7 +90,7 @@ where ...@@ -90,7 +90,7 @@ where
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
ArrayLayout, ArrayLayout,
CellLayout, CellLayout,
Layout, Layout,
......
...@@ -119,7 +119,7 @@ where ...@@ -119,7 +119,7 @@ where
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::Layout; use ink_metadata::layout2::Layout;
impl<T> StorageLayout for LazyCell<T> impl<T> StorageLayout for LazyCell<T>
where where
......
...@@ -153,7 +153,7 @@ const _: () = { ...@@ -153,7 +153,7 @@ const _: () = {
LayoutCryptoHasher, LayoutCryptoHasher,
StorageLayout, StorageLayout,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
CellLayout, CellLayout,
HashLayout, HashLayout,
HashingStrategy, HashingStrategy,
......
...@@ -209,7 +209,7 @@ impl<V> LazyIndexMap<V> { ...@@ -209,7 +209,7 @@ impl<V> LazyIndexMap<V> {
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
ArrayLayout, ArrayLayout,
CellLayout, CellLayout,
Layout, Layout,
......
...@@ -71,7 +71,7 @@ where ...@@ -71,7 +71,7 @@ where
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::Layout; use ink_metadata::layout2::Layout;
impl<T> StorageLayout for Lazy<T> impl<T> StorageLayout for Lazy<T>
where where
......
...@@ -53,7 +53,7 @@ pub struct Memory<T> { ...@@ -53,7 +53,7 @@ pub struct Memory<T> {
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
CellLayout, CellLayout,
Layout, Layout,
LayoutKey, LayoutKey,
......
...@@ -84,7 +84,7 @@ impl<T> Pack<T> { ...@@ -84,7 +84,7 @@ impl<T> Pack<T> {
#[cfg(feature = "std")] #[cfg(feature = "std")]
const _: () = { const _: () = {
use crate::storage2::traits::StorageLayout; use crate::storage2::traits::StorageLayout;
use ink_abi::layout2::{ use ink_metadata::layout2::{
CellLayout, CellLayout,
Layout, Layout,
LayoutKey, LayoutKey,
......
...@@ -24,7 +24,7 @@ use crate::{ ...@@ -24,7 +24,7 @@ use crate::{
SpreadLayout, SpreadLayout,
}, },
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
ArrayLayout, ArrayLayout,
CellLayout, CellLayout,
Discriminant, Discriminant,
......
...@@ -25,7 +25,7 @@ use crate::{ ...@@ -25,7 +25,7 @@ use crate::{
}, },
storage2::traits::KeyPtr, storage2::traits::KeyPtr,
}; };
use ink_abi::layout2::{ use ink_metadata::layout2::{
CryptoHasher, CryptoHasher,
Layout, Layout,
}; };
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
...@@ -26,8 +26,8 @@ crate-type = ["cdylib"] ...@@ -26,8 +26,8 @@ crate-type = ["cdylib"]
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
...@@ -27,8 +27,8 @@ crate-type = [ ...@@ -27,8 +27,8 @@ crate-type = [
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
...@@ -29,8 +29,8 @@ crate-type = [ ...@@ -29,8 +29,8 @@ crate-type = [
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../../lang", default-features = false }
...@@ -29,8 +29,8 @@ crate-type = [ ...@@ -29,8 +29,8 @@ crate-type = [
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
...@@ -22,8 +22,8 @@ crate-type = ["cdylib"] ...@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
...@@ -22,8 +22,8 @@ crate-type = ["cdylib"] ...@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
...@@ -22,8 +22,8 @@ crate-type = ["cdylib"] ...@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false } 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_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false } ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
...@@ -22,8 +22,8 @@ crate-type = ["cdylib"] ...@@ -22,8 +22,8 @@ crate-type = ["cdylib"]
default = ["std"] default = ["std"]
std = [ std = [
"ink_primitives/std", "ink_primitives/std",
"ink_abi", "ink_metadata",
"ink_abi/std", "ink_metadata/std",
"ink_core/std", "ink_core/std",
"ink_lang/std", "ink_lang/std",
"scale/std", "scale/std",
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"