Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Fixed incorrect .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Jun 3, 2020
1 parent 7c56084 commit 8d6ac16
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.toml
!default-*.toml
*-config.toml
!default-*-config.toml
node_modules
target
build
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[workspace]
members = ["backend", "config", "raw", "webhook", "db"]
15 changes: 15 additions & 0 deletions config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "config"
version = "0.1.0"
authors = ["SOFe <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
byte-unit = "3.1.1"
getset = "0.1.1"
lazy_static = "1.4.0"
serde = {version = "1.0.110", features = ["derive"]}
serde_str = "0.1.0"
toml = "0.5.6"
9 changes: 9 additions & 0 deletions db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "schema"
version = "3.0.0"
authors = ["Poggit <[email protected]>"]
edition = "2018"

[dependencies]
diesel = {version = "1.4.4", features = ["postgres"]}
diesel-derive-enum = {version = "1.0.0", features = ["postgres"]}
6 changes: 6 additions & 0 deletions db/diesel.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# For documentation on how to configure this file,
# see diesel.rs/guides/configuring-diesel-cli

[print_schema]
file = "src/schema.rs"
import_types = ["diesel::sql_types::*", "crate::types::*"]
10 changes: 10 additions & 0 deletions raw/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "raw"
version = "3.0.0"
authors = ["Poggit <[email protected]>"]
edition = "2018"

[dependencies]
actix-rt = "1.1.1"
actix-web = "2.0.0"
config = {path = "../config"}

0 comments on commit 8d6ac16

Please sign in to comment.