Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "unwinding"
  3. version = "0.1.7"
  4. authors = ["Gary Guo <gary@garyguo.net>"]
  5. edition = "2018"
  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 = ["cdylib", "example"]
  11. [dependencies]
  12. gimli = { version = "0.26.1", default-features = false, features = ["read-core"] }
  13. libc = { version = "0.2", optional = true }
  14. spin = { version = "0.9.8", optional = true, default-features = false, features = ["mutex", "spin_mutex"] }
  15. [features]
  16. alloc = []
  17. unwinder = []
  18. fde-phdr = ["libc"]
  19. fde-phdr-dl = ["fde-phdr"]
  20. fde-phdr-aux = ["fde-phdr"]
  21. fde-registry = ["alloc"]
  22. fde-static = []
  23. fde-gnu-eh-frame-hdr = []
  24. fde-custom = []
  25. dwarf-expr = []
  26. hide-trace = []
  27. personality = []
  28. personality-dummy = []
  29. print = ["libc"]
  30. panicking = []
  31. panic = ["panicking", "alloc"]
  32. panic-handler = ["print", "panic"]
  33. panic-handler-dummy = []
  34. system-alloc = []
  35. default = ["unwinder", "dwarf-expr", "hide-trace", "fde-phdr-dl", "fde-registry"]
  36. [profile.release]
  37. debug = true
  38. [package.metadata.docs.rs]
  39. features = ["panic-handler"]