mizchi/wite/config does not have a README file
pub struct ChunkConfig {
build : String?
output : String
wit : String?
world : String?
}pub struct ConfigSelectionFlags {
config_path : String
explicit_config_path : Bool
use_config : Bool
env_name : String?
all_envs : Bool
remaining_flags : Array[String]
}pub(all) struct D1DatabaseBinding {
binding : String
database_name : String
database_id : String
}impl Eq for D1DatabaseBindingimpl Show for D1DatabaseBindingpub struct EnvironmentConfig {
input : ConfigInput
output : ConfigOutput
optimize : String?
kind : BinaryKind
server : ServerConfig?
runtime : RuntimeTarget
strip : Bool
closed_world : Bool
closed_world_root_exports : Array[String]
post_commands : Array[String]
}pub struct EnvironmentDef {
name : String
input : ConfigInput
output : ConfigOutput
optimize : String?
kind : BinaryKind
server : ServerConfig?
runtime : RuntimeTarget
strip : Bool
closed_world : Bool
closed_world_root_exports : Array[String]
post_commands : Array[String]
}pub(all) struct KvNamespaceBinding {
binding : String
id : String
}impl Eq for KvNamespaceBindingimpl Show for KvNamespaceBindingpub(all) struct R2BucketBinding {
binding : String
bucket_name : String
}pub(all) struct ServerBindings {
kv_namespaces : Array[KvNamespaceBinding]
r2_buckets : Array[R2BucketBinding]
d1_databases : Array[D1DatabaseBinding]
}pub(all) enum ServerExecutor {
Wagi
Workerd
}pub struct WiteConfigFile {
build_flags : Array[String]
analyze_flags : Array[String]
profile_flags : Array[String]
build_kind : BinaryKind
analyze_kind : BinaryKind
profile_kind : BinaryKind
input : ConfigInput
output : ConfigOutput
server : ServerConfig?
environments : Map[String, EnvironmentConfig]
chunks : Map[String, ChunkConfig]
}fn parse_wite_config_section(json_value : Json, label : String) -> Result[(Array[String], BinaryKind), String]fn resolve_environment(config : WiteConfigFile, env_name : String?) -> Result[EnvironmentConfig, String]fn resolve_environment_def(config : WiteConfigFile, name : String) -> Result[EnvironmentDef, String]fn should_auto_sync_deps(use_config : Bool, config_exists : Bool) -> BoolInstall
Download zipComponent-model-aware WebAssembly analyzer, optimizer, and profiler