This is a single executable apt-transport for s3:// urls written in Rust.
It was written to replace (the excellent) apt-transport-s3 so that python didn't need to be installed on systems that otherwise didn't require it. This was important for provisioning AMIs where the only apt repositories were local s3 caches—installing python becomes an annoying chicken-and-egg problem. This project simplifies the issue by adding just a single binary download before apt can be used.
cargo build --release
strip target/release/apt-transport-s3 cp target/release/apt-transport-s3 /usr/lib/apt/method/s3
echo '600 URI Acquire URI: s3://my-bucket/my-key Filename: /tmp/output-file Last-Modified: Mon, 19 Jan 2015 07:28:00 GMT ' | APT_TRANSPORT_S3_DEBUG=1 cargo run
Copyright © 2021 David Caldwell email@example.com
MIT Licensed: See LICENSE file for details.