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
|
||||
key.secret
|
||||
WebSharper/key
|
||||
/Cargo.lock
|
||||
|
|
|
|||
19
Cargo.toml
19
Cargo.toml
|
|
@ -1,15 +1,6 @@
|
|||
[package]
|
||||
name = "recipes"
|
||||
version = "1.0.0"
|
||||
authors = ["Grégory Burri <greg.burri@gmail.com>"]
|
||||
edition = "2018"
|
||||
[workspace]
|
||||
|
||||
[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"
|
||||
members = [
|
||||
"backend",
|
||||
"common",
|
||||
]
|
||||
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