Skip to content

Add schemars alpha#28

Merged
frol merged 10 commits intonear:mainfrom
PolyProgrammist:alpha
Apr 23, 2025
Merged

Add schemars alpha#28
frol merged 10 commits intonear:mainfrom
PolyProgrammist:alpha

Conversation

@PolyProgrammist
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PolyProgrammist I would imagine that it won't work since if parent crate uses schemars-alpha feature, it won't enable schemars feature, and as such this won't work:

#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]

@PolyProgrammist PolyProgrammist requested a review from frol April 23, 2025 10:21
Copy link
Copy Markdown
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@race-of-sloths score 3

@race-of-sloths
Copy link
Copy Markdown

race-of-sloths commented Apr 23, 2025

@PolyProgrammist Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Do you want to apply for monthly streak? Get 8+ score for a single PR this month and receive boost for race-of-sloths!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@frol 3

Your contribution is much appreciated with a final score of 3!
You have received 30 Sloth points for this contribution

@frol received 25 Sloth Points for reviewing and scoring this pull request.

What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow

For contributors:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@frol frol merged commit ca43d7c into near:main Apr 23, 2025
3 checks passed
@frol frol mentioned this pull request Apr 23, 2025
frol added a commit that referenced this pull request Apr 23, 2025
## 🤖 New release

* `near-account-id`: 1.0.0 -> 1.1.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[1.1.0](v1.0.0...v1.1.0)
- 2025-04-23

### Added

- Added optional schemars-alpha feature to support (schemars 1.0-alpha
releases) ([#28](#28))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: Vadim Volodin <vad.e.volodin@gmail.com>
frol pushed a commit that referenced this pull request Jul 3, 2025
…22, <2 tu support the latest 1.0 release (#34)

- Makes schemars version available from 0.8.22 to less than 2.0
- uses rust 1.74 (as schemars_derive v1.0.3 can't be compiled with 1.70)

 note: #28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants