canic-host 0.109.8

Host-side App build, Fleet install, deployment, and release-set library for Canic workspaces
Documentation
1
2
3
4
5
6
7
8
9
use super::should_embed_candid_metadata;
use canic_core::ids::BuildNetwork;

// Keep Candid metadata embedding restricted to local/development Wasm.
#[test]
fn candid_metadata_embedding_is_dev_only() {
    assert!(should_embed_candid_metadata(BuildNetwork::Local));
    assert!(!should_embed_candid_metadata(BuildNetwork::Ic));
}