Git Product home page Git Product logo

openssl-src-rs's Introduction

openssl-src

This crate contains the logic to build OpenSSL and is intended to be consumed by the openssl-sys crate. You likely in theory aren't interacting with this too much!

Versioning

There are currently two maintained branches, matching the two maintained OpenSSL versions:

  • main which builds OpenSSL 3.1
  • release/111 which builds OpenSSL 1.1.1

The crates versions follow the X.Y.Z+B pattern:

  • The major version X is the upstream OpenSSL version:
    • 111 for 1.1.1
    • 300 for 3.0 (to be higher than 111)
  • The minor Y and patch Z versions are incremented when making changes to the crate, either OpenSSL update or internal changes.
  • B contains the full upstream OpenSSL version, like 1.1.1k or 3.0.7. Note that this field is actually ignored in comparisons and only there for documentation.

Windows MSVC Assembly

Building OpenSSL for windows-msvc targets, users can choose whether to enable assembly language routines, which requires nasm.
The build process will automatically detect whether nasm.exe is installed in PATH. If found, the assembly language routines will be enabled (in other words, the no-asm option will NOT be configured).

You can manipulate this behavior by setting the OPENSSL_RUST_USE_NASM environment variable:

  • 1: Force enable the assembly language routines. (panic if nasm.exe is not available.)
  • 0: Force disable the assembly language routines even if the nasm.exe can be found in PATH.
  • not set: Let the build process automatically detect whether nasm.exe is installed. If found, enable. If not, disable.

However, this environment variable does NOT take effects on non-windows platforms.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in openssl-src by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

openssl-src-rs's People

Contributors

alex avatar alexcrichton avatar amousset avatar arrtchiu avatar bdragon28 avatar bromptonian avatar cssivision avatar dependabot-preview[bot] avatar eaufavor avatar ehuss avatar eycorsican avatar he32 avatar heiher avatar hunterlxt avatar jedzia avatar kanegreen avatar kiron1 avatar lukateras avatar lupine avatar messense avatar mon avatar msizanoen1 avatar oblique avatar pkubaj avatar ryansroberts avatar sercand avatar sfackler avatar shepmaster avatar tomaka avatar wez avatar

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.