Cargo Features

near-account-id has no features set by default.

[dependencies]
near-account-id = { version = "1.1.1", features = ["abi", "abi-alpha", "internal_unstable", "schemars", "schemars-stable", "schemars-alpha", "serde", "arbitrary"] }
abi = schemars-stable

Enables unstable__schema of borsh

abi-alpha = schemars-alpha

Enables unstable__schema of borsh

internal_unstable

This feature was introduced for legacy reasons for nearcore, and MUST be avoided https://github.com/near/nearcore/pull/4621#issuecomment-892099860

schemars schemars-alpha? schemars-stable?
schemars-stable abi? = schemars

Enables schemars

schemars-alpha abi-alpha? = schemars

Enables schemars

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

borsh abi? abi-alpha?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data