grid_sdk/
lib.rs

1// Copyright 2019 Cargill Incorporated
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15extern crate serde;
16#[macro_use]
17extern crate serde_derive;
18#[cfg(feature = "serde_json")]
19#[macro_use]
20extern crate serde_json;
21#[macro_use]
22#[cfg(feature = "pike")]
23extern crate cfg_if;
24#[macro_use]
25#[cfg(feature = "diesel")]
26extern crate diesel;
27#[macro_use]
28#[cfg(feature = "diesel")]
29extern crate diesel_migrations;
30#[macro_use]
31#[cfg(feature = "log")]
32extern crate log;
33
34#[cfg(feature = "backend")]
35pub mod backend;
36#[cfg(feature = "batch-processor")]
37pub mod batch_processor;
38#[cfg(feature = "batch-store")]
39pub mod batches;
40#[cfg(feature = "client")]
41pub mod client;
42pub mod commits;
43#[cfg(feature = "data-validation")]
44pub mod data_validation;
45pub mod error;
46mod hex;
47#[cfg(feature = "location")]
48pub mod location;
49pub mod migrations;
50pub mod paging;
51#[cfg(feature = "pike")]
52pub mod pike;
53#[cfg(feature = "product")]
54pub mod product;
55pub mod protocol;
56pub mod protos;
57#[cfg(feature = "purchase-order")]
58pub mod purchase_order;
59#[cfg(feature = "rest-api")]
60pub mod rest_api;
61#[cfg(feature = "schema")]
62pub mod schema;
63pub mod store;
64#[cfg(feature = "track-and-trace")]
65pub mod track_and_trace;
66#[cfg(feature = "workflow")]
67pub mod workflow;