Skip to content

Commit

Permalink
more exact functions
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Feb 27, 2025
1 parent b112af6 commit c63fe5e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 25 deletions.
4 changes: 0 additions & 4 deletions src/lang/wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
get_kcl_version,
make_default_planes,
coredump,
toml_stringify,
default_app_settings,
parse_app_settings,
parse_project_settings,
Expand Down Expand Up @@ -638,9 +637,6 @@ export async function coreDump(
}
}

export function tomlStringify(toml: any): string | Error {
return toml_stringify(JSON.stringify(toml))
}

export function defaultAppSettings(): DeepPartial<Configuration> | Error {
return default_app_settings()
Expand Down
4 changes: 0 additions & 4 deletions src/lib/wasm_lib_wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
get_tangential_arc_to_info as GetTangentialArcToInfo,
make_default_planes as MakeDefaultPlanes,
coredump as CoreDump,
toml_stringify as TomlStringify,
default_app_settings as DefaultAppSettings,
parse_app_settings as ParseAppSettings,
parse_project_settings as ParseProjectSettings,
Expand Down Expand Up @@ -88,9 +87,6 @@ export const make_default_planes: typeof MakeDefaultPlanes = (...args) => {
export const coredump: typeof CoreDump = (...args) => {
return getModule().coredump(...args)
}
export const toml_stringify: typeof TomlStringify = (...args) => {
return getModule().toml_stringify(...args)
}
export const default_app_settings: typeof DefaultAppSettings = (...args) => {
return getModule().default_app_settings(...args)
}
Expand Down
4 changes: 0 additions & 4 deletions src/wasm-lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
//! Wasm bindings for `kcl`.
#[cfg(target_arch = "wasm32")]
mod toml;
#[cfg(target_arch = "wasm32")]
mod wasm;

#[cfg(target_arch = "wasm32")]
pub use toml::*;
#[cfg(target_arch = "wasm32")]
pub use wasm::*;
13 changes: 0 additions & 13 deletions src/wasm-lib/src/toml.rs

This file was deleted.

0 comments on commit c63fe5e

Please sign in to comment.