Răsfoiți Sursa

Version bump and edition upgrade

Gary Guo 1 an în urmă
părinte
comite
ad1b65a9b6

+ 0 - 1
.gitignore

@@ -1,3 +1,2 @@
 .vscode/
 target
-Cargo.lock

+ 87 - 0
Cargo.lock

@@ -0,0 +1,87 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "catch_std_exception"
+version = "0.1.0"
+dependencies = [
+ "libc",
+ "unwinding",
+]
+
+[[package]]
+name = "compiler_builtins"
+version = "0.1.101"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01a6d58e9c3408138099a396a98fd0d0e6cfb25d723594d2ae48b5004513fd5b"
+
+[[package]]
+name = "gimli"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
+dependencies = [
+ "compiler_builtins",
+ "rustc-std-workspace-alloc",
+ "rustc-std-workspace-core",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.149"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
+
+[[package]]
+name = "rustc-std-workspace-alloc"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff66d57013a5686e1917ed6a025d54dd591fcda71a41fe07edf4d16726aefa86"
+
+[[package]]
+name = "rustc-std-workspace-core"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1956f5517128a2b6f23ab2dadf1a976f4f5b27962e7724c2bf3d45e539ec098c"
+
+[[package]]
+name = "spin"
+version = "0.9.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
+
+[[package]]
+name = "std_catch_exception"
+version = "0.1.0"
+dependencies = [
+ "libc",
+ "unwinding",
+]
+
+[[package]]
+name = "throw_and_catch"
+version = "0.1.0"
+dependencies = [
+ "libc",
+ "unwinding",
+]
+
+[[package]]
+name = "unwinding"
+version = "0.2.1"
+dependencies = [
+ "compiler_builtins",
+ "gimli",
+ "libc",
+ "rustc-std-workspace-core",
+ "spin",
+]
+
+[[package]]
+name = "unwinding_dyn"
+version = "0.1.0"
+dependencies = [
+ "libc",
+ "unwinding",
+]

+ 2 - 2
Cargo.toml

@@ -1,8 +1,8 @@
 [package]
 name = "unwinding"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Gary Guo <gary@garyguo.net>"]
-edition = "2018"
+edition = "2021"
 license = "MIT OR Apache-2.0"
 description = "Unwinding library in Rust and for Rust"
 repository = "https://github.com/nbdd0121/unwinding/"

+ 1 - 1
cdylib/Cargo.toml

@@ -2,7 +2,7 @@
 name = "unwinding_dyn"
 version = "0.1.0"
 authors = ["Gary Guo <gary@garyguo.net>"]
-edition = "2018"
+edition = "2021"
 
 [lib]
 crate-type = ["cdylib", "staticlib"]

+ 1 - 1
test_crates/catch_std_exception/Cargo.toml

@@ -1,7 +1,7 @@
 [package]
 name = "catch_std_exception"
 version = "0.1.0"
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 unwinding = { path = "../../", features = ["panic"] }

+ 1 - 1
test_crates/std_catch_exception/Cargo.toml

@@ -1,7 +1,7 @@
 [package]
 name = "std_catch_exception"
 version = "0.1.0"
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 unwinding = { path = "../../", features = ["panic"] }

+ 1 - 1
test_crates/throw_and_catch/Cargo.toml

@@ -1,7 +1,7 @@
 [package]
 name = "throw_and_catch"
 version = "0.1.0"
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 unwinding = { path = "../..", features = ["system-alloc", "personality", "panic-handler"] }