mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-19 13:44:55 +01:00
fix: sqlx msrv
This commit is contained in:
@@ -18,6 +18,21 @@ The following crate feature flags are available:
|
|||||||
|
|
||||||
See <https://github.com/cashubtc/cdk/blob/main/README.md>
|
See <https://github.com/cashubtc/cdk/blob/main/README.md>
|
||||||
|
|
||||||
|
|
||||||
|
## Minimum Supported Rust Version (MSRV)
|
||||||
|
|
||||||
|
The `cdk` library should always compile with any combination of features on Rust **1.63.0**.
|
||||||
|
|
||||||
|
To build and test with the MSRV you will need to pin the below dependency versions:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
cargo update -p half --precise 2.2.1
|
||||||
|
cargo update -p home --precise 0.5.5
|
||||||
|
cargo update -p tokio --precise 1.38.1
|
||||||
|
cargo update -p serde_with --precise 3.1.0
|
||||||
|
cargo update -p reqwest --precise 0.12.4
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is distributed under the MIT software license - see the [LICENSE](../../LICENSE) file for details.
|
This project is distributed under the MIT software license - see the [LICENSE](../../LICENSE) file for details.
|
||||||
|
|||||||
@@ -149,10 +149,7 @@
|
|||||||
cargo update -p home --precise 0.5.5
|
cargo update -p home --precise 0.5.5
|
||||||
cargo update -p tokio --precise 1.38.1
|
cargo update -p tokio --precise 1.38.1
|
||||||
cargo update -p serde_with --precise 3.1.0
|
cargo update -p serde_with --precise 3.1.0
|
||||||
# cargo update -p prost-derive --precise 0.12.3
|
cargo update -p reqwest --precise 0.12.4
|
||||||
# cargo update -p prost --precise 0.12.3
|
|
||||||
# cargo update -p prost-build --precise 0.12.3
|
|
||||||
# cargo update -p prost-types --precise 0.12.3
|
|
||||||
";
|
";
|
||||||
buildInputs = buildInputs ++ WASMInputs ++ [ db_msrv_toolchain ];
|
buildInputs = buildInputs ++ WASMInputs ++ [ db_msrv_toolchain ];
|
||||||
inherit nativeBuildInputs;
|
inherit nativeBuildInputs;
|
||||||
|
|||||||
Reference in New Issue
Block a user