Cargo Features

atlas-address has no features set by default.

[dependencies]
atlas-address = { version = "2.0.0", features = ["std", "alloc", "atomic", "borsh", "bytemuck", "copy", "curve25519", "decode", "dev-context-only-utils", "error", "frozen-abi", "rand", "sanitize", "serde", "sha2", "syscalls"] }
std frozen-abi? rand? = alloc, decode

Enables std of optional borsh and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

alloc borsh? std?
atomic rand?

Enables atlas-atomic-u64

borsh = alloc

Enables borsh

bytemuck = copy

Enables bytemuck and bytemuck_derive

copy bytemuck?
curve25519 = sha2, syscalls

Enables curve25519-dalek

Affects atlas-address::bytes_are_curve_point, atlas-address::syscalls

decode std? = error

Enables five8 and five8_const

Affects error::ParseAddressError

dev-context-only-utils = rand

Enables arbitrary

error decode? sha2? syscalls?

Enables atlas-program-error

Affects atlas-address::error

frozen-abi = std

Enables atlas-frozen-abi, atlas-frozen-abi-macro, and atlas-program-error

rand dev-context-only-utils? = atomic, std

Enables rand ^0.8.5

sanitize

Enables atlas-sanitize

serde

Enables serde and serde_derive

sha2 curve25519? = error

Enables atlas-sha256-hasher

syscalls curve25519? = error

Enables atlas-define-syscall

Affects atlas-address::syscalls