mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
02c74fb709
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value.
24 lines
659 B
TOML
24 lines
659 B
TOML
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_tls"
|
|
version = "0.1.0"
|
|
authors = ["the Deno authors"]
|
|
edition = "2018"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/denoland/deno"
|
|
description = "TLS for Deno"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
deno_core = { version = "0.95.0", path = "../../core" }
|
|
lazy_static = "1.4.0"
|
|
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
|
rustls = "0.19.0"
|
|
rustls-native-certs = "0.5.0"
|
|
serde = { version = "1.0.126", features = ["derive"] }
|
|
webpki = "0.21.4"
|
|
webpki-roots = "0.21.1"
|