From c02708bce3b1f665545d5773f5efc352842f3c87 Mon Sep 17 00:00:00 2001 From: tiye Date: Sun, 19 May 2024 15:54:33 +0800 Subject: [PATCH] upgrade edn; ABI version 0.0.9 ; tag 0.8.52 --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- package.json | 2 +- src/bin/injection/mod.rs | 2 +- src/util/string.rs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e7c2b7..d085009 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,7 +62,7 @@ checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" [[package]] name = "calcit" -version = "0.8.51" +version = "0.8.52" dependencies = [ "cirru_edn", "cirru_parser", @@ -99,9 +99,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cirru_edn" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf2af443516dfa62939fbfe82812601c1cb5fc89fdf7356eee519d7b056a264d" +checksum = "51e76586e1d99e801ffa01acedffbcf7bff79f2463ce9ecf09b72dd25c306df5" dependencies = [ "bincode", "cirru_parser", diff --git a/Cargo.toml b/Cargo.toml index 8ebf182..2cda193 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "calcit" -version = "0.8.51" +version = "0.8.52" authors = ["jiyinyiyong "] edition = "2021" license = "MIT" @@ -20,7 +20,7 @@ exclude = [ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cirru_edn = "0.6.5" +cirru_edn = "0.6.6" # cirru_edn = { path = "/Users/chenyong/repo/cirru/edn.rs" } cirru_parser = "0.1.29" # cirru_parser = { path = "/Users/chenyong/repo/cirru/parser.rs" } diff --git a/package.json b/package.json index 2c99ba8..4d2f751 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@calcit/procs", - "version": "0.8.51", + "version": "0.8.52", "main": "./lib/calcit.procs.mjs", "devDependencies": { "@types/node": "^20.11.28", diff --git a/src/bin/injection/mod.rs b/src/bin/injection/mod.rs index 03f2a89..e43248f 100644 --- a/src/bin/injection/mod.rs +++ b/src/bin/injection/mod.rs @@ -35,7 +35,7 @@ fn load_dylib(lib_name: &str) -> Arc { dylibs.get(lib_name).unwrap().to_owned() } -const ABI_VERSION: &str = "0.0.8"; +const ABI_VERSION: &str = "0.0.9"; pub fn inject_platform_apis() { builtins::register_import_proc("&call-dylib-edn", call_dylib_edn); diff --git a/src/util/string.rs b/src/util/string.rs index c2a7821..7fc4e1a 100644 --- a/src/util/string.rs +++ b/src/util/string.rs @@ -121,7 +121,7 @@ pub fn extract_ns_def(s: &str) -> Result<(String, String), String> { pub fn extract_pkg_from_ns(ns: Arc) -> Option> { let p2: Vec<&str> = ns.split('.').collect(); if !p2.is_empty() { - Some(p2[0].to_owned().into()) + Some(p2[0].into()) } else { None }