Closed mulimoen closed 3 years ago
I wonder, if we can enable this feature automatically? (e.g. through build script, hmm) There would be no reason not to use it once 1.51 is out.
Also, need some checks that it compiles - we can either employ nightly for that, or just wait till 1.51 and add checks on stable.
We could enable this using autocfg
but we will need another build.rs
... I think it is ok to have a feature for this for now. We might want to make this default
when 1.51 is out and remove the feature entirely when enough time has passed.
Very minor comment aside, looks great and lgtm!
@aldanor Maybe it is worthwhile to publish this to crates.io
?
I wonder if we should've added const-generics
feature to the root crate, hmm... (which would trigger hdf5-types/const-generics
)
Const generics are rapidly approaching which means
impl_array
can be replaced with a generic size, supporting more array cases than one can manually specify. This is feature gated onconst_generics
onhdf5-types
and should only be a minor bump.Ref #122