2015-07-30 19:48:38 -04:00
|
|
|
[package]
|
|
|
|
authors = ["Brian Smith <brian@briansmith.org>"]
|
|
|
|
build = "build.rs"
|
2017-02-10 13:59:36 -10:00
|
|
|
categories = ["cryptography", "no-std"]
|
2016-08-15 15:45:47 -10:00
|
|
|
description = "Safe, fast, small crypto using Rust."
|
2016-08-12 10:23:02 -10:00
|
|
|
documentation = "https://briansmith.org/rustdoc/ring/"
|
2017-01-21 23:32:57 -10:00
|
|
|
keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"]
|
2015-07-30 19:48:38 -04:00
|
|
|
license-file = "LICENSE"
|
2015-08-11 13:57:59 -04:00
|
|
|
name = "ring"
|
2018-11-06 10:53:07 -10:00
|
|
|
readme = "doc/link-to-readme.md"
|
2015-07-30 19:48:38 -04:00
|
|
|
repository = "https://github.com/briansmith/ring"
|
2018-11-28 08:44:57 -10:00
|
|
|
version = "0.14.0"
|
2017-05-08 15:57:05 -10:00
|
|
|
|
|
|
|
# Prevent multiple versions of *ring* from being linked into the same program.
|
|
|
|
links = "ring-asm"
|
2015-07-30 19:48:38 -04:00
|
|
|
|
2016-08-14 20:39:12 -10:00
|
|
|
exclude = [
|
|
|
|
# The presence of .gitignore is used to differentiate non-packaged builds
|
|
|
|
# from packaged builds in build.rs.
|
2017-03-18 10:16:16 -10:00
|
|
|
".gitignore",
|
|
|
|
"pregenerated/tmp",
|
2016-08-14 20:39:12 -10:00
|
|
|
]
|
|
|
|
include = [
|
|
|
|
"LICENSE",
|
|
|
|
"Cargo.toml",
|
|
|
|
|
2017-03-16 12:43:18 -10:00
|
|
|
"pregenerated/*",
|
2016-08-14 20:39:12 -10:00
|
|
|
|
|
|
|
"build.rs",
|
|
|
|
|
2018-05-07 13:04:56 -10:00
|
|
|
"crypto/chacha/asm/chacha-armv4.pl",
|
|
|
|
"crypto/chacha/asm/chacha-armv8.pl",
|
|
|
|
"crypto/chacha/asm/chacha-x86.pl",
|
|
|
|
"crypto/chacha/asm/chacha-x86_64.pl",
|
|
|
|
"crypto/cipher_extra/asm/aes128gcmsiv-x86_64.pl",
|
|
|
|
"crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt",
|
|
|
|
"crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt",
|
|
|
|
"crypto/constant_time_test.c",
|
|
|
|
"crypto/cpu-aarch64-linux.c",
|
|
|
|
"crypto/cpu-arm-linux.c",
|
|
|
|
"crypto/cpu-arm.c",
|
|
|
|
"crypto/cpu-intel.c",
|
|
|
|
"crypto/crypto.c",
|
|
|
|
"crypto/curve25519/asm/x25519-asm-arm.S",
|
|
|
|
"crypto/fipsmodule/aes/aes.c",
|
|
|
|
"crypto/fipsmodule/aes/asm/aes-586.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aes-armv4.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aes-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aesni-x86.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aesni-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aesv8-armx.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/bsaes-armv7.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/bsaes-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/vpaes-x86.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/vpaes-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/aes/internal.h",
|
|
|
|
"crypto/fipsmodule/bn/asm/armv4-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/armv8-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86_64-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86_64-mont5.pl",
|
|
|
|
"crypto/fipsmodule/bn/exponentiation.c",
|
|
|
|
"crypto/fipsmodule/bn/generic.c",
|
|
|
|
"crypto/fipsmodule/bn/internal.h",
|
|
|
|
"crypto/fipsmodule/bn/montgomery.c",
|
|
|
|
"crypto/fipsmodule/bn/montgomery_inv.c",
|
|
|
|
"crypto/fipsmodule/bn/shift.c",
|
|
|
|
"crypto/fipsmodule/cipher/e_aes.c",
|
|
|
|
"crypto/fipsmodule/cipher/internal.h",
|
|
|
|
"crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl",
|
|
|
|
"crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl",
|
|
|
|
"crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl",
|
|
|
|
"crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz.c",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz.h",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz256.c",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz256.h",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz256_table.inl",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz384.h",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz384.inl",
|
|
|
|
"crypto/fipsmodule/ec/gfp_p256.c",
|
|
|
|
"crypto/fipsmodule/ec/gfp_p384.c",
|
|
|
|
"crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-armv4.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-x86.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghashv8-armx.pl",
|
|
|
|
"crypto/fipsmodule/modes/gcm.c",
|
|
|
|
"crypto/fipsmodule/modes/internal.h",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha256-586.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha256-armv4.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-586.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-armv4.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-armv8.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-x86_64.pl",
|
|
|
|
"crypto/internal.h",
|
|
|
|
"crypto/limbs/limbs.c",
|
|
|
|
"crypto/limbs/limbs.h",
|
|
|
|
"crypto/limbs/limbs.inl",
|
|
|
|
"crypto/mem.c",
|
|
|
|
"crypto/perlasm/arm-xlate.pl",
|
|
|
|
"crypto/perlasm/x86asm.pl",
|
|
|
|
"crypto/perlasm/x86gas.pl",
|
|
|
|
"crypto/perlasm/x86nasm.pl",
|
|
|
|
"crypto/perlasm/x86_64-xlate.pl",
|
|
|
|
"crypto/poly1305/asm/poly1305-armv4.pl",
|
|
|
|
"crypto/poly1305/asm/poly1305-armv8.pl",
|
|
|
|
"crypto/poly1305/asm/poly1305-x86.pl",
|
|
|
|
"crypto/poly1305/asm/poly1305-x86_64.pl",
|
|
|
|
"examples/checkdigest.rs",
|
|
|
|
"include/GFp/aes.h",
|
|
|
|
"include/GFp/arm_arch.h",
|
|
|
|
"include/GFp/base.h",
|
|
|
|
"include/GFp/cpu.h",
|
|
|
|
"include/GFp/mem.h",
|
|
|
|
"include/GFp/type_check.h",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/aead/aes_gcm.rs",
|
2016-08-29 04:09:34 +03:00
|
|
|
"src/aead/aes_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/aead/chacha20_poly1305.rs",
|
2016-10-09 22:05:32 -10:00
|
|
|
"src/aead/chacha20_poly1305_openssh.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/aead/mod.rs",
|
2018-11-26 22:27:03 -10:00
|
|
|
"src/aead/poly1305.rs",
|
|
|
|
"src/aead/poly1305_test.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/agreement.rs",
|
2017-12-24 10:26:41 -10:00
|
|
|
"src/arithmetic/mod.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/arithmetic/montgomery.rs",
|
2016-11-15 12:11:52 -10:00
|
|
|
"src/bits.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/bssl.rs",
|
|
|
|
"src/c.rs",
|
2016-09-15 11:54:05 -10:00
|
|
|
"src/chacha.rs",
|
|
|
|
"src/chacha_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/constant_time.rs",
|
2017-04-29 14:28:25 -10:00
|
|
|
"src/data/alg-rsa-encryption.der",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/debug.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/der.rs",
|
2017-12-24 10:26:41 -10:00
|
|
|
"src/digest/mod.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/digest/sha1.rs",
|
2018-11-06 11:06:27 -10:00
|
|
|
"src/ec/curve25519/ed25519/digest.rs",
|
|
|
|
"src/ec/curve25519/ed25519/mod.rs",
|
|
|
|
"src/ec/curve25519/ed25519/signing.rs",
|
|
|
|
"src/ec/curve25519/ed25519/verification.rs",
|
|
|
|
"src/ec/curve25519/ed25519/ed25519_pkcs8_v2_template.der",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/ec/curve25519/mod.rs",
|
2017-05-01 13:15:10 -10:00
|
|
|
"src/ec/curve25519/ops.rs",
|
|
|
|
"src/ec/curve25519/x25519.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/ec/mod.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/ec/suite_b/curve.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ecdh.rs",
|
2018-05-31 08:21:04 -10:00
|
|
|
"src/ec/suite_b/ecdsa/digest_scalar.rs",
|
2018-05-28 12:18:50 -10:00
|
|
|
"src/ec/suite_b/ecdsa/mod.rs",
|
|
|
|
"src/ec/suite_b/ecdsa/signing.rs",
|
|
|
|
"src/ec/suite_b/ecdsa/verification.rs",
|
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_digest_scalar_tests.txt",
|
|
|
|
"src/ec/suite_b/ecdsa/ecPublicKey_p256_pkcs8_v1_template.der",
|
|
|
|
"src/ec/suite_b/ecdsa/ecPublicKey_p384_pkcs8_v1_template.der",
|
2018-07-15 15:25:45 -10:00
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_sign_asn1_tests.txt",
|
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_sign_fixed_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/ec/suite_b/mod.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/ec/suite_b/ops/elem.rs",
|
2017-12-24 10:26:41 -10:00
|
|
|
"src/ec/suite_b/ops/mod.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256.rs",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p256_elem_mul_tests.txt",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p256_elem_neg_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p256_elem_sum_tests.txt",
|
2017-03-30 17:45:06 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_double_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_base_tests.txt",
|
2017-05-01 13:34:51 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_serialized_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_tests.txt",
|
2017-03-30 18:11:47 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_sum_mixed_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_sum_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p256_scalar_mul_tests.txt",
|
2017-03-26 15:07:48 -10:00
|
|
|
"src/ec/suite_b/ops/p256_scalar_square_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p384.rs",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_div_by_2_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_mul_tests.txt",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_neg_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_elem_sum_tests.txt",
|
2017-03-30 17:45:06 -10:00
|
|
|
"src/ec/suite_b/ops/p384_point_double_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p384_point_mul_base_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_point_mul_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_point_sum_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p384_scalar_mul_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/private_key.rs",
|
|
|
|
"src/ec/suite_b/public_key.rs",
|
|
|
|
"src/ec/suite_b/suite_b_public_key_tests.txt",
|
|
|
|
"src/error.rs",
|
|
|
|
"src/hkdf.rs",
|
|
|
|
"src/hmac.rs",
|
2017-02-17 15:37:36 -10:00
|
|
|
"src/hmac_generate_serializable_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/init.rs",
|
|
|
|
"src/lib.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/limb.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/pbkdf2.rs",
|
2017-04-29 14:28:25 -10:00
|
|
|
"src/pkcs8.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/polyfill.rs",
|
|
|
|
"src/rand.rs",
|
2016-11-25 00:20:50 -10:00
|
|
|
"src/rsa/bigint.rs",
|
2016-12-28 20:52:59 -10:00
|
|
|
"src/rsa/bigint_elem_exp_consttime_tests.txt",
|
2016-12-20 19:41:04 -10:00
|
|
|
"src/rsa/bigint_elem_exp_vartime_tests.txt",
|
2017-02-10 14:13:15 -10:00
|
|
|
"src/rsa/bigint_elem_mul_tests.txt",
|
2017-02-21 09:21:45 -10:00
|
|
|
"src/rsa/bigint_elem_reduced_once_tests.txt",
|
|
|
|
"src/rsa/bigint_elem_reduced_tests.txt",
|
2017-02-11 17:02:59 -10:00
|
|
|
"src/rsa/bigint_elem_squared_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/rsa/convert_nist_rsa_test_vectors.py",
|
|
|
|
"src/rsa/mod.rs",
|
2016-10-24 18:25:06 -10:00
|
|
|
"src/rsa/padding.rs",
|
2016-12-10 20:56:16 -10:00
|
|
|
"src/rsa/random.rs",
|
2017-03-19 08:49:21 -10:00
|
|
|
"src/rsa/rsa_pss_padding_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/rsa/signature_rsa_example_private_key.der",
|
|
|
|
"src/rsa/signature_rsa_example_public_key.der",
|
2016-09-10 22:26:48 -10:00
|
|
|
"src/rsa/signing.rs",
|
|
|
|
"src/rsa/verification.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/signature.rs",
|
2017-05-14 21:39:15 -10:00
|
|
|
"src/signature_impl.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/test.rs",
|
|
|
|
"src/test_1_syntax_error_tests.txt",
|
|
|
|
"src/test_1_tests.txt",
|
|
|
|
"src/test_3_tests.txt",
|
2017-06-08 10:41:05 -10:00
|
|
|
"tests/aead_aes_128_gcm_tests.txt",
|
|
|
|
"tests/aead_aes_256_gcm_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/aead_chacha20_poly1305_tests.txt",
|
|
|
|
"tests/aead_tests.rs",
|
2017-06-08 11:11:05 -10:00
|
|
|
"tests/agreement_tests.rs",
|
|
|
|
"tests/agreement_tests.txt",
|
2017-06-07 11:24:02 -10:00
|
|
|
"tests/digest_tests.rs",
|
|
|
|
"tests/digest_tests.txt",
|
2017-05-14 22:35:40 -10:00
|
|
|
"tests/ecdsa_from_pkcs8_tests.txt",
|
2017-05-13 00:10:26 -10:00
|
|
|
"tests/ecdsa_tests.rs",
|
2018-05-27 10:54:42 -10:00
|
|
|
"tests/ecdsa_sign_asn1_tests.txt",
|
|
|
|
"tests/ecdsa_sign_fixed_tests.txt",
|
2017-05-13 00:10:26 -10:00
|
|
|
"tests/ecdsa_verify_asn1_tests.txt",
|
|
|
|
"tests/ecdsa_verify_fixed_tests.txt",
|
2017-05-07 13:17:57 -10:00
|
|
|
"tests/ed25519_from_pkcs8_tests.txt",
|
|
|
|
"tests/ed25519_from_pkcs8_unchecked_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/ed25519_tests.rs",
|
|
|
|
"tests/ed25519_tests.txt",
|
|
|
|
"tests/ed25519_test_private_key.bin",
|
|
|
|
"tests/ed25519_test_public_key.bin",
|
2017-06-08 11:51:49 -10:00
|
|
|
"tests/hkdf_tests.rs",
|
|
|
|
"tests/hkdf_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/hmac_tests.rs",
|
2017-06-08 11:56:39 -10:00
|
|
|
"tests/hmac_tests.txt",
|
2017-06-07 14:55:26 -10:00
|
|
|
"tests/pbkdf2_tests.rs",
|
2017-09-03 14:39:19 -10:00
|
|
|
"tests/pbkdf2_tests.txt",
|
2017-05-16 17:19:06 -10:00
|
|
|
"tests/rsa_from_pkcs8_tests.txt",
|
2017-05-13 12:15:31 -10:00
|
|
|
"tests/rsa_pkcs1_sign_tests.txt",
|
|
|
|
"tests/rsa_pkcs1_verify_tests.txt",
|
|
|
|
"tests/rsa_primitive_verify_tests.txt",
|
|
|
|
"tests/rsa_pss_sign_tests.txt",
|
|
|
|
"tests/rsa_pss_verify_tests.txt",
|
|
|
|
"tests/rsa_tests.rs",
|
2017-12-27 15:48:43 -10:00
|
|
|
"tests/signature_tests.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"third_party/fiat/curve25519.c",
|
|
|
|
"third_party/fiat/curve25519_tables.h",
|
|
|
|
"third_party/fiat/internal.h",
|
|
|
|
"third_party/fiat/LICENSE",
|
|
|
|
"third_party/fiat/make_curve25519_tables.py",
|
2018-04-30 13:25:42 -10:00
|
|
|
"third_party/NIST/SHAVS/SHA1LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA1Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA1ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512ShortMsg.rsp",
|
2016-08-14 20:39:12 -10:00
|
|
|
]
|
|
|
|
|
2015-07-30 19:48:38 -04:00
|
|
|
[lib]
|
2015-08-11 13:57:59 -04:00
|
|
|
name = "ring"
|
2015-07-30 19:48:38 -04:00
|
|
|
|
2016-05-19 13:39:03 -10:00
|
|
|
[dependencies]
|
2018-07-13 09:18:45 -10:00
|
|
|
untrusted = "0.6.2"
|
2016-05-19 13:39:03 -10:00
|
|
|
|
2018-05-16 11:47:28 -10:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
libc = { version = "0.2.34" }
|
|
|
|
|
2017-03-14 16:47:46 -10:00
|
|
|
[target.'cfg(any(target_os = "redox", all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies]
|
2018-11-05 11:25:24 -10:00
|
|
|
lazy_static = "1.2"
|
2017-03-14 16:47:46 -10:00
|
|
|
|
2017-03-16 12:43:18 -10:00
|
|
|
# Keep this in sync with `[dependencies]` in pregenerate_asm/Cargo.toml.
|
2017-02-07 23:19:36 +01:00
|
|
|
[build-dependencies]
|
2017-02-07 23:29:00 +01:00
|
|
|
# we do not use the gcc parallel feature because we do the
|
|
|
|
# parallelism ourself. This gives us a much higher level of
|
|
|
|
# control about what should be parallised in which way
|
2018-04-04 17:16:25 -10:00
|
|
|
cc = "1.0.9"
|
2017-02-07 23:19:36 +01:00
|
|
|
|
2016-01-07 18:43:41 -10:00
|
|
|
[features]
|
|
|
|
# These features are documented in the top-level module's documentation.
|
2016-07-28 14:46:12 -10:00
|
|
|
default = ["use_heap", "dev_urandom_fallback"]
|
|
|
|
dev_urandom_fallback = []
|
2016-06-28 12:20:13 -10:00
|
|
|
internal_benches = []
|
2017-04-14 21:10:21 -10:00
|
|
|
rsa_signing = ["use_heap"]
|
2016-05-23 09:48:46 -10:00
|
|
|
slow_tests = []
|
2016-04-15 22:41:00 -10:00
|
|
|
test_logging = []
|
2016-06-17 03:26:55 -07:00
|
|
|
use_heap = []
|
2016-01-07 18:43:41 -10:00
|
|
|
|
2017-06-12 10:57:48 -10:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = [ "rsa_signing" ]
|
|
|
|
|
2016-06-06 13:36:08 -10:00
|
|
|
# XXX: debug = false because of https://github.com/rust-lang/rust/issues/34122
|
|
|
|
|
2015-10-26 17:23:59 -10:00
|
|
|
[profile.bench]
|
|
|
|
opt-level = 3
|
2016-06-06 13:36:08 -10:00
|
|
|
debug = false
|
2015-10-26 17:23:59 -10:00
|
|
|
rpath = false
|
|
|
|
lto = true
|
|
|
|
debug-assertions = false
|
|
|
|
codegen-units = 1
|
|
|
|
|
2015-07-30 19:48:38 -04:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
2016-06-06 13:36:08 -10:00
|
|
|
debug = false
|
2015-07-30 19:48:38 -04:00
|
|
|
rpath = false
|
|
|
|
lto = true
|
|
|
|
debug-assertions = false
|
|
|
|
codegen-units = 1
|