[package] name = "archimedes" version = "0.4.0" edition = "2021" license = "MIT" description = "High performance Rust/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)" homepage = "https://docs.rs/archimedes" documentation = "https://docs.rs/archimedes" repository = "https://github.com/leo91000/archimedes" readme = "README.md" keywords = [] categories = [] [workspace] members = ["crates/*", "xtask"] [workspace.dependencies] tokio = { version = "1.35.1" } tokio-util = { version = "0.7.10" } serde = { version = "1.0.193", features = ["derive"] } json5 = "0.4.1" nom = "7.1.3" serde_json = "1.0.109" serde_qs = "0.12.0" thiserror = "1.0.53" 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.78" cfg-if = "1.0.0" futures = "0.3.30" syn = "2.0.44" quote = "1.0.34" [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", ] # 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.5.0" } archimedes_crontab_types = { path = "./crates/crontab_types", version = "0.5.0" } archimedes_crontab_parser = { path = "./crates/crontab_parser", version = "0.5.0" } archimedes_migrations = { path = "./crates/migrations", version = "0.3.0" } archimedes_macros = { path = "./crates/macros", version = "0.2.0" } archimedes_task_handler = { path = "./crates/task_handler", version = "0.2.0" } archimedes_shutdown_signal = { path = "./crates/shutdown_signal", version = "0.3.0" } chrono = { version = "0.4.31", features = ["serde"] } futures = "0.3.30" getset = "0.1.2" num_cpus = "1.16.0" serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.109" sqlx = { version = "0.7.3", features = ["postgres", "json", "chrono"] } thiserror = "1.0.53" 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.35.1", features = ["macros", "rt-multi-thread"] } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }