update readme for branch switch

This commit is contained in:
Emil Lerch 2022-01-20 07:41:35 -08:00
parent 3d27b84e2d
commit a85e185ce7
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -2,14 +2,13 @@
[![Build Status](https://drone.lerch.org/api/badges/lobo/aws-sdk-for-zig/status.svg?ref=refs/heads/zig-native)](https://drone.lerch.org/api/badges/lobo/aws-sdk-for-zig/status.svg?ref=refs/heads/zig-native) [![Build Status](https://drone.lerch.org/api/badges/lobo/aws-sdk-for-zig/status.svg?ref=refs/heads/zig-native)](https://drone.lerch.org/api/badges/lobo/aws-sdk-for-zig/status.svg?ref=refs/heads/zig-native)
## WARNING: This branch is in development. It works, but is still brittle
### NOTE: All tests pass, but credentials currently must be passed through environment
This SDK currently supports all AWS services except EC2 and S3. These two This SDK currently supports all AWS services except EC2 and S3. These two
services only support XML, and zig 0.8.0 and master both trigger compile services only support XML, and zig 0.8.0 and master both trigger compile
errors while incorporating the XML parser. S3 also requires some plumbing errors while incorporating the XML parser. S3 also requires some plumbing
tweaks in the signature calculation, which is planned for a zig version tweaks in the signature calculation. Examples of usage are in src/main.zig.
(probably self-hosted 0.9.0) that no longer has an error triggered. Examples
of usage are in src/main.zig.
Current executable size for the demo is 868k after compiling with -Drelease-safe Current executable size for the demo is 868k after compiling with -Drelease-safe
and [stripping the executable after compilation](https://github.com/ziglang/zig/issues/351). and [stripping the executable after compilation](https://github.com/ziglang/zig/issues/351).
@ -29,7 +28,14 @@ This library mimics the aws c libraries for it's work, so it operates like most
other 'AWS things'. main.zig gives you a handful of examples for working with services. other 'AWS things'. main.zig gives you a handful of examples for working with services.
For local testing or alternative endpoints, there's no real standard, so For local testing or alternative endpoints, there's no real standard, so
there is code to look for `AWS_ENDPOINT_URL` environment variable that will there is code to look for `AWS_ENDPOINT_URL` environment variable that will
supersede all other configuration. supersede all other configuration. Note that an alternative endpoint may
require passing in a client option to specify an different TLS root certificate
(pass null to disable certificate verification).
Given that credential handling is still very basic, you may want to look at
the [old branch](https://github.com/elerch/aws-sdk-for-zig/tree/aws-crt) if
your needs include something more robust. Note that that branch supports
x86_64 linux only.
## Limitations ## Limitations
@ -44,8 +50,7 @@ Only environment variable based credentials can be used at the moment.
TODO List: TODO List:
* Fix failure on rest_json_1_work_with_lambda test * Move to new Docker image for CI/CD
* Add certificate verification
* Add STS key support * Add STS key support
* Implement credentials provider * Implement credentials provider
* Implement jitter/exponential backoff * Implement jitter/exponential backoff