canic-host 0.94.1

Host-side build, install, deployment, and fleet-template library for Canic workspaces
Documentation
1
2
3
4
5
6
7
8
9
use super::should_export_candid_artifacts;
use canic_core::ids::BuildNetwork;

// Keep public Candid export restricted to local/development environments.
#[test]
fn candid_artifact_export_is_dev_only() {
    assert!(should_export_candid_artifacts(BuildNetwork::Local));
    assert!(!should_export_candid_artifacts(BuildNetwork::Ic));
}