Crates.io | tongsuo-src |
lib.rs | tongsuo-src |
version | 833.0.2+8.3.3 |
source | src |
created_at | 2023-01-20 12:58:03.005278 |
updated_at | 2024-02-29 10:42:42.205886 |
description | Source of Tongsuo and logic to build it. |
homepage | |
repository | https://github.com/zh-jq/tongsuo-src-rs.git |
max_upload_size | |
id | 763364 |
size | 24,889,793 |
This crate contains the logic to build Tongsuo and is intended to be consumed by
the openssl-sys
crate. You likely in theory aren't interacting with this too
much!
This crate is based on openssl-src-rs.
This project is licensed under either of
at your option.
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
availible.)0
: Force disable the assembly language routines even if the nasm.exe
can be
found in PATH.nasm.exe
is
installed. If found, enable. If not, disable.
However, this environment variable does not take effects on non-windows platforms.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.