Skip to main content

oxilean_codegen/opt_ctfe/
ctfeconfigext_traits.rs

1//! # CtfeConfigExt - Trait Implementations
2//!
3//! This module contains trait implementations for `CtfeConfigExt`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::CtfeConfigExt;
12
13impl Default for CtfeConfigExt {
14    fn default() -> Self {
15        Self {
16            fuel: 10_000,
17            max_depth: 256,
18            max_list_size: 10_000,
19            max_string_size: 1_000_000,
20            enable_memoization: true,
21            enable_logging: false,
22            replace_calls: true,
23            propagate_constants: true,
24            fold_arithmetic: true,
25            fold_boolean: true,
26            fold_string: true,
27            fold_comparison: true,
28        }
29    }
30}