Procházet zdrojové kódy

app: fix compilation with/without features set

darkfi před 2 týdny
rodič
revize
14ef214e35
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2 2
      bin/app/Cargo.toml
  2. 1 1
      bin/app/Makefile

+ 2 - 2
bin/app/Cargo.toml

@@ -20,10 +20,10 @@ glam = "0.30.9"
 #async_zmq = "0.4.0"
 #async_zmq = "0.4.0"
 zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
 zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
 darkirc = { path = "../darkirc", optional = true }
 darkirc = { path = "../darkirc", optional = true }
-darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
+darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "tx", "zk"]}
 darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
 darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
 darkfi-serial = {path = "../../src/serial", features = ["async"]}
 darkfi-serial = {path = "../../src/serial", features = ["async"]}
-darkfi_money_contract = { path = "../../src/contract/money/" }
+darkfi_money_contract = { path = "../../src/contract/money/", features = ["client"]}
 fud = { path = "../fud/fud/", optional = true }
 fud = { path = "../fud/fud/", optional = true }
 drk = { path = "../drk/", optional = true }
 drk = { path = "../drk/", optional = true }
 bs58 = "0.5.1"
 bs58 = "0.5.1"

+ 1 - 1
bin/app/Makefile

@@ -29,7 +29,7 @@ DEBUG_FEATURES = --features=enable-filelog,enable-plugins
 
 
 #DEV_FEATURES = --features=enable-filelog,enable-netdebug,emulate-android
 #DEV_FEATURES = --features=enable-filelog,enable-netdebug,emulate-android
 #DEV_FEATURES = --features=enable-filelog,enable-netdebug,enable-plugins
 #DEV_FEATURES = --features=enable-filelog,enable-netdebug,enable-plugins
-DEV_FEATURES = --features=schema-app,enable-netdebug,enable-plugins
+DEV_FEATURES = --features=schema-app,enable-netdebug
 
 
 default: build-release
 default: build-release
 	./darkfi-app
 	./darkfi-app