parallaxsecond / rust-tss-esapi

TSS 2.0 Enhanced System API (ESAPI) Rust wrapper
https://docs.rs/tss-esapi/
Apache License 2.0
85 stars 51 forks source link

Updated to latest versions of dependencies #517

Open Firstyear opened 5 months ago

ionut-arm commented 4 months ago

I wonder if we need to update the lock file as well?

That was my thought as well. I regret not putting in the effort to write a script to update that file automatically from the current Cargo.lock.... So find a short script for that below.

#!/bin/bash

export MSRV=1.66.0
export EXEC_DIR="tss-esapi"

if [[ "$(basename `pwd`)" != "$EXEC_DIR" ]]; then
        echo "Script should be run from ./$EXEC_DIR ."
        exit 1
fi

rustup toolchain install $MSRV
cargo +$MSRV build
cp ../Cargo.lock tests/Cargo.lock.frozen

Also, find attached the regenerated lockfile for this change. Cargo.lock.frozen.zip

Firstyear commented 4 months ago

Okay, so I'll update the Cargo.lock as well in that case? Are there other concerns?

ionut-arm commented 4 months ago

Okay, so I'll update the Cargo.lock as well in that case? Are there other concerns?

Sounds like a plan, if you have time for it!

Firstyear commented 4 months ago

Done, Cargo.lock updated.