ic_dbms_api/
lib.rs

1#![crate_name = "ic_dbms_api"]
2#![crate_type = "lib"]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4
5//! # IC DBMS API
6//!
7//! This crate exposes all the types which may be used by an external canister to interact with
8//! an IC DBMS Canister instance.
9//!
10//! You can import all the useful types and traits by using the prelude module:
11//!
12//! ```rust
13//! use ic_dbms_api::prelude::*;
14//! ```
15
16#![doc(html_playground_url = "https://play.rust-lang.org")]
17#![doc(
18    html_favicon_url = "https://raw.githubusercontent.com/veeso/ic-dbms-canister/main/assets/images/cargo/logo-128.png"
19)]
20#![doc(
21    html_logo_url = "https://raw.githubusercontent.com/veeso/ic-dbms-canister/main/assets/images/cargo/logo-512.png"
22)]
23
24// makes the crate accessible as `ic_dbms_api` in macros
25extern crate self as ic_dbms_api;
26
27mod dbms;
28mod error;
29mod memory;
30pub mod prelude;
31#[cfg(test)]
32mod tests;