diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39b61e51..b1a27ccf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,7 @@ jobs: - stable - beta - nightly - - 1.58.0 + - 1.63.0 steps: - name: Checkout Crate uses: actions/checkout@v4 diff --git a/Cargo.toml b/Cargo.toml index adea43c7..3dee54db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,12 +8,12 @@ repository = "https://github.com/BlockstreamResearch/rust-simplicity/" documentation = "https://docs.rs/simplicity-lang/" description = "General purpose library for processing Simplicity programs" edition = "2021" -rust-version = "1.58.0" +rust-version = "1.63.0" [features] default = ["bitcoin", "elements"] test-utils = ["simplicity-sys/test-utils"] -serde = ["actual-serde", "bitcoin/serde", "elements/serde"] +serde = ["dep:serde", "bitcoin/serde", "elements/serde"] [lib] name = "simplicity" @@ -28,9 +28,7 @@ hashes = { package = "bitcoin_hashes", version = "0.13" } hex = { package = "hex-conservative", version = "0.1.1" } santiago = "1.3" simplicity-sys = { version = "0.2.0", path = "./simplicity-sys" } -actual-serde = { package = "serde", version = "1.0.103", features = [ - "derive", -], optional = true } +serde = { version = "1.0.103", features = ["derive"], optional = true } [target.wasm32-unknown-unknown.dependencies] getrandom = { version = "0.2", features = ["js"] } diff --git a/README.md b/README.md index d748a1ef..14ae706d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Under development.... # Minimum Supported Rust Version -The MSRV of this crate is **1.58.0**. +The MSRV of this crate is **1.63.0**. # Updating jets code diff --git a/clippy.toml b/clippy.toml index 77173243..31a5c0d2 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.58.0" +msrv = "1.63.0" # Default 250, not sure what units. But it does not like the generic node stuff. type-complexity-threshold = 1000 diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 38088aea..591a7491 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "simplicity-fuzz" edition = "2021" -rust-version = "1.58.0" +rust-version = "1.63.0" version = "0.0.1" authors = ["Generated by fuzz/generate-files.sh"] publish = false diff --git a/fuzz/generate-files.sh b/fuzz/generate-files.sh index 74869cc5..21a992e9 100755 --- a/fuzz/generate-files.sh +++ b/fuzz/generate-files.sh @@ -12,7 +12,7 @@ cat > "$REPO_DIR/fuzz/Cargo.toml" <; N_POWERS]>> = RefCell::new(None); + static POWERS_OF_TWO: RefCell; N_POWERS]>> = const { RefCell::new(None) }; } fn initialize(write: &mut Option<[Arc; N_POWERS]>) {