Cargo Features

grid-sdk has no features set by default.

[dependencies]
grid-sdk = { version = "0.3.5", features = ["stable", "experimental", "backend", "backend-sawtooth", "backend-splinter", "client", "client-reqwest", "data-validation", "location", "pike", "product-gdsn", "purchase-order", "product", "schema", "track-and-trace", "batch-processor", "batch-store", "postgres", "rest-api", "rest-api-actix-web-3", "rest-api-actix-web-3-run", "rest-api-endpoint-agent", "rest-api-endpoint-batches", "rest-api-endpoint-location", "rest-api-endpoint-organization", "rest-api-endpoint-product", "rest-api-endpoint-purchase-order", "rest-api-endpoint-record", "rest-api-endpoint-role", "rest-api-endpoint-schema", "rest-api-endpoint-submit", "rest-api-resources", "rest-api-resources-agent", "rest-api-resources-batches", "rest-api-resources-location", "rest-api-resources-organization", "rest-api-resources-product", "rest-api-resources-purchase-order", "rest-api-resources-role", "rest-api-resources-schema", "rest-api-resources-submit", "rest-api-resources-track-and-trace", "sqlite", "workflow", "sawtooth-sdk"] }
default stable?

These default features are set whenever grid-sdk is added without default-features = false somewhere in the dependency tree.

stable experimental? = backend, backend-sawtooth, backend-splinter, client, client-reqwest, data-validation, default, location, pike, postgres, product, product-gdsn, purchase-order, rest-api, rest-api-endpoint-agent, rest-api-endpoint-batches, rest-api-endpoint-location, rest-api-endpoint-organization, rest-api-endpoint-product, rest-api-endpoint-purchase-order, rest-api-endpoint-role, rest-api-endpoint-schema, rest-api-resources, rest-api-resources-agent, rest-api-resources-batches, rest-api-resources-location, rest-api-resources-organization, rest-api-resources-product, rest-api-resources-purchase-order, rest-api-resources-role, rest-api-resources-schema, schema, sqlite, workflow
experimental = batch-processor, batch-store, rest-api-actix-web-3, rest-api-actix-web-3-run, rest-api-endpoint-record, rest-api-endpoint-submit, rest-api-resources-submit, rest-api-resources-track-and-trace, stable, track-and-trace
backend backend-sawtooth? backend-splinter? batch-processor? rest-api-actix-web-3? rest-api-endpoint-batches? rest-api-resources-batches? stable? = base64, futures, url

Affects grid-sdk::backend

backend-sawtooth stable? = backend, uuid

Affects backend::sawtooth

backend-splinter stable? = backend, reqwest
client client-reqwest? stable? = log

Affects grid-sdk::client

client-reqwest stable? = client, reqwest

Affects client::reqwest

data-validation stable? = libc, quick-xml, reqwest

Affects grid-sdk::data_validation

location rest-api-endpoint-location? rest-api-resources-location? stable? = pike, schema

Affects client::location, client::ClientFactory.get_location_client, grid-sdk::location, store::StoreFactory.get_grid_location_store

pike location? product? purchase-order? rest-api-endpoint-agent? rest-api-endpoint-organization? rest-api-endpoint-role? rest-api-resources-agent? rest-api-resources-organization? rest-api-resources-role? schema? stable? = cfg-if, workflow

Affects client::pike, client::ClientFactory.get_pike_client, grid-sdk::pike, store::StoreFactory.get_grid_pike_store

product-gdsn stable? = libc, quick-xml, reqwest

Affects product::gdsn

purchase-order rest-api-endpoint-purchase-order? rest-api-resources-purchase-order? stable? = pike, regex

Affects client::purchase_order, client::ClientFactory.get_purchase_order_client, data_validation::purchase_order, grid-sdk::purchase_order, protocol::purchase_order, store::StoreFactory.get_grid_purchase_order_store

product rest-api-endpoint-product? rest-api-resources-product? stable? = pike, schema

Affects client::product, client::ClientFactory.get_product_client, grid-sdk::product, store::StoreFactory.get_grid_product_store

schema location? product? rest-api-endpoint-schema? rest-api-resources-schema? stable? = pike

Affects client::schema, client::ClientFactory.get_schema_client, grid-sdk::schema, store::StoreFactory.get_grid_schema_store

track-and-trace experimental? rest-api-endpoint-record? rest-api-resources-track-and-trace? = base64

Affects grid-sdk::track_and_trace, store::StoreFactory.get_grid_track_and_trace_store

batch-processor experimental? = backend, batch-store, log, reqwest, uuid

Affects grid-sdk::batch_processor

batch-store batch-processor? experimental? rest-api-endpoint-submit? rest-api-resources-submit? = chrono

Affects hex::to_hex, grid-sdk::batches, store::StoreFactory.get_batch_store

postgres stable? = chrono, diesel_migrations, log

Enables postgres of diesel ^1.0

Affects diesel::postgres, store::postgres, postgres::run_migrations

rest-api rest-api-actix-web-3? rest-api-resources? stable?

Affects grid-sdk::rest_api

rest-api-actix-web-3 experimental? = actix-web, backend, futures, futures-util, rest-api, rest-api-resources, url

Affects rest_api::actix_web_3

rest-api-actix-web-3-run experimental? = rest-api-endpoint-submit
rest-api-endpoint-agent stable? = pike, rest-api-resources-agent
rest-api-endpoint-batches stable? = backend, rest-api-resources-batches
rest-api-endpoint-location stable? = location, rest-api-resources-location
rest-api-endpoint-organization stable? = pike, rest-api-resources-organization
rest-api-endpoint-product stable? = product, rest-api-resources-product
rest-api-endpoint-purchase-order stable? = purchase-order, rest-api-resources-purchase-order
rest-api-endpoint-record experimental? = rest-api-resources-track-and-trace, track-and-trace
rest-api-endpoint-role stable? = pike, rest-api-resources-role
rest-api-endpoint-schema stable? = rest-api-resources-schema, schema
rest-api-endpoint-submit experimental? rest-api-actix-web-3-run? = batch-store, rest-api-resources-submit
rest-api-resources rest-api-actix-web-3? rest-api-resources-agent? rest-api-resources-batches? rest-api-resources-location? rest-api-resources-organization? rest-api-resources-product? rest-api-resources-purchase-order? rest-api-resources-role? rest-api-resources-schema? rest-api-resources-submit? rest-api-resources-track-and-trace? stable? = rest-api

Affects rest_api::resources

rest-api-resources-agent rest-api-endpoint-agent? stable? = pike, rest-api-resources, serde_json

Affects resources::agents

rest-api-resources-batches rest-api-endpoint-batches? stable? = backend, rest-api-resources

Affects resources::batches

rest-api-resources-location rest-api-endpoint-location? stable? = location, rest-api-resources

Affects resources::locations

rest-api-resources-organization rest-api-endpoint-organization? stable? = pike, rest-api-resources

Affects resources::organizations

rest-api-resources-product rest-api-endpoint-product? stable? = product, rest-api-resources

Affects resources::products

rest-api-resources-purchase-order rest-api-endpoint-purchase-order? stable? = purchase-order, rest-api-resources

Affects resources::purchase_order

rest-api-resources-role rest-api-endpoint-role? stable? = pike, rest-api-resources

Affects resources::roles

rest-api-resources-schema rest-api-endpoint-schema? stable? = rest-api-resources, schema

Affects resources::schemas

rest-api-resources-submit experimental? rest-api-endpoint-submit? = batch-store, cylinder, rest-api-resources, sabre-sdk

Affects resources::submit

rest-api-resources-track-and-trace experimental? rest-api-endpoint-record? = rest-api-resources, track-and-trace

Affects resources::track_and_trace

sqlite stable? = chrono, diesel_migrations, log

Enables sqlite of diesel ^1.0

Affects diesel::sqlite, store::sqlite, sqlite::run_migrations

workflow pike? stable?

Affects grid-sdk::workflow

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.

actix-web rest-api-actix-web-3?

Enables actix-web ^3

base64 backend? track-and-trace?

Enables base64 ^0.13

cfg-if pike?
chrono batch-store? postgres? sqlite?
diesel postgres? sqlite?

Enables diesel ^1.0

Affects postgres::run_migrations, sqlite::run_migrations

diesel_migrations postgres? sqlite?

Enables diesel_migrations ^1.4

log batch-processor? client? postgres? sqlite?
futures backend? rest-api-actix-web-3?
futures-util rest-api-actix-web-3?
reqwest backend-splinter? batch-processor? client-reqwest? data-validation? product-gdsn?

Enables reqwest ^0.10.1

regex purchase-order?
sabre-sdk rest-api-resources-submit?

Enables sabre-sdk ^0.5

sawtooth-sdk implicit feature

Enables sawtooth-sdk ^0.4

serde_json rest-api-resources-agent?
url backend? rest-api-actix-web-3?
uuid backend-sawtooth? batch-processor?

Enables uuid ^0.8

cylinder not wasm32 rest-api-resources-submit?

Enables cylinder ^0.2.2

libc not wasm32 data-validation? product-gdsn?
quick-xml not wasm32 data-validation? product-gdsn?

Enables quick-xml ^0.22