Cargo Features

[dependencies]
known-types-openai = { version = "0.0.3", default-features = false, features = ["std", "alloc", "all", "unstable", "bincode", "borsh", "musli", "rasn", "serde"] }
default = all, std

These default features are set whenever known-types-openai is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of optional bincode, optional borsh, optional musli, optional rasn, 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 std

Enables alloc of optional bincode, optional musli, and optional serde

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

all default
unstable

Features from optional dependencies

bincode implicit feature
borsh implicit feature

Enables borsh

borsh:

Binary Object Representation Serializer for Hashing

musli implicit feature

Enables musli

musli:

Müsli is a flexible and efficient serialization framework

rasn implicit feature

Enables rasn

rasn:

A safe no_std ASN.1 codec framework

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework