Skip to content

Commit

Permalink
Diesel support behind optional feature flag
Browse files Browse the repository at this point in the history
Frontend and engine don't need diesel support.
  • Loading branch information
adamchalmers committed Dec 12, 2023
1 parent 61b49c9 commit 5a6f736
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 218 deletions.
3 changes: 2 additions & 1 deletion modeling-cmds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT"
chrono = "0.4.31"
cxx = { version = "1.0", optional = true }
data-encoding = "2.5.0"
diesel = { version = "2.1.1", features = ["serde_json", "mysql", "chrono", "r2d2", "uuid", "numeric"] }
diesel = { version = "2.1.1", features = ["serde_json", "mysql", "chrono", "r2d2", "uuid", "numeric"], optional = true }
diesel_derives = "2.1.2"
enum-iterator = "1.4.1"
enum-iterator-derive = "1.2.1"
Expand All @@ -35,3 +35,4 @@ workspace = true
[features]
default = []
cxx = ["dep:cxx"]
diesel = ["dep:diesel"]
Loading

0 comments on commit 5a6f736

Please sign in to comment.