diff --git a/Cargo.lock b/Cargo.lock index 610280c..7566ac2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -990,7 +990,7 @@ dependencies = [ [[package]] name = "paladin-core" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "async-trait", @@ -1000,7 +1000,7 @@ dependencies = [ "futures", "lapin", "num-traits", - "paladin-opkind-derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "paladin-opkind-derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "pin-project", "serde", "tokio", @@ -1014,7 +1014,7 @@ dependencies = [ [[package]] name = "paladin-opkind-derive" -version = "0.1.0" +version = "0.1.1" dependencies = [ "quote", "syn", @@ -1022,9 +1022,9 @@ dependencies = [ [[package]] name = "paladin-opkind-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52db5917dc6613839e99f55194fa6049b919906aad4a558076864fb6d524315b" +checksum = "c5e25b58dbb19317d61c5f812c78908b14eed74c20ca60c12bbd50a1d7f297f5" dependencies = [ "quote", "syn", diff --git a/examples/hello-world-rabbitmq/Cargo.lock b/examples/hello-world-rabbitmq/Cargo.lock index db0187c..2bae297 100644 --- a/examples/hello-world-rabbitmq/Cargo.lock +++ b/examples/hello-world-rabbitmq/Cargo.lock @@ -976,8 +976,6 @@ name = "ops" version = "0.1.0" dependencies = [ "anyhow", - "async-trait", - "futures", "paladin-core", "serde", ] @@ -1007,7 +1005,7 @@ dependencies = [ [[package]] name = "paladin-core" -version = "0.1.0" +version = "0.1.3" dependencies = [ "anyhow", "async-trait", @@ -1030,9 +1028,9 @@ dependencies = [ [[package]] name = "paladin-opkind-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52db5917dc6613839e99f55194fa6049b919906aad4a558076864fb6d524315b" +checksum = "c5e25b58dbb19317d61c5f812c78908b14eed74c20ca60c12bbd50a1d7f297f5" dependencies = [ "quote", "syn", diff --git a/examples/hello-world-rabbitmq/ops/Cargo.toml b/examples/hello-world-rabbitmq/ops/Cargo.toml index 3cee420..de48cc7 100644 --- a/examples/hello-world-rabbitmq/ops/Cargo.toml +++ b/examples/hello-world-rabbitmq/ops/Cargo.toml @@ -8,7 +8,5 @@ edition = "2021" [dependencies] serde = "1.0.183" anyhow = "1.0.75" -futures = "0.3.28" -async-trait = "0.1.73" paladin-core = { path = "../../../paladin-core" } diff --git a/paladin-core/Cargo.toml b/paladin-core/Cargo.toml index b780a71..d4e1aac 100644 --- a/paladin-core/Cargo.toml +++ b/paladin-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paladin-core" -version = "0.1.2" +version = "0.1.3" description = "A Rust distributed algorithm toolkit. Write distributed algorithms without the complexities of distributed systems programming." license.workspace = true edition.workspace = true @@ -29,7 +29,7 @@ futures = "0.3.28" uuid = { version = "1.4.1", features = ["v4", "fast-rng"] } clap = { version = "4.4.2", features = ["derive", "env"] } pin-project = "1.1.3" -paladin-opkind-derive = "0.1.0" +paladin-opkind-derive = "0.1.1" [dev-dependencies] # Required for certain doc tests which showcase generic numeric operations diff --git a/paladin-core/src/lib.rs b/paladin-core/src/lib.rs index 05f2c44..89e281f 100644 --- a/paladin-core/src/lib.rs +++ b/paladin-core/src/lib.rs @@ -277,3 +277,5 @@ pub mod task; pub mod opkind_derive { pub use paladin_opkind_derive::*; } +pub use async_trait::async_trait; +pub use futures;