We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__abi-generate
It's not convenient that JsonSchema/BorshSchema cannot be checked on docs https://docs.rs/near-sdk/5.7.0/near_sdk/struct.PublicKey.html of various types, for being implemented or not.
JsonSchema
BorshSchema
"__abi-generate" should be added here
"__abi-generate"
near-sdk-rs/near-sdk/Cargo.toml
Line 101 in 1898971
change
[package.metadata.docs.rs] features = ["__abi-generate"]
here https://github.com/near/near-sdk-rs/blob/master/near-sdk-macros/Cargo.toml#L31
following diff applied here https://github.com/near/near-sdk-rs/blob/master/near-contract-standards/Cargo.toml
diff --git a/near-contract-standards/Cargo.toml b/near-contract-standards/Cargo.toml index e4ab1dfe..ccc8dcba 100644 --- a/near-contract-standards/Cargo.toml +++ b/near-contract-standards/Cargo.toml @@ -24,4 +24,7 @@ near-sdk = { path = "../near-sdk", default-features = false, features = [ +[package.metadata.docs.rs] +features = ["abi"] + [features] default = [] -abi = ["near-sdk/abi"] +abi = ["near-sdk/__abi-generate"]
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06bda06c..ca9fb168 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,5 +125,5 @@ jobs: run: | - cargo doc -p near-sdk --features unstable,legacy,unit-testing,__macro-docs - cargo doc -p near-sdk-macros - cargo doc -p near-contract-standards --no-deps + cargo doc -p near-sdk --features unstable,legacy,unit-testing,__macro-docs,__abi-generate + cargo doc -p near-sdk-macros --features __abi-generate + cargo doc -p near-contract-standards --no-deps --features abi cargo doc -p near-sys
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's not convenient that
JsonSchema
/BorshSchema
cannot be checked on docshttps://docs.rs/near-sdk/5.7.0/near_sdk/struct.PublicKey.html of various types,
for being implemented or not.
"__abi-generate"
should be added herenear-sdk-rs/near-sdk/Cargo.toml
Line 101 in 1898971
change
here https://github.com/near/near-sdk-rs/blob/master/near-sdk-macros/Cargo.toml#L31
following diff applied here https://github.com/near/near-sdk-rs/blob/master/near-contract-standards/Cargo.toml
The text was updated successfully, but these errors were encountered: