diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index fe6b52d..7a2988c 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -39,7 +39,7 @@ jobs: RUSTFLAGS: "-Cinstrument-coverage" LLVM_PROFILE_FILE: "opensk-%p-%m.profraw" - name: Run grcov - run: RUSTUP_TOOLCHAIN=nightly grcov . --binary-path ./libraries/opensk/target/debug/ --source-dir libraries/opensk/ --output-type lcov --ignore-not-existing ---output-path ./lcov.info --ignore "/*" --ignore "examples/*" --ignore "third_party/*" + run: RUSTUP_TOOLCHAIN=nightly grcov . --binary-path ./libraries/opensk/target/debug/ --source-dir libraries/opensk/ --output-type lcov --ignore-not-existing --output-path ./lcov.info --ignore "/*" --ignore "examples/*" --ignore "third_party/*" - uses: coverallsapp/github-action@1.1.3 name: upload report to coveralls with: diff --git a/Cargo.lock b/Cargo.lock index 599327f..0920207 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,15 +11,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "arbitrary" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db55d72333851e17d572bec876e390cd3b11eb1ef53ae821dd9f3b653d2b4569" -dependencies = [ - "derive_arbitrary", -] - [[package]] name = "arrayref" version = "0.3.6" @@ -100,7 +91,6 @@ dependencies = [ name = "ctap2" version = "1.0.0" dependencies = [ - "arbitrary", "arrayref", "byteorder", "crypto", @@ -115,21 +105,9 @@ dependencies = [ "rand 0.8.5", "rng256", "sk-cbor", - "subtle", "uuid", ] -[[package]] -name = "derive_arbitrary" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a012b5e473dc912f0db0546a1c9c6a194ce8494feb66fa0237160926f9e0e6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "ed25519-compact" version = "1.0.15" diff --git a/Cargo.toml b/Cargo.toml index 98929d9..b7766d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,6 @@ rng256 = { path = "libraries/rng256" } persistent_store = { path = "libraries/persistent_store" } byteorder = { version = "1", default-features = false } arrayref = "0.3.6" -subtle = { version = "2.2", default-features = false, features = ["nightly"] } -arbitrary = { version = "0.4.7", features = ["derive"], optional = true } rand = { version = "0.8.4", optional = true } ed25519-compact = { version = "1", default-features = false, optional = true } diff --git a/libraries/opensk/Cargo.toml b/libraries/opensk/Cargo.toml index 91fe9cb..6523964 100644 --- a/libraries/opensk/Cargo.toml +++ b/libraries/opensk/Cargo.toml @@ -38,13 +38,3 @@ enum-iterator = "0.6.0" sk-cbor = { path = "../cbor" } uuid = { version = "0.8", features = ["v4"] } openssl = "0.10.36" - -[profile.dev] -panic = "abort" -lto = true # Link Time Optimization usually reduces size of binaries and static libraries - -[profile.release] -panic = "abort" -lto = true # Link Time Optimization usually reduces size of binaries and static libraries -opt-level = "z" -codegen-units = 1