Skip to content

Commit

Permalink
fix(deps): remove unused openssl (#2881)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 authored Sep 22, 2024
1 parent e0216b3 commit 574adba
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 152 deletions.
156 changes: 18 additions & 138 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions examples/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

# Function to print an error message and exit
error_exit() {
echo "Error: $1" >&2
exit 1
echo "Error: $1" >&2
exit 1
}

# Function to check files with the specified extensions using tailcall
check_files() {
local path="./examples"
local depth=1
local -a extensions=("-name" "*.json" -o "-name" "*.yml" -o "-name" "*.yaml" -o "-name" "*.graphql" -o "-name" "*.gql")
local command="./target/debug/tailcall check"
local -a ignore=("!" "-name" "grpc-reflection.graphql")
local path="./examples"
local depth=1
local -a extensions=("-name" "*.json" -o "-name" "*.yml" -o "-name" "*.yaml" -o "-name" "*.graphql" -o "-name" "*.gql")
local command="./target/debug/tailcall check"
local -a ignore=("!" "-name" "grpc-reflection.graphql" "!" "-name" "generate.yml")

# Execute find command with constructed options and extensions
find "$path" -maxdepth "$depth" \( "${extensions[@]}" \) "${ignore[@]}" -exec sh -c '
# Execute find command with constructed options and extensions
find "$path" -maxdepth "$depth" \( "${extensions[@]}" \) "${ignore[@]}" -exec sh -c '
for file; do
echo "Checking file: $file"
'"$command"' "$file" || exit 255
Expand All @@ -27,7 +27,7 @@ check_files() {

# Main script execution
main() {
check_files
check_files
}

# Start the script
Expand Down
10 changes: 6 additions & 4 deletions tailcall-tracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
reqwest = { workspace = true }
reqwest = { workspace = true, features = [
"json",
"rustls-tls",
], default-features = false }
derive_more = { workspace = true }
url = { workspace = true }
lazy_static.workspace = true
serde = { workspace = true }
serde_json = { workspace = true }
machineid-rs = "1.2.4"
tokio = { workspace = true, features = ["rt", "macros"] }
tokio = { workspace = true, features = ["rt", "time"] }
tracing = { workspace = true }
sysinfo = "0.31.0"
tailcall-version = { path = "../tailcall-version" }
posthog-rs = "0.2.2"
posthog-rs = { git = "https://github.com/PostHog/posthog-rs.git", rev = "a006a81419031e4889d9c3882d7458d2efa588a8" }
async-trait = "0.1.81"
chrono = "0.4.38"
openssl = { version = "0.10", features = ["vendored"] }
whoami = "1.5.2"
strum = "0.26.3"

1 comment on commit 574adba

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 11.95ms 4.83ms 127.38ms 89.15%
Req/Sec 2.13k 256.71 2.82k 84.33%

254222 requests in 30.03s, 1.27GB read

Requests/sec: 8466.08

Transfer/sec: 43.45MB

Please sign in to comment.