Comments on the documentation #58
Replies: 1 comment 3 replies
-
This is an interesting point — I agree it might be worth saying something like "If you need to use sqlx, you will need to choose between async-std and tokio." I won't point to either of them because at this particular moment in time, they each have major flaws. I will also take a look at trying to convince the sqlx folks to add an async-global-executor option, which would work on async-std or smol, as they both use the same underlying executor. Your feedback on docs is very helpful, valid, and appreciated! I'm trying to write for a range of experience with rust and web frameworks, and it's easy to lose track of the different readers. Could you write a little one-sentence simplified "persona" with the background you're coming from? Doesn't need to be exactly you, but it would be useful to know stuff like: Experience with rust (is this your first rust project? Tenth? Should I be explaining other "getting started with rust" stuff in the docs?) and experience with async rust (the point about sqlx is a good example of something I wouldn't have thought to point out, are there other things I'm assuming familiarity with?). Might be useful to also understand what other web frameworks you're familiar with other than phoenix, although phoenix/plug will definitely be the closest fit. I intend to ask other people this as well to better understand what type of documentation to include, and might even turn this into a little form. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, first of all thank you for this great project! I used phoenix for about 3 years, and I love that someone is trying to port the good about phoenix to rust!
I have a couple of comments on the tutorial, not sure if you want to separate them into new threads, so I'm putting them here.
I would even want some more nudging relative to tokio or async-std, but I'm not able to write the nudge part :-)
cargo add trillium_logger env_logger
for example. The crate name has an underscore, where the library has a -. It's a detail really, it provides just for a smoother experience, feel free to ignore.Beta Was this translation helpful? Give feedback.
All reactions