Going opt-in instead of opt-out does not change the fact that I would still have to toggle the features manually.
To be more specific, my use case is that I have a program to control cameras in my lab. But not all computers have the libraries for all cameras. So, every supported library can be enable/disable using a feature
But the program being still in active development, I am frequently using cargo run
, cargo check
, cargo install
, on different computers with different libraries installed.
What would be convenient would be to have a configuration file on each computer, specifying that we will build only for PCO camera on this computer, only for Photometrics camera on this one, only Ximea and PCO on this one, instead of having to remember to toggle the relevant features every time.
A shell script is not very convenient because I use different commands, run, check, install etc.
This would look like it would be what I am looking for, but the documentation of the configuration file does not mention features.
Thank you very much for your reply. I have tried the approach you explain in your blog post, and it works. Your blog post is useful and clearly written !
At equilibrium, I’d say yes.
I have a second-hand iPhone 7, my wife has an iPhone 6s. Neither supports iOS 16. The iPhone 7 was discontinued in 2019. I try to keep things for as long as possible for ecological reasons, eg most of the carbon footprint lies in the manufacturing and recycling. Besides, I don’t use the phone for gaming, which might be a reason why I haven’t noticed it being particularly slow (unlike my previous phone which was a iPhone 4s and was getting significantly slower over time).
J’ai l’impression qu’ils s’affolent pour pas grand chose. Les collègues qui travaillent sur le quantique en sont à travailler pour augmenter le temps de cohérence d’une poignée de qbits. Les rares résultats obtenus avec algos quantiques restent très largement calculables avec un ordi classique. Pour l’instant c’est surtout de la comm pour récupérer des financements, publics ou privés, pour développer les dispositifs mais ça parait encore très loin d’une application. Ça arrivera peut être un jour mais pas tout de suite…
It requires iOS 16 😭
Ok, I’ll look into that then. Thanks.