-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (41 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "lithium"
description = "Lightweight exceptions"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/iex-rs/lithium"
readme = "README.md"
keywords = ["error", "error-handling", "exception"]
categories = ["rust-patterns", "no-std"]
version = "1.0.2"
edition = "2021"
links = "rustlithium" # Force uniqueness of crate version
[dependencies]
typeid = "1.0.2"
[dev-dependencies]
anyhow = "1"
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
replace_with = "0.1.7"
[build-dependencies]
autocfg = "1.4.0"
rustc_version = "0.4.1"
[features]
sound-under-stacked-borrows = []
[package.metadata."docs.rs"]
all-features = true
[[bench]]
name = "bench"
harness = false
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
"cfg(abort, values(\"std\", \"core\"))",
"cfg(backend, values(\"itanium\", \"seh\", \"emscripten\", \"panic\", \"unimplemented\"))",
"cfg(thread_local, values(\"std\", \"attribute\", \"unimplemented\"))",
]
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
# Use newer versions of emscripten and Node than cross ships by default
[workspace.metadata.cross.target.wasm32-unknown-emscripten]
image = "ghcr.io/iex-rs/wasm32-unknown-emscripten:latest"