/codegen/Cargo.toml

https://github.com/dtolnay/syn · TOML · 35 lines · 26 code · 5 blank · 4 comment · 0 complexity · 229f3aba08b66daf907000327df621c4 MD5 · raw file

  1. [package]
  2. name = "syn-internal-codegen"
  3. version = "0.0.0"
  4. authors = ["David Tolnay <dtolnay@gmail.com>", "Nika Layzell <nika@thelayzells.com>"]
  5. edition = "2018"
  6. publish = false # this is an internal crate which should never be published
  7. [dependencies]
  8. anyhow = "1.0"
  9. color-backtrace = "0.2"
  10. indexmap = { version = "1.0", features = ["serde-1"] }
  11. inflections = "1.1"
  12. proc-macro2 = { version = "1.0.20", features = ["span-locations"] }
  13. quote = "1.0"
  14. semver = { version = "0.9", features = ["serde"] }
  15. serde = { version = "1.0.88", features = ["derive"] }
  16. serde_json = "1.0.38"
  17. syn-codegen = { path = "../json" }
  18. syn = { path = "..", features = ["derive", "parsing", "printing", "full"], default-features = false }
  19. thiserror = "1.0"
  20. toml = "0.4.10"
  21. # work around https://github.com/crossbeam-rs/crossbeam/issues/435
  22. # until https://github.com/BurntSushi/ripgrep/pull/1427 is released
  23. crossbeam-utils = "=0.6.5"
  24. [dependencies.rustfmt]
  25. package = "rustfmt_lib"
  26. git = "https://github.com/rust-lang-nursery/rustfmt"
  27. rev = "99edc8826ee6d7a5d529e8749cdf4ac999dfd954"
  28. [workspace]
  29. # Prefer that `cargo clean` in syn's directory does not require a rebuild of
  30. # rustfmt in the codegen directory.