Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [workspace]
  2. resolver = "2"
  3. members = [
  4. "rust/cjdns_sys",
  5. "rust/cjdnstool",
  6. ]
  7. [profile.release]
  8. opt-level = 2
  9. panic = "unwind"
  10. # In debug mode, enable optimizations for dependencies, but not for our code
  11. [profile.dev.package."*"]
  12. opt-level = 2
  13. [workspace.dependencies]
  14. cjdns = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  15. cjdns-admin = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  16. cjdns-crypto = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  17. cjdns-keys = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  18. cjdns-bytes = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  19. cjdns-bencode = { git = "https://github.com/cjdelisle/cjdns-route-server", rev = "d19d5f03c6336f0ae637694968a40e511f3882eb", version = "0.1.0" }
  20. sodiumoxide = { git = "https://github.com/cjdelisle/sodiumoxide", rev = "9f6a18d40a4db253edfebac9f2ce5c22d09b1f47", version = "0.2", default-features = false, features = ["std"] }
  21. clap = { version = "4", features = ["derive"] }
  22. const_format = "0.2"
  23. data-encoding = "2"
  24. lazy_static = "1"
  25. serde = { version = "1", features = ["derive"] }
  26. serde_json = "1"
  27. sha2 = "0.10"
  28. tokio = { version = "1.27", features = ["fs", "process", "net", "macros", "time", "rt-multi-thread", "sync"] }
  29. hex = "0.4"
  30. log = { version = "0.4", features = ["std", "release_max_level_trace"] }
  31. parking_lot = "0.12"
  32. thiserror = "1.0"
  33. anyhow = { version = "1.0", features = ["backtrace"] }
  34. boringtun = { git = "https://github.com/cjdelisle/boringtun", rev = "f288b2f461e7322a278b63b1ddc4ab705b5b7462", version = "0.3", features = ["additional_data"] }
  35. slog = { version = "2.7", features = ["release_max_level_trace"] }
  36. pnet = { version = "0.29" }
  37. once_cell = "1.9"
  38. async-recursion = "1"
  39. socket2 = "0"
  40. libc = "0"
  41. num_cpus = "1"
  42. async-trait = "0.1"
  43. env_logger = "0.11"
  44. cc = "1.0"
  45. cbindgen = { version = "0.16" }
  46. bindgen = { version = "0.55" }
  47. byteorder = "1.5"
  48. trust-dns-resolver = "0.23.2"
  49. ipnetwork = "0.20"
  50. num_enum = "0.7"