Paulo Bressan
Paulo Bressan
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
tks
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
Ok, thank you very much. Do you know what version this was implemented?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
this lib is required? Because when I use deno_runtime I need to install protoc. Is there any feature to use minimal deno_runtime?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
@.bartlomieju what's deno_kv ?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
it helped me a lot and now it works ❤️
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
@lino-levan thank you very much
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
Do you have an example using #[op2] macro?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
No description
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
No description
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
It works only if I install deno_core
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
error: custom attribute panicked
--> src/filters/deno/mod.rs:19:1
|
19 | #[op]
| ^^^^^
|
= help: message: deno_core not present in `Cargo.toml`: CrateNotFound { crate_name: "deno_core", path: "/home/paulo/projects/txpipe/oura/Cargo.toml" }

error: custom attribute panicked
--> src/filters/deno/mod.rs:30:1
|
30 | #[op]
| ^^^^^
|
= help: message: deno_core not present in `Cargo.toml`: CrateNotFound { crate_name: "deno_core", path: "/home/paulo/projects/txpipe/oura/Cargo.toml" }

warning: unused import: `OpState`
--> src/filters/deno/mod.rs:3:52
|
3 | use deno_runtime::deno_core::{op, ModuleSpecifier, OpState};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default

error[E0433]: failed to resolve: use of undeclared crate or module `op_pop_record`
--> src/filters/deno/mod.rs:17:57
|
17 | deno_runtime::deno_core::extension!(deno_filter, ops = [op_pop_record, op_put_record]);
| ^^^^^^^^^^^^^ use of undeclared crate or module `op_pop_record`

error[E0433]: failed to resolve: use of undeclared crate or module `op_put_record`
--> src/filters/deno/mod.rs:17:72
|
17 | deno_runtime::deno_core::extension!(deno_filter, ops = [op_pop_record, op_put_record]);
| ^^^^^^^^^^^^^ use of undeclared crate or module `op_put_record`

For more information about this error, try `rustc --explain E0433`.
warning: `oura` (lib) generated 1 warning
error: could not compile `oura` (lib) due to 4 previous errors; 1 warning emitted
error: custom attribute panicked
--> src/filters/deno/mod.rs:19:1
|
19 | #[op]
| ^^^^^
|
= help: message: deno_core not present in `Cargo.toml`: CrateNotFound { crate_name: "deno_core", path: "/home/paulo/projects/txpipe/oura/Cargo.toml" }

error: custom attribute panicked
--> src/filters/deno/mod.rs:30:1
|
30 | #[op]
| ^^^^^
|
= help: message: deno_core not present in `Cargo.toml`: CrateNotFound { crate_name: "deno_core", path: "/home/paulo/projects/txpipe/oura/Cargo.toml" }

warning: unused import: `OpState`
--> src/filters/deno/mod.rs:3:52
|
3 | use deno_runtime::deno_core::{op, ModuleSpecifier, OpState};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default

error[E0433]: failed to resolve: use of undeclared crate or module `op_pop_record`
--> src/filters/deno/mod.rs:17:57
|
17 | deno_runtime::deno_core::extension!(deno_filter, ops = [op_pop_record, op_put_record]);
| ^^^^^^^^^^^^^ use of undeclared crate or module `op_pop_record`

error[E0433]: failed to resolve: use of undeclared crate or module `op_put_record`
--> src/filters/deno/mod.rs:17:72
|
17 | deno_runtime::deno_core::extension!(deno_filter, ops = [op_pop_record, op_put_record]);
| ^^^^^^^^^^^^^ use of undeclared crate or module `op_put_record`

For more information about this error, try `rustc --explain E0433`.
warning: `oura` (lib) generated 1 warning
error: could not compile `oura` (lib) due to 4 previous errors; 1 warning emitted
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
No description
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
do I need to install deno_core or just deno_runtime?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
Hi, gm
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
deno_runtime has a feature to import deno_core?
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
I've tried to remove deno_core from my dependencies but deno_runtime still uses it
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
🤔
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
Hey, I updated the code to use deno_core inside the deno_runtime and removed it from my deno feature on toml file and everything worked
42 replies
DDeno
Created by Paulo Bressan on 9/6/2023 in #help
Rust compile deno_runtime error
42 replies