|
The content is pretty narrow, with a lot of space between the left nav and the content itself. I'd shift it left and widen it 10rem or so.
|
# ¿ May 10, 2019 17:01 |
|
|
# ¿ May 12, 2024 08:30 |
|
Vanadium posted:For replication, maybe you could find the right git revision corresponding to the yanked release and depending on that directly instead of going through cargo. If you go the route of pinning to a specific SHA you should probably clone it somewhere you control, lest the owner decides to nuke some history or the repo.
|
# ¿ May 25, 2019 18:24 |
|
That's a solid allegory for programming in general: make it work first, then worry about performance.
|
# ¿ Dec 29, 2020 07:56 |
|
You’re calling clone inside the closure, which must move the original for that call to work. I think you need to clone outside and move that in? I’m pretty new to rust myself so might be wrong.
|
# ¿ Jul 16, 2021 16:17 |
|
prom candy posted:Yeah I was going to mention Laravel itself is turning 12 next month and Rails is god knows how old. This doesn’t help with your main ask (rust on rails stuff), but if you aren’t using typescript check it out. There are ways to fully type your state and everything else. The enums aren’t the same as rust, but union types fill the role of enums with values.
|
# ¿ May 25, 2023 23:27 |
|
Great! I kind of thought you would be given you posted in here, but the enum thing made me question so I commented.
|
# ¿ May 26, 2023 00:15 |
|
|
# ¿ May 12, 2024 08:30 |
|
Ranzear posted:Is there a way to alter the cargo new behavior to add some extra default crates and other toml changes or perhaps change "Hello world!" to "Sup fuckers!" for instance? Not from the core new command. But maybe a template repo with what you want would make sense? Whatever your starting point is, put that in a repo somewhere. Clone and push to a new origin for a new project. There’s probably a bunch of opinionated templates repos already out there even.
|
# ¿ Apr 23, 2024 02:05 |