Add a common crate
This commit is contained in:
parent
c77e8d09e7
commit
44826a7edd
11 changed files with 34 additions and 15 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
key.secret
|
key.secret
|
||||||
WebSharper/key
|
WebSharper/key
|
||||||
|
/Cargo.lock
|
||||||
|
|
|
||||||
21
Cargo.toml
21
Cargo.toml
|
|
@ -1,15 +1,6 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "recipes"
|
|
||||||
version = "1.0.0"
|
members = [
|
||||||
authors = ["Grégory Burri <greg.burri@gmail.com>"]
|
"backend",
|
||||||
edition = "2018"
|
"common",
|
||||||
|
]
|
||||||
[dependencies]
|
|
||||||
actix-web = "1.0"
|
|
||||||
actix-files = "0.1"
|
|
||||||
askama = "0.8" # Template system
|
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
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.
|
|
||||||
itertools = "0.8"
|
|
||||||
sqlite = "0.25"
|
|
||||||
0
Cargo.lock → backend/Cargo.lock
generated
0
Cargo.lock → backend/Cargo.lock
generated
15
backend/Cargo.toml
Normal file
15
backend/Cargo.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[package]
|
||||||
|
name = "recipes"
|
||||||
|
version = "1.0.0"
|
||||||
|
authors = ["Grégory Burri <greg.burri@gmail.com>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
actix-web = "1.0"
|
||||||
|
actix-files = "0.1"
|
||||||
|
askama = "0.8" # Template system
|
||||||
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
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.
|
||||||
|
itertools = "0.8"
|
||||||
|
sqlite = "0.25"
|
||||||
9
common/Cargo.toml
Normal file
9
common/Cargo.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[package]
|
||||||
|
name = "common"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Grégory Burri <gregory.burri@matisa.ch>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
3
common/src/main.rs
Normal file
3
common/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue