javi
How do I publish a Rust CLI on JSR
You'll need to use FFI for that. I have published a zod alternative with all the functionality implemented in c++, here's the repo: https://github.com/Jabolol/blueprint
Check out the github actions to build cross platform, and to deploy to jsr.
4 replies
Deno, TypeScript, ESBuild, WebGL, VSCode
You cannot do imports like that. The reason for which you do the
declare module …
is because under the hood, a bundler like webpack or rollup is used. Deno doesn't have those. One alternative is to just use Deno.readFile
and the like30 replies
Inquiry Regarding Deno Security Model and Command Injection Vulnerability
I do not fully understand your question. By running deno with
--allow-net
and --allow-run
you're giving explicit permision for deno to access all network features and run commands.
You can narrow down these permissions by using the following syntax: --allow-read=.env,main.bin
7 replies
UUID of managed KV database
Whats the name of your project? Change it in the following link and try again:
https://dash.deno.com/projects/$YOUR_PRROJECT/kv
14 replies