Update dependencies
This commit is contained in:
parent
2dbae6f7ba
commit
c65b9e9e44
3 changed files with 274 additions and 275 deletions
539
Cargo.lock
generated
539
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -5,18 +5,18 @@ authors = ["Grégory Burri <greg.burri@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "2.0"
|
actix-web = "2"
|
||||||
actix-rt = "1.0"
|
actix-rt = "1"
|
||||||
actix-files = "0.2"
|
actix-files = "0.2"
|
||||||
askama = "0.9" # Template system
|
askama = "0.9" # Template system
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
|
listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
|
||||||
ron = "0.5" # Rust object notation, to load configuration files.
|
ron = "0.5" # Rust object notation, to load configuration files.
|
||||||
itertools = "0.8"
|
itertools = "0.9"
|
||||||
env_logger = "0.7"
|
env_logger = "0.7"
|
||||||
|
|
||||||
common = { path = "../common" }
|
common = { path = "../common" }
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["bundled"]
|
features = ["bundled"]
|
||||||
|
|
@ -49,7 +49,7 @@ fn get_exe_name() -> String {
|
||||||
async fn main() -> std::io::Result<()> {
|
async fn main() -> std::io::Result<()> {
|
||||||
if process_args() { return Ok(()) }
|
if process_args() { return Ok(()) }
|
||||||
|
|
||||||
println!("Starting RUP as web server...");
|
println!("Starting Recipes as web server...");
|
||||||
|
|
||||||
let config: Config = {
|
let config: Config = {
|
||||||
let f = File::open(consts::FILE_CONF).unwrap_or_else(|_| panic!("Failed to open configuration file {}", consts::FILE_CONF));
|
let f = File::open(consts::FILE_CONF).unwrap_or_else(|_| panic!("Failed to open configuration file {}", consts::FILE_CONF));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue