diff options
author | hozan23 <hozan23@karyontech.net> | 2024-05-19 22:18:06 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-05-19 22:18:06 +0200 |
commit | 1c520b20f70ddbdab885ec6c4bf5c87893a26eb4 (patch) | |
tree | 0e51b047e1df0b29fecdc5c39b200d5ecca520ef /jsonrpc/jsonrpc_macro | |
parent | 41ceed49285b4082477a83d7dda02fbfb3f96b2a (diff) |
jsonrpc: remove jsonrpc_internal crate
Diffstat (limited to 'jsonrpc/jsonrpc_macro')
-rw-r--r-- | jsonrpc/jsonrpc_macro/Cargo.toml | 9 | ||||
-rw-r--r-- | jsonrpc/jsonrpc_macro/src/lib.rs | 2 |
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 }; |