Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. workspace = { members = ["mgentools"] }
  2. [package]
  3. name = "mgen"
  4. version = "0.1.0"
  5. edition = "2021"
  6. [dependencies]
  7. chrono = "0.4.24"
  8. console-subscriber = { version = "0.2.0", optional = true }
  9. futures = "0.3.28"
  10. glob = "0.3.1"
  11. hyper = { version = "0.14", default-features = false, features = ["client"] }
  12. hyper-rustls = "0.24.1"
  13. hyper-socks2 = { version = "0.8.0", default-features = false, features = ["rustls"] }
  14. rand = "0.8.5"
  15. rand_distr = { version = "0.4.3", features = ["serde1"] }
  16. rand_xoshiro = "0.6.0"
  17. rustc-hash = "1.1.0"
  18. rustls-pemfile = "1.0.3"
  19. serde = { version = "1.0.158", features = ["derive"] }
  20. serde_yaml = "0.9.21"
  21. tokio = { version = "1", features = ["full"] }
  22. tokio-metrics = { version = "0.3.1", optional = true }
  23. tokio-rustls = { version = "0.24.1", features = ["dangerous_configuration"] }
  24. tokio-socks = "0.5.1"
  25. tracing = { version = "0.1.40", optional = true }
  26. url = "2.4.0"
  27. [features]
  28. default = []
  29. tracing = ["dep:console-subscriber", "dep:tracing", "dep:tokio-metrics", "tokio/tracing"]
  30. [profile.release]
  31. lto = true
  32. codegen-units = 1
  33. [profile.bench]
  34. # useful for profiling, but increases binary size,
  35. # so potentially bad for real experiments
  36. debug = true