I'm actually questioning if libraries keeping a "minimum rust version supported" is worth the trouble. Is it so bad to just track stable?
-
Show this thread
-
Replying to @seanmonstar
unless/until we can convince debian/ubuntu/etc to package rustup instead of rustc directly, i will keep supporting old compilers to head off issues like this one https://github.com/QuietMisdreavus/twitter-rs/issues/15 …
2 replies 0 retweets 2 likes -
Replying to @QuietMisdreavus
Perhaps the distros will move faster if the we stop catering to them...
1 reply 0 retweets 1 like -
Replying to @seanmonstar
i don't follow this line of reasoning. how am i catering to distros by trying to support newcomers to rust, who don't know how/want to install rustup from the script?
1 reply 0 retweets 1 like -
Replying to @QuietMisdreavus
It's a fair viewpoint. I meant more that if distros receive complaints that that their packaged software is too old to compile anything useful, maybe they'll move faster (lol who am I kidding ;_;)
1 reply 0 retweets 0 likes -
Replying to @seanmonstar
i mean, it takes less effort for me to "support old compilers" by never touching my code after writing it from my perspective, other people are putting "effort" in by publishing updates with the newest features, that don't meaningfully affect their api otherwise
1 reply 0 retweets 0 likes -
Replying to @QuietMisdreavus @seanmonstar
all i'm asking is to treat "your code will break (unless you update your compiler)" as a breaking change, and to version appropriately if you must publish a version, update the number such that my Cargo.toml will still work on CI, where i don't push a lockfile
1 reply 0 retweets 0 likes
I've followed that policy for all libraries I publish, but it's hard when dependencies don't do the same. It's also hard when a requested feature requires a dependency needing a newer compiler.
-
-
Replying to @seanmonstar @QuietMisdreavus
The problem I find isn't that libs use a minimum, but that the minimum set by each library is arbitrary and is bumped arbitrarily. Given a dependency graph you can't reasonably tell what the minimum is and when it will change. It's not very effective :(
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.