aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/jsonrpc_macro
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc/jsonrpc_macro')
-rw-r--r--jsonrpc/jsonrpc_macro/Cargo.toml9
-rw-r--r--jsonrpc/jsonrpc_macro/src/lib.rs2
2 files changed, 4 insertions, 7 deletions
diff --git a/jsonrpc/jsonrpc_macro/Cargo.toml b/jsonrpc/jsonrpc_macro/Cargo.toml
index 17140c5..f0af550 100644
--- a/jsonrpc/jsonrpc_macro/Cargo.toml
+++ b/jsonrpc/jsonrpc_macro/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "karyon_jsonrpc_macro"
-version.workspace = true
+version.workspace = true
edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -10,15 +10,12 @@ proc-macro = true
[features]
default = ["smol"]
-smol = ["karyon_jsonrpc_internal/smol"]
-tokio = ["karyon_jsonrpc_internal/tokio"]
+smol = []
+tokio = []
[dependencies]
-karyon_jsonrpc_internal = { path = "../jsonrpc_internal", default-features = false }
-
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ["full"] }
serde_json = "1.0.114"
-
diff --git a/jsonrpc/jsonrpc_macro/src/lib.rs b/jsonrpc/jsonrpc_macro/src/lib.rs
index f2015d4..c3d51e8 100644
--- a/jsonrpc/jsonrpc_macro/src/lib.rs
+++ b/jsonrpc/jsonrpc_macro/src/lib.rs
@@ -39,7 +39,7 @@ pub fn rpc_impl(_attr: TokenStream, item: TokenStream) -> TokenStream {
let item2: TokenStream2 = item.into();
let quoted = quote! {
- karyon_jsonrpc_internal::impl_rpc_service!(#self_ty, #(#methods),*);
+ karyon_jsonrpc::impl_rpc_service!(#self_ty, #(#methods),*);
#item2
};