d4h0
d4h0
Basically, normally you'd get the following: ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0: styles::get_error with msg="test" at tests/styles.rs:13 11 │ 12 │ #[rustfmt::skip] 13 > #[tracing::instrument] 14 │ fn get_error(msg: &'static str)...
I think Cargo should offer the root directory of the current base directory (the workspace or the standalone dir) as an environment variable, but [it seems this doesn't exist](https://doc.rust-lang.org/cargo/reference/environment-variables.html). Maybe...
Also, ergonomics are not really great, with the workaround mentioned above: ```rust let mut buf = bunt::termcolor::Buffer::ansi(); let err = |e: &dyn Debug| error!("Error while converting `bunt` format string {:?}:...
> Are you sure about this? Writing into a standard stream shouldn't allocate, no? Yes, I'm pretty sure (if I'm not missing anything). `Buffer` has [the following method](https://docs.rs/termcolor/1.1.0/termcolor/struct.Buffer.html#method.into_inner): ```rust pub...
@ryansolid, thank you so much for your detailed and insightful response! I followed your recommendation and read the `TodoMVC` example. To be honest, I like the approach of `stage0` even...
Very interesting! Thanks again, @ryansolid! Porting or creating a new library is probably not the smartest thing to do, but in this case it seems pretty interesting to me. In...
Have you seen [Playwright::with_driver](https://docs.rs/playwright/0.0.18/playwright/api/playwright/struct.Playwright.html#method.with_driver)? You can install browsers yourself, and then point Playwright to their location. [Looks like](https://github.com/JupiterOne/playwright-aws-lambda/tree/main/src/bin), that's what `playwright-aws-lambda` does.
Thanks for your fast response, @octaltree! > fix generated structures and create builder types as an optional argument. > Finally, if there is no implementation, port the implementation from typescript...
I will add some notes to this issue, in case others want to contribute to this repo. The issue that I've opened in the 'playwright' repo (linked above), might be...
> This rust binding is something I'm doing on my own. I don't want it to be a conscious hindrance to the original. The author of Ruby Binding is really...