Skip to content

Commit

Permalink
Merge branch 'master' into impr-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 26, 2024
2 parents 99c7e13 + ae0d1c4 commit e1c6c57
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
env:
RUSTDOCFLAGS: -D warnings
run: |
cargo doc -p near-sdk --features unstable,legacy,unit-testing,__macro-docs,near-primitives,near-vm-runner
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,near-primitives,near-vm-runner
cargo doc -p near-sdk-macros --features __abi-generate
cargo doc -p near-contract-standards --no-deps --features abi
cargo doc -p near-sys
5 changes: 4 additions & 1 deletion near-contract-standards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ near-sdk = { path = "../near-sdk", default-features = false, features = [

[features]
default = []
abi = ["near-sdk/abi"]
abi = ["near-sdk/__abi-generate"]

[package.metadata.docs.rs]
features = ["abi"]
3 changes: 3 additions & 0 deletions near-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ prettyplease = { version = "0.2.15" }
abi = []
__abi-embed = ["abi"]
__abi-generate = ["abi"]

[package.metadata.docs.rs]
features = ["__abi-generate"]
2 changes: 1 addition & 1 deletion near-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ __abi-generate = ["abi", "near-sdk-macros/__abi-generate"]
__macro-docs = []

[package.metadata.docs.rs]
features = ["unstable", "legacy", "unit-testing", "__macro-docs", "near-primitives", "near-vm-runner"]
features = ["unstable", "legacy", "unit-testing", "__macro-docs", "__abi-generate", "near-primitives", "near-vm-runner"]

0 comments on commit e1c6c57

Please sign in to comment.