From ad1b65a9b6f5c58d45abfcac56cfd1c71c4d83ec Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Sat, 28 Oct 2023 01:14:25 +0100 Subject: [PATCH] Version bump and edition upgrade --- .gitignore | 1 - Cargo.lock | 87 ++++++++++++++++++++++ Cargo.toml | 4 +- cdylib/Cargo.toml | 2 +- test_crates/catch_std_exception/Cargo.toml | 2 +- test_crates/std_catch_exception/Cargo.toml | 2 +- test_crates/throw_and_catch/Cargo.toml | 2 +- 7 files changed, 93 insertions(+), 7 deletions(-) create mode 100644 Cargo.lock diff --git a/.gitignore b/.gitignore index 98ae53c..b3e9e33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .vscode/ target -Cargo.lock diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..4ad1349 --- /dev/null +++ b/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", +] diff --git a/Cargo.toml b/Cargo.toml index ff64183..5ab1a8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "unwinding" -version = "0.2.0" +version = "0.2.1" authors = ["Gary Guo "] -edition = "2018" +edition = "2021" license = "MIT OR Apache-2.0" description = "Unwinding library in Rust and for Rust" repository = "https://github.com/nbdd0121/unwinding/" diff --git a/cdylib/Cargo.toml b/cdylib/Cargo.toml index ce3168f..04704e8 100644 --- a/cdylib/Cargo.toml +++ b/cdylib/Cargo.toml @@ -2,7 +2,7 @@ name = "unwinding_dyn" version = "0.1.0" authors = ["Gary Guo "] -edition = "2018" +edition = "2021" [lib] crate-type = ["cdylib", "staticlib"] diff --git a/test_crates/catch_std_exception/Cargo.toml b/test_crates/catch_std_exception/Cargo.toml index 55d4982..f21c600 100644 --- a/test_crates/catch_std_exception/Cargo.toml +++ b/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"] } diff --git a/test_crates/std_catch_exception/Cargo.toml b/test_crates/std_catch_exception/Cargo.toml index 5501109..b44f456 100644 --- a/test_crates/std_catch_exception/Cargo.toml +++ b/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"] } diff --git a/test_crates/throw_and_catch/Cargo.toml b/test_crates/throw_and_catch/Cargo.toml index 5e87993..be500e9 100644 --- a/test_crates/throw_and_catch/Cargo.toml +++ b/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"] }