Guest User

Untitled

a guest
Apr 7th, 2018
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. -rustcraft/
  2. -gl_test/
  3. -src/
  4. -lib.rs
  5. -Cargo.toml
  6. -root/
  7. -src/
  8. -<several modules go here>
  9. -main.rs
  10. -Cargo.toml
  11. -Cargo.toml
  12.  
  13. [package]
  14. name = "rustcraft"
  15. version = "0.1.0"
  16. authors = ["Phoenix <kahlo.phoenix@gmail.com>"]
  17.  
  18. [workspace]
  19. members = [
  20. "root",
  21. "gl_test"
  22. ]
  23.  
  24. [[bin]]
  25. name = "root"
  26. path = "root/src/main.rs"
  27.  
  28. [package]
  29. name = "root"
  30. version = "0.1.0"
  31. authors = ["Phoenix <kahlo.phoenix@gmail.com>"]
  32.  
  33. [dependencies]
  34. glm = "0.2.3"
  35. time = "0.1"
  36. image = "0.18.0"
  37. stopwatch = "0.0.7"
  38. rand = "0.4"
  39. two-lock-queue = "0.1.1"
  40. volatile_cell = "1.0.0"
  41. monitor = "0.1.0"
  42. num_cpus = "1.0"
  43. uuid = { version = "0.6", features = ["v4"] }
  44. concurrent-hashmap = "0.2.2"
  45. noise = "0.4.1"
  46. vulkano = "0.9"
  47. winit = "0.11.2"
  48.  
  49. [package]
  50. name = "gl_test"
  51. version = "0.1.0"
  52. authors = ["Phoenix <kahlo.phoenix@gmail.com>"]
  53. workspace = ".."
  54.  
  55. [dependencies]
  56. gl = "0.10.0"
  57.  
  58. #![feature(integer_atomics)]
  59. #![feature(collections)]
  60. #![feature(option_ref_mut_cloned)]
  61. #![feature(fnbox)]
  62. #![feature(conservative_impl_trait)]
  63. #![feature(iterator_step_by)]
  64. #![feature(get_type_id)]
  65. #![feature(option_filter)]
  66.  
  67. pub extern crate glm;
  68. pub extern crate time;
  69. pub extern crate image;
  70. pub extern crate stopwatch;
  71. pub extern crate rand;
  72. pub extern crate two_lock_queue;
  73. pub extern crate volatile_cell;
  74. pub extern crate monitor;
  75. pub extern crate num_cpus;
  76. pub extern crate uuid;
  77. pub extern crate concurrent_hashmap;
  78. pub extern crate noise;
  79. extern crate winit;
  80.  
  81. pub mod math;
  82. pub mod graphics;
  83. pub mod collections;
  84. pub mod threading;
  85. pub mod simple_test;
  86. pub mod util;
  87.  
  88. pub fn main() {
  89. println!("hello world");
  90. }
  91.  
  92. error[E0463]: can't find crate for `glm`
  93. --> root/src/main.rs:12:1
  94. |
  95. 12 | pub extern crate glm;
  96. | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
  97.  
  98. error: aborting due to previous error
  99.  
  100. error: Could not compile `rustcraft`.
Add Comment
Please, Sign In to add comment