Skip to content

Commit 4da565c

Browse files
authored
Merge pull request #249 from mikeee/rm-macro-dep
chore: remove macro dep from main crate
2 parents 1ac0191 + 1d88e20 commit 4da565c

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ resolver = "2"
1212

1313
[workspace.dependencies]
1414
async-trait = "0.1"
15-
16-
dapr-macros = { path = "./dapr-macros" }
17-
1815
prost = "0.13.1"
1916
prost-build = "0.13.1"
2017
prost-types = "0.13.1"

dapr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ async-trait = { workspace = true }
1515
axum = "0.7"
1616
bytes = "1.7"
1717
chrono = "0.4"
18-
dapr-macros = { workspace = true }
1918
futures = "0.3"
2019
log = "0.4"
2120
prost = { workspace = true }
@@ -28,9 +27,10 @@ tokio-util = { workspace = true, features = ["io"] }
2827

2928

3029
[dev-dependencies]
31-
axum-test = "15.3"
30+
axum-test = "16.4.0"
3231
once_cell = "1.19"
3332
dapr = { path = "./" }
33+
dapr-macros = { path = "../dapr-macros" }
3434
tokio = { workspace = true, features = ["full"] }
3535
uuid = { version = "1.10", features = ["v4"] }
3636
tokio-test = { workspace = true }

dapr/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#![doc = include_str!("../README.md")]
22

3-
extern crate dapr_macros;
4-
53
pub use serde;
64
pub use serde_json;
75

86
pub use client::Client;
9-
pub use dapr_macros::actor;
107

118
/// Module containing the Dapr Callback SDK.
129
pub mod appcallback;

dapr/src/server/actor/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[cfg(test)]
12
use std::{collections::HashMap, sync::Arc};
23

34
use async_trait::async_trait;

0 commit comments

Comments
 (0)