ic-platform 0.3.0

Controlled Candid and IC runtime dependency boundary
Documentation
#[test]
fn original_client_and_dto_identities() {
    macro_rules! identity {
        ($($path:ident)::+) => {
            let original: Option<pocket_ic::$($path)::+> = None;
            let boundary: Option<crate::pocket_ic::$($path)::+> = original;
            let _: Option<pocket_ic::$($path)::+> = boundary;
        };
    }
    identity!(PocketIc);
    identity!(PocketIcBuilder);
    identity!(nonblocking::PocketIc);
    identity!(RejectResponse);
    identity!(RejectCode);
    identity!(ErrorCode);
    identity!(CanisterSettings);
    identity!(CanisterInstallMode);
    identity!(CanisterStatusResult);
    identity!(CanisterLogRecord);
    identity!(Snapshot);
    identity!(CreateCanisterParams);
    identity!(CreateCanisterPlacement);
    identity!(Time);
    identity!(common::rest::BlobCompression);
    identity!(common::rest::CreateInstanceResponse);
    identity!(common::rest::IcpFeatures);
    identity!(common::rest::IcpFeaturesConfig);
    identity!(common::rest::RawCanisterId);
    identity!(common::rest::Topology);
    identity!(common::rest::RawEffectivePrincipal);
    identity!(common::rest::RawMessageId);
    identity!(common::rest::InstanceHttpGatewayConfig);
    identity!(common::rest::CanisterHttpReply);
    identity!(common::rest::CanisterHttpResponse);
    identity!(common::rest::MockCanisterHttpResponse);
}