Repository navigation
Conversation
|
Enables rust-lang/rust#65894 |
|
It seems we can keep the benchmarks if we remove it from the Cargo exclusion list, which seems like a nicer solution. Could you make that change in this PR, then I'll merge it and publish to crates.io. |
|
I can do that. |
|
Because the code commented out refers to benchmarks, but when they are excluded from the crate they cannot be found and it blocks the publication. edit: Realized that you may have meant something different. Benchmark code needn't be in the published package indeed, but without the lines that are commented out by this PR it's not possible to run benchmarks at all. If there's a way to have benchmarks without publishing them, I'm all for it. |
|
It seems that it is currently not possible to release a package without the benchmark code included. |
|
Yup, seems that way. The current 0.6.1 release was done by including the benchmark code. Thanks for your PR. If we find a way to exclude the benchmarks in the future, then let's revisit the subject. |
|
There seems to be a discussion going on about maybe wanting to use included benchmarking code for compiler testing, but I am not sire that is the best idea. |
So it can be published on crates.io
cc: @GuillaumeGomez