diff --git a/Cargo.toml b/Cargo.toml index 0c933398..5b0c835d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,6 @@ members = [ [workspace.package] version = "1.3.2" authors = ["wangfenjin "] -edition = "2021" repository = "https://github.com/duckdb/duckdb-rs" homepage = "https://github.com/duckdb/duckdb-rs" documentation = "http://docs.rs/duckdb/" @@ -17,6 +16,8 @@ readme = "README.md" keywords = ["duckdb", "database", "ffi"] license = "MIT" categories = ["database"] +edition = "2021" +rust-version = "1.82.0" [workspace.dependencies] duckdb = { version = "=1.3.2", path = "crates/duckdb" } diff --git a/README.md b/README.md index c1f46e90..25cf388e 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,10 @@ If you use the `bundled` features, you will get pregenerated bindings for the bundled version of DuckDB. If you want to run `bindgen` at buildtime to produce your own bindings, use the `buildtime_bindgen` Cargo feature. +## Rust version compatibility + +duckdb-rs is built and tested with stable Rust, and will keep a rolling MSRV (minimum supported Rust version) that can only be updated in major and minor releases on a need by basis (e.g. project dependencies bump their MSRV or a particular Rust feature is useful for us etc.). The new MSRV will be at least 6 months old. Patch releases are guaranteed to have the same MSRV. + ## Contributing We welcome contributions! Take a look at [CONTRIBUTING.md](CONTRIBUTING.md) for more information. diff --git a/crates/duckdb-loadable-macros/Cargo.toml b/crates/duckdb-loadable-macros/Cargo.toml index 16ce499e..9741f824 100644 --- a/crates/duckdb-loadable-macros/Cargo.toml +++ b/crates/duckdb-loadable-macros/Cargo.toml @@ -2,7 +2,6 @@ name = "duckdb-loadable-macros" version = "0.1.9" authors = { workspace = true } -edition = { workspace = true } license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } @@ -10,6 +9,8 @@ keywords = { workspace = true } readme = { workspace = true } categories = ["external-ffi-bindings", "database"] description = "Native bindings to the libduckdb library, C API; build loadable extensions" +edition = { workspace = true } +rust-version = { workspace = true } [dependencies] darling = "0.20.10" diff --git a/crates/duckdb/Cargo.toml b/crates/duckdb/Cargo.toml index aaa6ebd7..3ddb0533 100644 --- a/crates/duckdb/Cargo.toml +++ b/crates/duckdb/Cargo.toml @@ -2,7 +2,6 @@ name = "duckdb" version = "1.3.2" authors = { workspace = true } -edition = { workspace = true } repository = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } @@ -11,6 +10,8 @@ keywords = { workspace = true } license = { workspace = true } categories = { workspace = true } description = "Ergonomic wrapper for DuckDB" +edition = { workspace = true } +rust-version = { workspace = true } [lib] name = "duckdb" diff --git a/crates/libduckdb-sys/Cargo.toml b/crates/libduckdb-sys/Cargo.toml index 40b82d47..aedcba3c 100644 --- a/crates/libduckdb-sys/Cargo.toml +++ b/crates/libduckdb-sys/Cargo.toml @@ -2,7 +2,6 @@ name = "libduckdb-sys" version = "1.3.2" authors = { workspace = true } -edition = { workspace = true } license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } @@ -12,6 +11,8 @@ build = "build.rs" categories = ["external-ffi-bindings", "database"] description = "Native bindings to the libduckdb library, C API" exclude = ["duckdb-sources"] +edition = { workspace = true } +rust-version = { workspace = true } [features] default = ["vcpkg", "pkg-config"]