Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [package]
  2. name = "unwinding"
  3. version = "0.2.3"
  4. authors = ["Gary Guo <[email protected]>"]
  5. edition = "2021"
  6. license = "MIT OR Apache-2.0"
  7. description = "Unwinding library in Rust and for Rust"
  8. repository = "https://github.com/nbdd0121/unwinding/"
  9. [workspace]
  10. members = [
  11. "cdylib",
  12. "test_crates/throw_and_catch",
  13. "test_crates/catch_std_exception",
  14. "test_crates/std_catch_exception",
  15. "test_crates/panic_abort_no_debuginfo",
  16. ]
  17. [dependencies]
  18. gimli = { version = "0.31", default-features = false, features = ["read-core"] }
  19. libc = { version = "0.2", optional = true }
  20. spin = { version = "0.9.8", optional = true, default-features = false, features = ["mutex", "spin_mutex"] }
  21. core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
  22. compiler_builtins = { version = "0.1.2", optional = true }
  23. [features]
  24. alloc = []
  25. unwinder = []
  26. fde-phdr = ["libc"]
  27. fde-phdr-dl = ["fde-phdr"]
  28. fde-phdr-aux = ["fde-phdr"]
  29. fde-registry = ["alloc"]
  30. fde-static = []
  31. fde-gnu-eh-frame-hdr = []
  32. fde-custom = []
  33. dwarf-expr = []
  34. hide-trace = []
  35. personality = []
  36. personality-dummy = []
  37. print = ["libc"]
  38. panicking = []
  39. panic = ["panicking", "alloc"]
  40. panic-handler = ["print", "panic"]
  41. panic-handler-dummy = []
  42. system-alloc = []
  43. default = ["unwinder", "dwarf-expr", "hide-trace", "fde-phdr-dl", "fde-registry"]
  44. rustc-dep-of-std = ["core", "gimli/rustc-dep-of-std", "compiler_builtins"]
  45. compiler_builtins = ["dep:compiler_builtins"]
  46. core = ["dep:core"]
  47. libc = ["dep:libc"]
  48. spin = ["dep:spin"]
  49. [profile.release]
  50. debug = true
  51. [package.metadata.docs.rs]
  52. features = ["panic-handler"]