Version bump and edition upgrade

This commit is contained in:
Gary Guo 2023-10-28 01:14:25 +01:00
parent fdf70d1e18
commit ad1b65a9b6
7 changed files with 93 additions and 7 deletions

1
.gitignore vendored
View File

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

87
Cargo.lock generated Normal file
View File

@ -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",
]

View File

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

View File

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

View File

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

View File

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

View File

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