aws / aws-nitro-enclaves-image-format

This library provides the definition of the enclave image format (EIF) file used in AWS Nitro Enclaves.
Apache License 2.0
11 stars 17 forks source link

eif_build, utils: cleanup #31

Open sabin-rapan opened 2 months ago

sabin-rapan commented 2 months ago

Description of changes:

This patch series addresses a few low hanging fruits in eif_build and utils module:

  1. unifies the public interface in utils module by representing all filesystem paths via AsRef<Path>, which means str, String, OsString, PathBuf and Path can be used on the caller side.
  2. cleans up eif_build to make it easier to read and maintain since now it's not just an example anymore.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.