Kirill Bulatov
bce4233d3a
Rework Cargo.toml dependencies ( #3322 )
...
* Use workspace variables from cargo, coming with rustc
[1.64](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1640-2022-09-22 )
See
https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-package-table
and
https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-dependencies-table
sections.
Now, all dependencies in all non-root `Cargo.toml` files are defined as
```
clap.workspace = true
```
sometimes, when extra features are needed, as
```
bytes = {workspace = true, features = ['serde'] }
```
With the actual declarations (with shared features and version
numbers/file paths/etc.) in the root Cargo.toml.
Features are additive:
https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
* Uses the mechanism above to set common, 2021, edition and license across the
workspace
* Mechanically bumps a few dependencies
* Updates hakari format, as it suggested:
```
work/neon/neon kb/cargo-templated ❯ cargo hakari generate
info: no changes detected
info: new hakari format version available: 3 (current: 2)
(add or update `dep-format-version = "3"` in hakari.toml, then run `cargo hakari generate && cargo hakari manage-deps`)
```
2023-01-13 18:13:34 +02:00
Vadim Kharitonov
0b428f7c41
Enable licenses check for 3rd-parties
2023-01-03 15:11:50 +01:00
Dmitry Ivanov
61194ab2f4
Update rust-postgres everywhere
...
I've rebased[1] Neon's fork of rust-postgres to incorporate
latest upstream changes (including dependabot's fixes),
so we need to advance revs here as well.
[1] https://github.com/neondatabase/rust-postgres/commits/neon
2022-12-17 00:26:10 +03:00
Dmitry Ivanov
83baf49487
[proxy] Forward compute connection params to client
...
This fixes all kinds of problems related to missing params,
like broken timestamps (due to `integer_datetimes`).
This solution is not ideal, but it will help. Meanwhile,
I'm going to dedicate some time to improving connection machinery.
Note that this **does not** fix problems with passing certain parameters
in a reverse direction, i.e. **from client to compute**. This is a
separate matter and will be dealt with in an upcoming PR.
2022-12-16 21:37:50 +03:00
Kirill Bulatov
c4ee62d427
Bump clap and other minor dependencies ( #2623 )
2022-10-17 12:58:40 +03:00
Kirill Bulatov
7863c4a702
Regenerate Hakari files, add a CI check for that
2022-09-20 11:39:10 +03:00
Kirill Bulatov
b8eb908a3d
Rename old project name references
2022-09-14 08:14:05 +03:00
Ankur Srivastava
84d1bc06a9
refactor: replace lazy-static with once-cell ( #2195 )
...
- Replacing all the occurrences of lazy-static with `once-cell::sync::Lazy`
- fixes #1147
Signed-off-by: Ankur Srivastava <best.ankur@gmail.com >
2022-08-05 19:34:04 +02:00
Egor Suvorov
60e5dc10e6
postgres_ffi/wal_generate: use 'craft' instead of 'generate'
...
It does very fine-tuned byte-to-byte WAL crafting, not a sloppy generation.
Hence 'craft' sounds like a better description.
2022-07-08 18:30:56 +02:00