8 releases (breaking)
Uses new Rust 2024
| new 0.6.0 | Mar 2, 2026 |
|---|---|
| 0.5.0 | Feb 27, 2026 |
| 0.4.0 | Feb 6, 2026 |
| 0.3.0 | Dec 24, 2025 |
| 0.0.1 | Dec 6, 2025 |
#1493 in Network programming
Used in 2 crates
420KB
10K
SLoC
ic-dbms-api

This crate exposes all the types shared between an IC DBMS Canister and an external canister
You can import all the useful types and traits by using the prelude module:
use ic_dbms_api::prelude::*;
Types
DBMS
Database
Foreign Fetcher
Init
Query
DeleteBehaviorFilterJsonCmpJsonFilterQueryQueryBuilderQueryErrorQueryResultOrderDirectionSelect
Table
Transaction
Dbms Types
Sanitizers
SanitizeClampSanitizerClampUnsignedSanitizerCollapseWhitespaceSanitizerLowerCaseSanitizerNullIfEmptySanitizerRoundToScaleSanitizerSlugSanitizerTimezoneSanitizerUtcSanitizerTrimSanitizerUpperCaseSanitizerUrlEncodingSanitizer
Validate
ValidateCamelCaseValidatorCountryIso639ValidatorCountryIso3166ValidatorEmailValidatorKebabCaseValidatorMaxStrlenValidatorMimeTypeValidatorMinStrlenValidatorPhoneNumberValidatorRangeStrlenValidatorRgbColorValidatorSnakeCaseValidatorUrlValidator
Value
Memory
License
This project is licensed under the MIT License. See the LICENSE file for details.
Dependencies
~7–21MB
~244K SLoC