Skip to content

Commit

Permalink
Or maybe this
Browse files Browse the repository at this point in the history
  • Loading branch information
pietgeursen committed Jan 14, 2021
1 parent 406d38e commit fb78c60
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
9 changes: 0 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ members = [
"bamboo-rs-wasm"
]


default-members = [
"bamboo-rs-core",
"bamboo-rs-core-test",
"bamboo-rs-cli",
"generate-test-vectors",
"bamboo-rs-wasm"
]

exclude = [
"bamboo-rs-log"
]
Expand Down
4 changes: 4 additions & 0 deletions bamboo-c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ edition = "2018"
name = "bamboo_c"
crate-type = ["cdylib", "staticlib"]

[features]
default = ["std"]
std = ["ed25519-dalek/std"]

[dependencies]
bamboo-rs-core = {path = "../bamboo-rs-core", default_features = false}
ed25519-dalek = { version = "1.0.1", default-features = false, features = ["u64_backend"] }
4 changes: 2 additions & 2 deletions ci/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ if [ -z "$RELEASE_BUILD" ]; then
$CROSS build --target $TARGET_TRIPLE
$CROSS build --target $TARGET_TRIPLE --all-features
else
$CROSS build -p bamboo-c --target $TARGET_TRIPLE
$CROSS build -p bamboo-c --target $TARGET_TRIPLE --no-default-features --manifest-path=bamboo-c/Cargo.toml
fi
else
if [ -z $NO_STD ]
then
$CROSS build --target $TARGET_TRIPLE --all-features --release
else
$CROSS build -p bamboo-c --target $TARGET_TRIPLE --release
$CROSS build -p bamboo-c --target $TARGET_TRIPLE --no-default-features --manifest-path=bamboo-c/Cargo.toml --release
fi
fi

0 comments on commit fb78c60

Please sign in to comment.