adjust visibility of inner response

This commit is contained in:
TotallyNot 2024-04-04 16:27:00 +02:00
parent 1daee85581
commit c83c304bbe
5 changed files with 11 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "torn-api-macros"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["Pyrit [2111649]"]
license = "MIT"

View file

@ -141,7 +141,7 @@ fn impl_api_category(ast: &syn::DeriveInput) -> TokenStream {
);
let gen = quote! {
pub struct Response(crate::ApiResponse);
pub struct Response(pub crate::ApiResponse);
impl Response {
#(#accessors)*