Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies #587

Merged
merged 4 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,23 @@ downcast-rs = "1.2"
flume = "0.11"
futures = "0.3"
gumdrop = "0.8"
http = "1.0"
http = "1.1"
itertools = "0.12"
lazy_static = "1.4"
log = "0.4"
num-format = "0.4"
rand = "0.8"
regex = "1"
reqwest = { version = "0.11", default-features = false, features = [
reqwest = { version = "0.12", default-features = false, features = [
"cookies",
"gzip",
"json",
] }
serde = { version = "1.0", features = [
"derive",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simplelog = "0.12"
strum = "0.25"
strum_macros = "0.25"
strum = "0.26"
strum_macros = "0.26"
tokio = { version = "1", features = [
"fs",
"io-util",
Expand All @@ -47,8 +45,8 @@ tokio = { version = "1", features = [
"time",
"sync",
] }
tokio-tungstenite = "0.20"
tungstenite = "0.20"
tokio-tungstenite = "0.21"
tungstenite = "0.21"
url = "2"

[features]
Expand All @@ -58,6 +56,6 @@ rustls-tls = ["reqwest/rustls-tls", "tokio-tungstenite/rustls"]
[dev-dependencies]
httpmock = "0.6"
native-tls = "0.2"
nix = "0.27"
nix = { version = "0.27", features = ["signal"] }
rustls = "0.22"
serial_test = "2.0"
2 changes: 1 addition & 1 deletion examples/umami/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ pub fn random_words(count: usize, english: bool) -> Vec<String> {

for _ in 0..count {
// Randomly select a content type, favoring articles and recipes.
let content_types = vec![
let content_types = [
ContentType::Article,
ContentType::Article,
ContentType::Article,
Expand Down
2 changes: 1 addition & 1 deletion examples/umami/english.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub async fn basic_page_en(user: &mut GooseUser) -> TransactionResult {
/// Load a random node by nid in English and all static assets found on the page.
pub async fn page_by_nid(user: &mut GooseUser) -> TransactionResult {
// Randomly select a content type.
let content_types = vec![
let content_types = [
common::ContentType::Article,
common::ContentType::BasicPage,
common::ContentType::Recipe,
Expand Down
Loading