Giter VIP home page Giter VIP logo

aws-crt-ruby's Introduction

AWS Common Runtime for Ruby

aws-crt Gem Version Build Status Github forks Github stars

Installation

AWS CRT bindings are in developer preview and are available from RubyGems as the aws-crt gem. You can install them by adding the aws-crt gem to your Gemfile.

Sigv4a is an extension to Sigv4 that allows signatures that are valid in more than one region. Sigv4a is required to use some services/operations such as S3 Multi-Region Access Points. Currently sigv4a requires the aws-crt gem and a version of the aws-sigv4 gem built on top of aws-crt (at least version 1.5.0):

gem 'aws-sdk-s3', '~> 1'
gem 'aws-sigv4', '~> 1' # must be at least 1.5.0
gem 'aws-crt'

Versioning

This project uses semantic versioning. You can safely express a dependency on a major version and expect all minor and patch versions to be backwards compatible.

A CHANGELOG can be found at each gem's root path (i.e. aws-crt can be found at gems/aws-crt/CHANGELOG.md). The CHANGELOG is also accessible via the RubyGems.org page under "LINKS" section.

Maintenance and support for SDK major versions

For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide:

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

aws-crt-ruby's People

Contributors

alextwoods avatar amazon-auto avatar graebm avatar ilevyor avatar jmklix avatar khushail avatar mullermp avatar tingdaok avatar waahm7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-crt-ruby's Issues

Segmentation fault with alpine

Howdy! I've tried aws-crt with multiple ruby versions & multiple alpine versions & end up with segmentation fault each time. In this gist you can see logs from the segmentation fault https://gist.github.com/rezen/eb54ea3e972b09bfae153f2534729dbf

Steps to Reproduce

Create Dockerfile

FROM ruby:3.1.2-alpine3.16

ENV LAMBDA_TASK_ROOT=/var/task
ENV LAMBDA_RUNTIME_DIR=/var/runtime
ENV CRT=true

RUN apk --no-cache  add build-base cmake libffi-dev git bash libstdc++ gcc g++ make gcompat musl
RUN gem install aws_lambda_ric aws-crt:0.1.5 aws-sigv4
RUN ruby -e "require 'aws-sigv4'"

Build image.

docker build -t aws-crt-sad-alpine . > log.txt 2>&1

Remove aws-sigv4 from this repo + other cleanup

aws-crt is used in the public aws-sigv4 gem when it's available at runtime: https://github.com/aws/aws-sdk-ruby/blob/aa557ed06bb8be69400c3bf8d21e5430b34abfb9/gems/aws-sigv4/lib/aws-sigv4/signer.rb#L835-L842

The version in this repo was when we had a separate versioning strategy, such as version "1.4.1.crt". It's otherwise confusing to have it here. All references to aws-sigv4 in this repo should be deleted. Possibly also the "gems" folder as we only need one gem - aws-crt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.