Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 338 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 338 Bytes

zeekjs-rust-hello-world

Zeek, Rust, Node and npm must be on $PATH

# npm install --save-dev @napi-rs/cli

# cargo build --release  

# cp target/release/libzeekjs_rust_hello_world.{so}/{dylib} target/release/libzeekjs_rust_hello_world.node
# zeek ./scripts/index.js 
Hello from Rust!