multiversx_sc_meta_lib/contract/
wasm_cargo_toml_data.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::cargo_toml::DependencyRawValue;

use super::sc_config::ContractVariantProfile;

#[derive(Default, Debug, Clone, PartialEq, Eq)]
pub struct WasmCargoTomlData {
    pub name: String,
    pub edition: String,
    pub profile: ContractVariantProfile,
    pub framework_dependency: DependencyRawValue,
    pub contract_features: Vec<String>,
    pub contract_default_features: Option<bool>,
}