deislabs / spiderlightning

A set of WIT definitions and associated implementations to enable app developers to work at a faster pace and require less knowledge of the environment in which they are executing.
https://deislabs.github.io/spiderlightning
MIT License
308 stars 30 forks source link

fix: remove tempdir crate and replace it with tempfile #394

Closed Mossaka closed 1 year ago

Mossaka commented 1 year ago

The tempdir crate was an out-of-date crate that depends on a older version of rand, which causes some issues on our tests when we import Alphanumeric from rand.

Since tempfile is a crate meant to replace tempdir, this PR replaces it to tempfile.

This should make #384 pass the CI