You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Dependencies in native/Cargo.toml are not coherent, though those in native/Cargo.lock compile fine. This prevents anyone forking the repo to modify the dependencies because in this case native/Cargo.lock needs to be regenerated.
To Reproduce
Steps to reproduce the behavior:
Clone the repo
Go to native sub-directory
cargo update
cargo build
See error
Expected behavior
No error should be generated
Screenshots
$ cargo update
Updating git repository `https://github.com/geovie/neon`
Updating crates.io index
Updating git repository `https://github.com/bochaco/neon-serde`
$ cargo build
Compiling safe-nodejs v0.11.0 (/home/ubuntu0/Documents/safe/tmp/safe-nodejs-maidsafe/native)
error[E0433]: failed to resolve: use of undeclared type or module `EventHandler`--> src/lib.rs:1173:22
|1173| let cb = EventHandler::new(js_callback);
| ^^^^^^^^^^^^use of undeclared type or module `EventHandler`error: aborting due to previous errorFor more information about this error, try `rustc --explain E0433`.error: could not compile `safe-nodejs`.
To learn more, run the command again with --verbose.
Describe the bug
Dependencies in native/Cargo.toml are not coherent, though those in native/Cargo.lock compile fine. This prevents anyone forking the repo to modify the dependencies because in this case native/Cargo.lock needs to be regenerated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be generated
Screenshots
Desktop
OS: [Ubuntu 18.04.1]
Shell: [bash]
Rust: [1.43.1 stable]
safe-nodejs version [e.g. 0.11.5]
The text was updated successfully, but these errors were encountered: