Skip to main content

stepflow_flow/
values.rs

1// Copyright 2025 DataStax Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4// in compliance with the License. You may obtain a copy of the License at
5//
6//     http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software distributed under the License
9// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10// or implied. See the License for the specific language governing permissions and limitations under
11// the License.
12
13//! Value handling and resolution for Stepflow flows.
14//!
15//! This module contains all value-related functionality:
16//! - `ValueExpr`: Expression type for dynamic values and references
17//! - `ValueRef`: Arc-wrapped JSON values for efficient storage
18//! - `JsonPath`: JSONPath implementation for nested field access
19//! - `Secrets`: Secret field redaction for safe logging
20
21pub mod json_path;
22pub mod redacted_value;
23pub mod step_context;
24pub mod value_expr;
25mod value_expr_serde; // Keep private
26pub mod value_ref;
27
28pub use json_path::*;
29pub use redacted_value::*;
30pub use step_context::*;
31pub use value_expr::*;
32pub use value_ref::*;