Skip to content

Commit

Permalink
feat(faucet): allow gifting by default
Browse files Browse the repository at this point in the history
disable gifting when building for release
  • Loading branch information
joshuef committed May 19, 2024
1 parent db8be2d commit 6c95cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ build-release-artifacts arch:

if [[ $arch == arm* || $arch == armv7* || $arch == aarch64* ]]; then
cargo install cross
cross build --release --target $arch --bin faucet --features=distribution
cross build --release --target $arch --bin faucet --features=distribution --no-default-features
cross build --release --target $arch --bin node-launchpad
cross build --release --features="network-contacts,distribution" --target $arch --bin safe
cross build --release --features=network-contacts --target $arch --bin safenode
Expand All @@ -122,7 +122,7 @@ build-release-artifacts arch:
cross build --release --target $arch --bin safenode_rpc_client
cross build --release --target $arch --bin sn_auditor
else
cargo build --release --target $arch --bin faucet --features=distribution
cargo build --release --target $arch --bin faucet --features=distribution --no-default-features
cargo build --release --target $arch --bin node-launchpad
cargo build --release --features="network-contacts,distribution" --target $arch --bin safe
cargo build --release --features=network-contacts --target $arch --bin safenode
Expand Down
2 changes: 1 addition & 1 deletion sn_faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/maidsafe/safe_network"
version = "0.4.17"

[features]
default = []
default = ["gifting"]
distribution = ["base64", "bitcoin", "minreq"]
gifting = []

Expand Down

0 comments on commit 6c95cb8

Please sign in to comment.