Skip to content

Commit 5152998

Browse files
committed
Update workspace configuration and dependencies for version 0.13.0, including resolver change to 3, Clippy lints, and adjustments in couch_rs and couch_rs_derive packages.
1 parent 04654ee commit 5152998

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

Cargo.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
[workspace]
22
members = ["couch_rs", "couch_rs_derive"]
3-
resolver = "2"
3+
resolver = "3"
4+
5+
[workspace.package]
6+
version = "0.13.0"
7+
edition = "2024"
8+
rust-version = "1.89.0"
9+
10+
# Switch on Clippy pedantic lints
11+
[workspace.lints.clippy]
12+
pedantic = "warn"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Include this dependency in the Cargo.toml file:
1717

1818
```toml
1919
[dependencies]
20-
couch_rs = "0.12"
20+
couch_rs = "0.13"
2121
```
2222

2323
## Description

couch_rs/Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "couch_rs"
3-
version = "0.12.1"
3+
version = { workspace = true }
44
authors = [
55
"Mathieu Amiot <mathieu.amiot@yellowinnovation.fr>",
66
"Marcel Ibes <mibes@mibesco.com>",
@@ -12,13 +12,14 @@ documentation = "https://docs.rs/couch_rs"
1212
repository = "https://github.com/mibes/couch-rs"
1313
keywords = ["couchdb", "orm", "database", "nosql"]
1414
categories = ["database"]
15-
edition = "2021"
15+
edition = { workspace = true }
1616
include = ["**/*.rs", "Cargo.toml"]
17+
rust-version = { workspace = true }
1718

1819
[dependencies]
1920
serde = { version = "1.0.228", features = ["derive"] }
2021
serde_json = "1.0.149"
21-
couch_rs_derive = { version = "0.12.1", optional = true, path = "../couch_rs_derive" }
22+
couch_rs_derive = { version = "0.13", optional = true, path = "../couch_rs_derive" }
2223
url = "2.5.8"
2324
tokio = { version = "^1.49.0", features = ["rt-multi-thread"] }
2425
base64 = "0.22.1"
@@ -55,3 +56,6 @@ rustls-no-provider = ["reqwest/rustls-no-provider"]
5556

5657
[lib]
5758
doctest = false
59+
60+
[lints]
61+
workspace = true

couch_rs_derive/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "couch_rs_derive"
3-
version = "0.12.1"
3+
version = { workspace = true }
44
authors = ["Marcel Ibes <mibes@mibesco.com>"]
55
license = "MIT/Apache-2.0"
66
description = "CouchDB library for Rust"
@@ -9,8 +9,9 @@ documentation = "https://docs.rs/couch_rs"
99
repository = "https://github.com/mibes/couch-rs"
1010
keywords = ["couchdb", "orm", "database", "nosql"]
1111
categories = ["database"]
12-
edition = "2021"
12+
edition = { workspace = true }
1313
include = ["**/*.rs", "Cargo.toml"]
14+
rust-version = { workspace = true }
1415

1516
[lib]
1617
name = "couch_rs_derive"
@@ -20,3 +21,6 @@ proc-macro = true
2021
proc-macro2 = "1.0.106"
2122
quote = "1.0.44"
2223
syn = { version = "2.0.114", features = ["visit"] }
24+
25+
[lints]
26+
workspace = true

0 commit comments

Comments
 (0)