Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add default-features = false
  • Loading branch information
am357 committed Jun 14, 2023
commit e77d04b97bca72a59c9492a3db017a5f7a5037b5
5 changes: 3 additions & 2 deletions partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/lib.rs"
bench = false

[dependencies]
indexmap = { version = "1.9", features = ["serde"] }
indexmap = { version = "1.9", default-features = false, features = ["serde"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to remove the unconditional features = ["serde"], since you turn it on below conditionally via serde = [... "indexmap/serde"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, let fix that.

rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
serde = { version = "1.*", features = ["derive"], optional = true }

Expand All @@ -31,7 +31,8 @@ default = []
serde = [
"dep:serde",
"rust_decimal/serde-with-str",
"rust_decimal/serde"
"rust_decimal/serde",
"indexmap/serde",
]

[dependencies.partiql-ast-macros]
Expand Down