Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "near-account-id"
version = "2.5.0"
authors = ["Near Inc <hello@nearprotocol.com>"]
edition = "2021"
edition = "2024"
resolver = "3"
description = "This crate contains the Account ID primitive and its validation facilities"
repository = "https://github.com/near/near-account-id"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/account_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ impl schemars_v0_8::JsonSchema for AccountId {
"AccountId".to_string()
}

fn json_schema(_: &mut schemars_v0_8::gen::SchemaGenerator) -> schemars_v0_8::schema::Schema {
fn json_schema(_: &mut schemars_v0_8::r#gen::SchemaGenerator) -> schemars_v0_8::schema::Schema {
use schemars_v0_8::schema::{InstanceType, Metadata, Schema, SchemaObject, SingleOrVec};
Schema::Object(SchemaObject {
instance_type: Some(SingleOrVec::Single(Box::new(InstanceType::String))),
Expand Down
2 changes: 1 addition & 1 deletion src/account_id_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ impl schemars_v0_8::JsonSchema for AccountIdRef {
"AccountIdRef".to_string()
}

fn json_schema(_: &mut schemars_v0_8::gen::SchemaGenerator) -> schemars_v0_8::schema::Schema {
fn json_schema(_: &mut schemars_v0_8::r#gen::SchemaGenerator) -> schemars_v0_8::schema::Schema {
use schemars_v0_8::schema::{InstanceType, Metadata, Schema, SchemaObject, SingleOrVec};
Schema::Object(SchemaObject {
instance_type: Some(SingleOrVec::Single(Box::new(InstanceType::String))),
Expand Down
Loading