File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " springql-client-c"
3- version = " 0.3.1"
3+ version = " 0.3.1+2 "
44
55authors = [" Sho Nakatani <lay.sakura@gmail.com>" ]
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ All you need to do are:
2525
2626See [ ` c_example/ ` ] ( https://github.com/SpringQL/SpringQL-client-c/tree/main/c_example ) for how to write and build a SpringQL embedded application.
2727
28+ ## Versioning
29+
30+ [ Semantic versioning] ( https://semver.org/ ) in ` <major>.<minor>.<patch>(\+<build>)? ` format.
31+
32+ ` <major>.<minor>.<patch> ` is exactly the same as the version of ` springql-core ` crate.
33+
34+ ` <build> ` is an incremental number. ` N ` th build (` N > 1 ` ) for the ` springql-core vX.Y.Z ` is ` vX.Y.Z+N ` , for example.
35+
2836## Development
2937
3038### Build
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use std::{
88 os:: raw:: { c_char, c_int} ,
99} ;
1010
11- use log:: { error , warn} ;
11+ use log:: { info , warn} ;
1212use springql_core:: error:: SpringError ;
1313
1414use crate :: { cstr:: strcpy, spring_errno:: SpringErrno } ;
@@ -38,7 +38,7 @@ impl Error for LastError {
3838impl Display for LastError {
3939 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
4040 let s = match self {
41- LastError :: SpringErr ( e) => format ! ( "{}" , e) ,
41+ LastError :: SpringErr ( e) => format ! ( "{:? }" , e) ,
4242 LastError :: UnwindErr ( any) => {
4343 if let Some ( s) = any. downcast_ref :: < String > ( ) {
4444 s. clone ( )
@@ -55,7 +55,7 @@ impl Display for LastError {
5555
5656/// Update the most recent error, clearing whatever may have been there before.
5757pub ( super ) fn update_last_error ( err : LastError ) {
58- error ! ( "Setting LAST_ERROR: {}" , err) ;
58+ info ! ( "Setting LAST_ERROR: {}" , err) ;
5959
6060 {
6161 // Print a pseudo-backtrace for this error, following back each error's
You can’t perform that action at this time.
0 commit comments