Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and leo91000 committed Dec 25, 2023
1 parent 8aebeed commit 554a4c0
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 65 deletions.
68 changes: 46 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,63 @@ keywords = []
categories = []

[workspace]
members = [
"crates/*",
"xtask"
]
members = ["crates/*", "xtask"]

[workspace.dependencies]
tokio = { version = "1.35.1" }
serde = { version = "1.0.193", features = ["derive"] }
json5 = "0.4.1"
nom = "7.1.3"
serde_json = "1.0.108"
serde_qs = "0.12.0"
thiserror = "1.0.51"
chrono = { version = "0.4.31", features = ["serde"] }
sqlx = { version = "0.7.3", features = ["chrono", "postgres", "json"] }
getset = "0.1.2"
tracing = "0.1.40"
once_cell = "1.19.0"
anyhow = "1.0.76"
cfg-if = "1.0.0"
futures = "0.3.30"

[features]
default = ["runtime-tokio-native-tls"]
runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls", "tokio", "archimedes_crontab_runner/runtime-tokio-rustls", "archimedes_migrations/runtime-tokio-rustls"]
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls", "tokio", "archimedes_crontab_runner/runtime-tokio-native-tls", "archimedes_migrations/runtime-tokio-native-tls"]
runtime-tokio-rustls = [
"sqlx/runtime-tokio-rustls",
"tokio",
"archimedes_crontab_runner/runtime-tokio-rustls",
"archimedes_migrations/runtime-tokio-rustls",
]
runtime-tokio-native-tls = [
"sqlx/runtime-tokio-native-tls",
"tokio",
"archimedes_crontab_runner/runtime-tokio-native-tls",
"archimedes_migrations/runtime-tokio-native-tls",
]
# For now we don't support async std
# runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls"]
# runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"]

[dependencies]
archimedes_crontab_runner = { path = "./crates/crontab_runner" , version = "0.4.2" }
archimedes_crontab_types = { path = "./crates/crontab_types" , version = "0.4.0" }
archimedes_crontab_parser = { path = "./crates/crontab_parser" , version = "0.4.2" }
archimedes_migrations = { path = "./crates/migrations" , version = "0.2.4" }
archimedes_shutdown_signal = { path = "./crates/shutdown_signal" , version = "0.2.4" }
chrono = { version = "0.4.24", features = ["serde"] }
futures = "0.3.28"
archimedes_crontab_runner = { path = "./crates/crontab_runner", version = "0.4.2" }
archimedes_crontab_types = { path = "./crates/crontab_types", version = "0.4.0" }
archimedes_crontab_parser = { path = "./crates/crontab_parser", version = "0.4.2" }
archimedes_migrations = { path = "./crates/migrations", version = "0.2.4" }
archimedes_shutdown_signal = { path = "./crates/shutdown_signal", version = "0.2.4" }
chrono = { version = "0.4.31", features = ["serde"] }
futures = "0.3.30"
getset = "0.1.2"
num_cpus = "1.15.0"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
sqlx = { version = "0.6.3", features = ["postgres", "json", "chrono"] }
thiserror = "1.0.40"
tracing = "0.1.38"
tokio = { version = "1.28.0", features = ["macros", "signal"], optional = true }
num_cpus = "1.16.0"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
sqlx = { version = "0.7.3", features = ["postgres", "json", "chrono"] }
thiserror = "1.0.51"
tracing = "0.1.40"
tokio = { version = "1.35.1", features = ["macros", "signal"], optional = true }
rand = "0.8.5"
hex = "0.4.3"
cfg-if = "1.0.0"

[dev-dependencies]
tokio = { version = "1.28.0", features = ["macros"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
14 changes: 7 additions & 7 deletions crates/crontab_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ categories = []
readme = "README.md"

[dependencies]
archimedes_crontab_types = { path = "../crontab_types" , version = "0.4.0" }
json5 = "0.4.1"
nom = "7.1.3"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
serde_qs = "0.12.0"
thiserror = "1.0.40"
archimedes_crontab_types = { path = "../crontab_types", version = "0.4.0" }
json5 = { workspace = true }
nom = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_qs = { workspace = true }
thiserror = { workspace = true }
22 changes: 11 additions & 11 deletions crates/crontab_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls", "tokio"]
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls", "tokio"]

[dependencies]
archimedes_crontab_types = { path = "../crontab_types" , version = "0.4.0" }
archimedes_shutdown_signal = { path = "../shutdown_signal" , version = "0.2.4" }
chrono = { version = "0.4.24", features = ["serde"] }
sqlx = { version = "0.6.3", features = ["chrono", "postgres", "json"] }
thiserror = "1.0.40"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
getset = "0.1.2"
tracing = "0.1.38"
once_cell = "1.17.1"
tokio = { version = "1.28.0", features = ["time"], optional = true }
archimedes_crontab_types = { path = "../crontab_types", version = "0.4.0" }
archimedes_shutdown_signal = { path = "../shutdown_signal", version = "0.2.4" }
chrono = { workspace = true }
sqlx = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
getset = { workspace = true }
tracing = { workspace = true }
once_cell = { workspace = true }
tokio = { workspace = true, features = ["time"], optional = true }
8 changes: 4 additions & 4 deletions crates/crontab_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
chrono = "0.4.24"
getset = "0.1.2"
serde_json = "1.0.96"
chrono = { workspace = true }
getset = { workspace = true }
serde_json = { workspace = true }

[dev-dependencies]
anyhow = "1.0.70"
anyhow = { workspace = true }
6 changes: 3 additions & 3 deletions crates/migrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"]
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"]

[dependencies]
sqlx = { version = "0.6.3", features = ["postgres"] }
tracing = "0.1.38"
sqlx = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
tokio = "1.28.0"
tokio = { workspace = true }
11 changes: 7 additions & 4 deletions crates/migrations/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ where
);

let mut tx = executor.begin().await?;
query(&create_schema_query).execute(&mut tx).await?;
query(&create_schema_query).execute(tx.as_mut()).await?;
query(&create_migration_table_query)
.execute(&mut tx)
.execute(tx.as_mut())
.await?;
tx.commit().await?;

Expand Down Expand Up @@ -113,11 +113,14 @@ where

for migration_statement in migration_statements.iter() {
let sql = migration_statement.replace(":ARCHIMEDES_SCHEMA", escaped_schema);
query(sql.as_str()).execute(&mut tx).await?;
query(sql.as_str()).execute(tx.as_mut()).await?;
}

let sql = format!("insert into {escaped_schema}.migrations (id) values ($1)");
query(&sql).bind(migration_number).execute(&mut tx).await?;
query(&sql)
.bind(migration_number)
.execute(tx.as_mut())
.await?;

tx.commit().await?;
}
Expand Down
8 changes: 4 additions & 4 deletions crates/shutdown_signal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/leo91000/archimedes/crates/shutdown_signal"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cfg-if = "1.0.0"
futures = "0.3.28"
tokio = { version = "1.28.0", features = ["signal", "macros"] }
tracing = "0.1.38"
cfg-if = { workspace = true }
futures = { workspace = true }
tokio = { workspace = true, features = ["signal", "macros"] }
tracing = { workspace = true }
20 changes: 10 additions & 10 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ description = "Archimedes helper tasks CLI"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.70"
chrono = "0.4.24"
clap = { version = "4.2.5", features = ["derive"] }
anyhow = "1.0.76"
chrono = "0.4.31"
clap = { version = "4.4.11", features = ["derive"] }
derive_more = "0.99.17"
glob = "0.3.1"
itertools = "0.10.5"
once_cell = "1.17.1"
percent-encoding = "2.2.0"
regex = "1.8.1"
serde = { version = "1.0.160", features = ["derive"] }
itertools = "0.12.0"
once_cell = "1.19.0"
percent-encoding = "2.3.1"
regex = "1.10.2"
serde = { version = "1.0.193", features = ["derive"] }
structstruck = "0.4.1"
toml = "0.7.3"
toml_edit = { version = "0.19.8", features = ["serde"] }
toml = "0.8.8"
toml_edit = { version = "0.21.0", features = ["serde"] }

0 comments on commit 554a4c0

Please sign in to comment.