Skip to content

Commit 129207d

Browse files
committed
update about ABI version; tag 0.0.5
1 parent 8e3af59 commit 129207d

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "calcit_http"
3-
version = "0.0.4"
3+
version = "0.0.5"
44
authors = ["jiyinyiyong <[email protected]>"]
55
edition = "2018"
66

calcit.cirru

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{} (:package |http)
33
:configs $ {} (:init-fn |http.test/main!) (:reload-fn |http.test/reload!)
44
:modules $ []
5-
:version |0.0.4
5+
:version |0.0.5
66
:files $ {}
77
|http.core $ {}
88
:ns $ quote

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ struct ResponseSkeleton {
1414
body: String,
1515
}
1616

17+
#[no_mangle]
18+
pub fn abi_version() -> String {
19+
String::from("0.0.1")
20+
}
21+
1722
#[no_mangle]
1823
pub fn serve_http(
1924
args: Vec<Edn>,
2025
handler: Arc<dyn Fn(Vec<Edn>) -> Result<Edn, String>>,
26+
_finish: Box<dyn FnOnce()>,
2127
) -> Result<Edn, String> {
2228
if args.is_empty() {
2329
return Err(format!("expected an option, got nothing: {:?}", args));

0 commit comments

Comments
 (0)