Stepan Koltsov
Stepan Koltsov
``` let client = clickhouse::Client::default() .with_url("https://xxx.us-east-1.aws.clickhouse.cloud") .with_user("default") .with_password("XXX"); let mut insert = client.insert("events").unwrap(); insert.write(&EventsRow { ts: Utc::now(), }).await.unwrap(); insert.end().await.unwrap(); ``` Works fine with `rustls-tls` feature enabled, but without it it...
### Bug Description `derive(sqlx::Decode)` fails on `#[repr(transparent)]` ### Minimal Reproduction ``` #[derive(sqlx::Decode)] #[repr(transparent)] struct Foo { s: String, } ``` ``` error: unexpected #[repr(..)] --> xxx.rs:43:1 | 43 | /...
**Is your feature request related to a problem? Please describe.** Repro code does this: - create a process `sh -c 'sleep 1000000000'` (`exec sleep 1` reproduces it too) - pipes...
### Description ``` "mounts": [ { "destination": "/ddd", "source": "/", // and if we specify here "type": "bind", runsc crashes } ] ``` does not do anything except creating empty...
With code like this: ``` RESTClient(base = "http://my-local-polygon-proxy") ``` streaming API does not work correctly. On this line: https://github.com/polygon-io/client-python/blob/f789d2905bf9410ce372ff8c3dd8549534c4603d/polygon/rest/base.py#L231 Next URL tries to replace in returneded URL, that is `https://api.polygon.com`...
When I put ``` Signed-off-by: Stepan Koltsov ``` it does not accept it. ``` Signed-off-by: Stepan Koltsov ``` works fine. My guess is e-mail is too short.
# Rust Rust has AST-level preprocessor, e. g. ``` #[cfg(unix)] struct UnixSocket {} ``` or ``` #[cfg(target_pointer_width = 32)] fn copy_memory() {} ``` Which means that element is dropped from...
Trying to understand how this code works, and types may help.
This is what I'm trying to do: ``` let client = oci_client::Client::new(ClientConfig::default()); eprintln!("Trying to list with anonymous auth..."); let mut tags = client .list_tags(&image, &RegistryAuth::Anonymous, None, None) .await; if let...