-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for SmallVec
in conversion traits (#3440)
#3507
Add support for SmallVec
in conversion traits (#3440)
#3507
Conversation
9834626
to
e5eda2b
Compare
e5eda2b
to
dfeae47
Compare
Thank you! FYI other maintainers this was built with my collaboration in the EuroRust impl room, so it's best if I don't review (but can be responsible for follow up tidying). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Please add an entry to the features table in lib.rs, like here
Cargo.toml
Outdated
@@ -41,6 +41,7 @@ num-bigint = { version = "0.4", optional = true } | |||
num-complex = { version = ">= 0.2, < 0.5", optional = true } | |||
rust_decimal = { version = "1.0.0", default-features = false, optional = true } | |||
serde = { version = "1.0", optional = true } | |||
smallvec = { version = "1.11.1", optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this not use version 1.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? "smallvec = 1.0"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in general we try to accept as broad ranges of optional dependency versions as possible so that we don't have to force users to use specific versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, made the change in 87cbd38
Added in 31acf0d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @orhun and good to meet you at EuroRust - I think this looks good now, so I'll merge it 👍
CI failure looks caused by latest psutil release; I can try to fix separately later. |
Thanks @davidhewitt, it was nice to meet you as well, wish to see you again in events/open source world! |
closes #3440