Armani Ferrante 3 gadi atpakaļ
vecāks
revīzija
e0b9afe97c

+ 1 - 0
client/Cargo.toml

@@ -8,6 +8,7 @@ description = "Rust client for Anchor programs"
 
 [features]
 debug = []
+deprecated-layout = ["anchor-lang/deprecated-layout"]
 
 [dependencies]
 anchor-lang = { path = "../lang", version = "0.21.0" }

+ 5 - 0
lang/Cargo.toml

@@ -11,6 +11,11 @@ description = "Solana Sealevel eDSL"
 init-if-needed = ["anchor-derive-accounts/init-if-needed"]
 derive = []
 default = []
+deprecated-layout = [
+    "anchor-common/deprecated-layout",
+    "anchor-attribute-account/deprecated-layout",
+    "anchor-attribute-event/deprecated-layout",
+]
 anchor-debug = [
     "anchor-attribute-access-control/anchor-debug",
     "anchor-attribute-account/anchor-debug",

+ 1 - 0
lang/attribute/account/Cargo.toml

@@ -12,6 +12,7 @@ proc-macro = true
 
 [features]
 anchor-debug = ["anchor-syn/anchor-debug"]
+deprecated-layout = ["anchor-common/deprecated-layout"]
 
 [dependencies]
 proc-macro2 = "1.0"

+ 1 - 0
lang/attribute/event/Cargo.toml

@@ -12,6 +12,7 @@ proc-macro = true
 
 [features]
 anchor-debug = ["anchor-syn/anchor-debug"]
+deprecated-layout = ["anchor-common/deprecated-layout"]
 
 [dependencies]
 proc-macro2 = "1.0"

+ 1 - 0
lang/common/Cargo.toml

@@ -9,6 +9,7 @@ edition = "2018"
 
 [features]
 default = []
+deprecated-layout = []
 
 [dependencies]
 arrayref = "0.3.6"