Skip to content

Commit

Permalink
Merge pull request #249 from mikeee/rm-macro-dep
Browse files Browse the repository at this point in the history
chore: remove macro dep from main crate
  • Loading branch information
mikeee authored Nov 25, 2024
2 parents 1ac0191 + 1d88e20 commit 4da565c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ resolver = "2"

[workspace.dependencies]
async-trait = "0.1"

dapr-macros = { path = "./dapr-macros" }

prost = "0.13.1"
prost-build = "0.13.1"
prost-types = "0.13.1"
Expand Down
4 changes: 2 additions & 2 deletions dapr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ async-trait = { workspace = true }
axum = "0.7"
bytes = "1.7"
chrono = "0.4"
dapr-macros = { workspace = true }
futures = "0.3"
log = "0.4"
prost = { workspace = true }
Expand All @@ -28,9 +27,10 @@ tokio-util = { workspace = true, features = ["io"] }


[dev-dependencies]
axum-test = "15.3"
axum-test = "16.4.0"
once_cell = "1.19"
dapr = { path = "./" }
dapr-macros = { path = "../dapr-macros" }
tokio = { workspace = true, features = ["full"] }
uuid = { version = "1.10", features = ["v4"] }
tokio-test = { workspace = true }
Expand Down
3 changes: 0 additions & 3 deletions dapr/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#![doc = include_str!("../README.md")]

extern crate dapr_macros;

pub use serde;
pub use serde_json;

pub use client::Client;
pub use dapr_macros::actor;

/// Module containing the Dapr Callback SDK.
pub mod appcallback;
Expand Down
1 change: 1 addition & 0 deletions dapr/src/server/actor/tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(test)]
use std::{collections::HashMap, sync::Arc};

use async_trait::async_trait;
Expand Down

0 comments on commit 4da565c

Please sign in to comment.