|
Great package @lovasoa thanks for all the hard work. I am building a CLI for internal use cases and one part of the CLI helps manage an SQLite database. I'd like to be able to add a |
Answered by
lovasoa
Oct 30, 2023
Replies: 1 comment
|
Hello ! You may want to have a look at the tests for ideas of how to include sqlpage in an external crate: https://github.com/lovasoa/SQLpage/blob/main/tests/index.rs The root function that you'll want to use is probably: https://github.com/lovasoa/SQLpage/blob/main/src/webserver/http.rs#L562-L581 |
0 replies
Answer selected by
shah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello !
You may want to have a look at the tests for ideas of how to include sqlpage in an external crate: https://github.com/lovasoa/SQLpage/blob/main/tests/index.rs
The root function that you'll want to use is probably: https://github.com/lovasoa/SQLpage/blob/main/src/webserver/http.rs#L562-L581