Cargo.toml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. [package]
  2. authors = [
  3. "Michael Aaron Murphy <mmstickman@gmail.com>",
  4. "Jeremy Soller <jackpot51@gmail.com>",
  5. "Skyler Berg <skylertheberg@gmail.com>",
  6. "stratact <stratact1@gmail.com>",
  7. "AdminXVII <dev.xlheureux@gmail.com>",
  8. "Hunter Goldstein <hunter.d.goldstein@gmail.com>",
  9. "jD91mZM2 <me@krake.one>",
  10. "Agustin Chiappe Berrini <jnieve@gmail.com>",
  11. "Sag0Sag0 <Sag0Sag0@users.noreply.github.com>",
  12. ]
  13. build = "build.rs"
  14. categories = ["command-line-utilities", "config"]
  15. description = "The Ion Shell"
  16. documentation = "https://doc.redox-os.org/ion-manual/"
  17. edition = "2018"
  18. keywords = ["shell", "script", "program", "config", "configuration"]
  19. license-file = "LICENSE"
  20. name = "ion-shell"
  21. readme = "README.md"
  22. repository = "https://gitlab.redox-os.org/redox-os/ion"
  23. version = "1.0.0-alpha"
  24. [badges]
  25. gitlab = { repository = "https://gitlab.redox-os.org/redox-os/ion", branch = "master" }
  26. maintenance = { status = "experimental" }
  27. [features]
  28. man = ["builtins-proc/man"]
  29. piston = ["piston-ai_behavior", "piston_window", "piston2d-sprite"]
  30. unicode = ["regex/unicode"]
  31. [workspace]
  32. members = [ "members/builtins-proc", "members/ranges", "members/scopes-rs", "members/types-rs" ]
  33. [dev-dependencies]
  34. criterion = "0.3"
  35. serial_test = "*"
  36. serial_test_derive = "*"
  37. [[bench]]
  38. name = "terminator"
  39. harness = false
  40. [[bench]]
  41. name = "statement"
  42. harness = false
  43. [[example]]
  44. name = "window"
  45. required-features = ["piston"]
  46. [[bin]]
  47. name = "ion"
  48. path = "src/main.rs"
  49. [dependencies]
  50. kira = "0.6.0"
  51. calculate = { git = "https://gitlab.redox-os.org/redox-os/calc" }
  52. thiserror = "1.0"
  53. glob = "0.3"
  54. redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" }
  55. rand = "0.7"
  56. regex = { version = "1.3", default-features = false, features = ["std", "perf"] }
  57. small = { git = "https://gitlab.redox-os.org/redox-os/small", features = ["std"] }
  58. smallvec = "1.4"
  59. unicode-segmentation = "1.6"
  60. ion-ranges = { version = "0.1", path = "members/ranges" }
  61. scopes = { version = "0.1", path = "members/scopes-rs" }
  62. types-rs = { version = "0.1", path = "members/types-rs" }
  63. builtins-proc = { version = "0.1", path = "members/builtins-proc" }
  64. itertools = "0.9"
  65. lexical = "5.2"
  66. object-pool = { git = "https://github.com/CJP10/object-pool.git", rev = "b7461b6ad6dcc93e69c3eee378895ea8593d880e" }
  67. auto_enums = "0.7"
  68. atty = "0.2"
  69. permutate = "0.3"
  70. xdg = "2.4"
  71. #nix = "0.23"
  72. # FIXME: Needed because of https://github.com/nix-rust/nix/commit/ff6f8b8a26c8d61f4341e441acf405402b46a430
  73. nix = { git = "https://github.com/nix-rust/nix.git", rev = "ff6f8b8a" }
  74. mktemp = "0.4"
  75. # window example
  76. piston-ai_behavior = { version = "0.31", optional = true }
  77. piston_window = { version = "0.120", optional = true }
  78. piston2d-sprite = { version = "0.58", optional = true }
  79. [target."cfg(all(unix, not(target_os = \"redox\")))".dependencies]
  80. users = "0.10"
  81. [target."cfg(target_os = \"redox\")".dependencies]
  82. redox_users = "0.4.3"
  83. [target."cfg(target_os = \"dragonfly\")".dependencies]
  84. errno-dragonfly = "0.1.1"
  85. [lib]
  86. path = "src/lib/lib.rs"
  87. [profile.dev]
  88. opt-level = 0
  89. debug = true
  90. [profile.release]
  91. lto = true
  92. panic = "abort"
  93. # Required to make `cargo vendor` work
  94. [patch.crates-io]
  95. termion = { git = "https://gitlab.redox-os.org/redox-os/termion" }
  96. redox_liner = { git = "https://gitlab.redox-os.org/redox-os/liner" }