Skip to content

Commit

Permalink
add tsl vendored features
Browse files Browse the repository at this point in the history
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
  • Loading branch information
YangKeao committed Dec 14, 2021
1 parent 2bea73f commit c675d86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ jobs:
- name: Install Cross
if: ${{ contains(matrix.target, 'aarch64') }}
run: cargo install cross

- name: Install Cross Build openssl
if: ${{ contains(matrix.target, 'aarch64') }}
run: |
sudo dpkg --add-architecture arm64
sudo apt-get update
sudo apt-get install --assume-yes libssl-dev libssl-dev:arm64

- name: Run cargo build
if: ${{ contains(matrix.target, 'aarch64') }}
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ flamegraph = ["inferno"]
protobuf = ["prost", "prost-derive", "prost-build"]
cpp = ["symbolic-demangle/cpp"]

pyroscope = ["reqwest"]
pyroscope = ["reqwest", "reqwest/default-tls"]
pyroscope-tokio = ["tokio"]

tls-vendored = ["reqwest/native-tls-vendored"]

[dependencies]
backtrace = "0.3"
lazy_static = "1.4"
Expand All @@ -35,7 +37,7 @@ inferno = { version = "0.10", default-features = false, features = ["nameattr"],
prost = { version = "0.9", optional = true }
prost-derive = { version = "0.9", optional = true }
criterion = {version = "0.3", optional = true}
reqwest = {version = "0.11", optional = true}
reqwest = {version = "0.11", optional = true, default-features = false}
tokio = {version = "1.13", optional = true, features = ["macros", "sync"]}

[dependencies.symbolic-demangle]
Expand Down

0 comments on commit c675d86

Please sign in to comment.