-
The main problem is that not all Pg types supports binary format, because it optional. But Diesel uses only binary format.
[docs for CREATE TYPE](https://www.postgresql.org/docs/11/sql-createtype.h…
-
## Motivation
I would like to use[ Postgres network types](https://www.postgresql.org/docs/current/datatype-net-types.html) (i.e. `inet`) in my `Model` definitions. I understand there may be wo…
-
## Setup
### Versions
- **Rust:** 1.66.1
- **Diesel:** 2.0.4
- **Database:** Postgres
- **Operating System** Arch Linux
### Feature Flags
- **diesel:** "postgres"
## Problem
Com…
-
I have this in my **Cargo.toml**:
```toml
[dependencies]
actix-web = "=2.0.0"
actix-rt = "=1.0.0"
chrono = { version = "=0.4.11", features = ["serde"] }
diesel = { version = "=1.4.4", features…
-
I tried to use it with geography point type `geography(point, 4326) not null` in postgres and `PgPoint` in my model struct, but it's not deserializing the values correctly:
When I insert
```sql
S…
-
- [ ] Add a Readme
- [ ] Add basic integration tests
- [ ] Make it compile with `#[deny(missing_docs)]`
-
Hi, I can't seem to find way to properly update this and make it run. After all, it's a tutorial for beginners.
Seems like there are major changes in Rocket (v0.5 now) and r2d2, I think the biggest…
-
### Code
Unfortunally I cannot provide any code to reproduce this, as this happens in a rather complicated private code base. The ICE goes away as soon as I fix the problems mentioned in the or…
-
With encrypted cookies maybe.
-
Steps to reproduce:
```sh
# 1.56.0 corresponds to the first rust version before of the 2021 edition
cargo +1.56.0 new test_edition --lib
cd test_edition
cat Cargo.toml
[package]
name = "test_edit…