Skip to content

Commit 7512bf9

Browse files
committed
workspace inheritance
1 parent 3382b99 commit 7512bf9

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

Cargo.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
11
[package]
22
name = "postgres-from-row"
3+
description = "Derivable trait that allows converting a postgres row to a struct"
4+
documentation = "https://docs.rs/postgres-from-row"
5+
readme = "README.md"
6+
version.workspace = true
7+
authors.workspace = true
8+
edition.workspace = true
9+
repository.workspace = true
10+
homepage.workspace = true
11+
license-file.workspace = true
12+
keywords.workspace = true
13+
categories.workspace = true
14+
15+
[workspace]
16+
members = ["postgres-from-row-derive"]
17+
18+
[workspace.package]
319
version = "0.1.0"
420
authors = ["Remo Pas <remo.pas22@gmail.com>"]
521
edition = "2021"
6-
description = "Derivable trait that allows converting a postgres row to a struct"
7-
documentation = "https://docs.rs/postgres-from-row"
822
repository = "https://github.com/remkop22/postgres-from-row"
923
homepage = "https://github.com/remkop22/postgres-from-row"
10-
readme = "README.md"
1124
license-file = "LICENSE"
1225
keywords = ["postgres", "postgres-tokio", "postgresql", "from-row", "mapper"]
1326
categories = ["database", "parsing", "data-structures"]
1427

15-
[workspace]
16-
members = ["postgres-from-row-derive"]
17-
1828
[features]
1929
default = ["postgres"]
2030
postgres = ["dep:postgres"]

postgres-from-row-derive/Cargo.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
[package]
22
name = "postgres-from-row-derive"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
repository.workspace = true
7+
homepage.workspace = true
8+
license-file.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
12+
513

614
[lib]
715
proc-macro = true

0 commit comments

Comments
 (0)