فهرست منبع

Solitaire: Enforce the "client" feature in dependees

Change-Id: I55da10bde41f84e91c5754a89eb4239967117e67
Stan Drozd 4 سال پیش
والد
کامیت
5e7e4d4e48
3فایلهای تغییر یافته به همراه3 افزوده شده و 5 حذف شده
  1. 1 2
      solana/bridge/program/Cargo.toml
  2. 1 2
      solana/modules/token_bridge/program/Cargo.toml
  3. 1 1
      solana/solitaire/program/Cargo.toml

+ 1 - 2
solana/bridge/program/Cargo.toml

@@ -9,9 +9,8 @@ crate-type = ["cdylib", "lib"]
 name = "bridge"
 
 [features]
+client = ["solitaire/client", "solitaire-client", "no-entrypoint"]
 no-entrypoint = ["solitaire/no-entrypoint"]
-client = ["solitaire-client"]
-no-idl = []
 cpi = ["no-entrypoint"]
 default = []
 

+ 1 - 2
solana/modules/token_bridge/program/Cargo.toml

@@ -10,8 +10,7 @@ name = "token_bridge"
 
 [features]
 no-entrypoint = ["solitaire/no-entrypoint"]
-client = ["solitaire-client"]
-no-idl = []
+client = ["solitaire-client", "solitaire/client", "no-entrypoint"]
 cpi = ["no-entrypoint"]
 default = []
 

+ 1 - 1
solana/solitaire/program/Cargo.toml

@@ -9,8 +9,8 @@ crate-type = ["cdylib", "lib"]
 name = "solitaire"
 
 [features]
+client = ["no-entrypoint"]
 no-entrypoint = []
-no-idl = []
 cpi = ["no-entrypoint"]
 default = []