diff --git a/Cargo.lock b/Cargo.lock index 81903d5..0f6d575 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -653,8 +653,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] @@ -1149,6 +1151,7 @@ dependencies = [ "clap", "colored", "convert_case", + "getrandom", "gray_matter", "jsonschema", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index df67fd7..cb9c47e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ serde-wasm-bindgen = { version = "0.6.5", optional = true } tokio = { version = "1.42.0", features = ["rt"] } openai-api-rs = { version = "5.2.3", optional = true } jsonschema = { version = "0.26.2", default-features = false } +getrandom = { version = "0.2.15", features = ["js"] } [features] default = ["openai"]