Skip to content

Commit

Permalink
Make cxx a feature
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchalmers committed Dec 8, 2023
1 parent de23b0a commit 42cc308
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modeling-cmds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[dependencies]
chrono = "0.4.31"
cxx = "1.0"
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_derives = "2.1.2"
Expand All @@ -31,3 +31,7 @@ uuid = { version = "1.6.1", features = ["serde"] }

[lints]
workspace = true

[features]
default = []
cxx = ["dep:cxx"]

0 comments on commit 42cc308

Please sign in to comment.