Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ matrix:
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --write-mode=diff
- cargo fmt --all -- --check
- env:
- NAME='clippy'
# use env so updating versions causes cache invalidation
- CLIPPY_VERSION=0.0.212
rust: nightly-2018-07-22
before_script:
- cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed"
script:
- cargo clippy --all --tests --all-features -- -D clippy
- env: NAME='kcov'
sudo: required # travis-ci/travis-ci#9061
before_script:
Expand All @@ -30,7 +39,7 @@ matrix:
script:
- cargo kcov --print-install-kcov-sh | sh
- cargo update # Creates `Cargo.lock` needed by next command
- cargo kcov --verbose --features dss --coveralls -- --verify --exclude-pattern=/.cargo,/usr/lib,src/proto
- cargo kcov --verbose --coveralls -- --verify --exclude-pattern=/.cargo,/usr/lib,src/proto
addons:
apt:
packages:
Expand All @@ -47,4 +56,4 @@ env:
script:
- cargo build --verbose --all-features
- cargo test --verbose --all-features
- cargo doc --verbose --all-features
- cargo doc --verbose --all-features --no-deps
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ exclude = ["Cargo.lock"]
travis-ci = { repository = "SpinResearch/RustySecrets", branch = "master" }
coveralls = { repository = "SpinResearch/RustySecrets", branch = "master", service = "github" }

[features]
default = []
dss = []

[dependencies]
base64 = "0.9.0"
rand = "^0.4.2"
Expand Down
60 changes: 0 additions & 60 deletions benches/ss1.rs

This file was deleted.

52 changes: 0 additions & 52 deletions benches/thss.rs

This file was deleted.

8 changes: 0 additions & 8 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
[workspace]
members = ["."]

[[bin]]
name = "ss1_1"
path = "fuzz_targets/ss1_1.rs"

[[bin]]
name = "thss_1"
path = "fuzz_targets/thss_1.rs"

[[bin]]
name = "sss_1"
path = "fuzz_targets/sss_1.rs"
Expand Down
24 changes: 0 additions & 24 deletions fuzz/fuzz_targets/ss1_1.rs

This file was deleted.

25 changes: 0 additions & 25 deletions fuzz/fuzz_targets/sss_1.rs

This file was deleted.

10 changes: 2 additions & 8 deletions protobuf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,19 @@ DEST_DIR := ../src/proto
BASE_PROTOS := $(wildcard *.proto)
BASE_RUSTS := $(addprefix $(DEST_DIR)/, $(BASE_PROTOS:.proto=.rs))

DSS_PROTOS := $(wildcard dss/*.proto)
DSS_RUSTS := $(addprefix $(DEST_DIR)/, $(DSS_PROTOS:.proto=.rs))

WRAPPED_PROTOS := $(wildcard wrapped/*.proto)
WRAPPED_RUSTS := $(addprefix $(DEST_DIR)/, $(WRAPPED_PROTOS:.proto=.rs))

OUT_DIR := _out

.PHONY: all base wrapped dss clean
.PHONY: all base wrapped clean

all: base wrapped dss
all: base wrapped

base: $(BASE_RUSTS)

wrapped: $(WRAPPED_RUSTS)

dss: $(DSS_RUSTS)

$(DEST_DIR)/%.rs: %.proto
@echo -n "Processing '$<'..."
@$(RM) -r $(OUT_DIR)
Expand All @@ -39,4 +34,3 @@ $(DEST_DIR)/%.rs: %.proto
clean:
$(RM) $(BASE_RUSTS)
$(RM) $(WRAPPED_RUSTS)
$(RM) $(DSS_RUSTS)
7 changes: 0 additions & 7 deletions protobuf/dss/metadata.proto

This file was deleted.

10 changes: 0 additions & 10 deletions protobuf/dss/secret.proto

This file was deleted.

14 changes: 0 additions & 14 deletions protobuf/dss/share.proto

This file was deleted.

1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

73 changes: 0 additions & 73 deletions src/dss/format.rs

This file was deleted.

31 changes: 0 additions & 31 deletions src/dss/metadata.rs

This file was deleted.

Loading