Compare commits
No commits in common. "79acdc283eb368cb41006f2f72a93d39d724fb27" and "585c3599ab5fd3ec36c6ab6589e9289764eaa3b8" have entirely different histories.
79acdc283e
...
585c3599ab
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -1463,7 +1463,8 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "libquickjs-ng-sys"
|
||||
version = "0.9.0"
|
||||
source = "git+https://github.com/akulij/quickjs-rusty.git#a7529d4a6523b28ca7402bbd8d0373010de6cdb7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3c98c1ad542ec61348faba7ce5386fef9060e35fbeea19dda64ce41862084e0a"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cc",
|
||||
@ -2008,7 +2009,8 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "quickjs-rusty"
|
||||
version = "0.9.0"
|
||||
source = "git+https://github.com/akulij/quickjs-rusty.git#a7529d4a6523b28ca7402bbd8d0373010de6cdb7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b3b4d659d1bc37e9112a14ad9a7727d182b0fb12216eb6684bdbada3e9991a22"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
||||
@ -19,7 +19,7 @@ lazy_static = "1.5.0"
|
||||
log = "0.4.27"
|
||||
mongodb = "3.2.3"
|
||||
pretty_env_logger = "0.5.0"
|
||||
quickjs-rusty = { git = "https://github.com/akulij/quickjs-rusty.git" }
|
||||
quickjs-rusty = "0.9.0"
|
||||
serde = { version = "1.0.219", features = ["derive", "serde_derive"] }
|
||||
serde_json = "1.0.140"
|
||||
teloxide = { version = "0.14.0", features = ["macros", "postgres-storage-nativetls"] }
|
||||
|
||||
@ -160,7 +160,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
|
||||
handler,
|
||||
bm.literal()
|
||||
);
|
||||
match handler.call_args(vec![jsuser]) {
|
||||
match handler.call_args(vec![]) {
|
||||
Ok(v) => {
|
||||
// let ctx = quickjs_rusty::Context::from(value)
|
||||
println!("Ok branch, value: {:?}", v);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user