Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

main.rs 870 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  1. //! Code for processing and integrating book data.
  2. //!
  3. //! The book data tools are developed as a monolithic executable. The commands
  4. //! themselves live under [cli], while the rest of the package contains data
  5. //! definitions and helper routines that build on this code. The tools are not
  6. //! currently usable as a library; you can extend them by adding additional commands
  7. //! to the [cli] module.
  8. pub mod cleaning;
  9. pub mod parsing;
  10. pub mod tsv;
  11. pub mod util;
  12. pub mod io;
  13. pub mod ids;
  14. pub mod gender;
  15. pub mod graph;
  16. pub mod marc;
  17. pub mod openlib;
  18. pub mod amazon;
  19. pub mod goodreads;
  20. pub mod arrow;
  21. pub mod interactions;
  22. pub mod cli;
  23. pub mod prelude;
  24. use mimalloc::MiMalloc;
  25. #[global_allocator]
  26. static GLOBAL: MiMalloc = MiMalloc;
  27. use anyhow::Result;
  28. use structopt::StructOpt;
  29. use cli::CLI;
  30. fn main() -> Result<()> {
  31. let opt = CLI::from_args();
  32. opt.exec()
  33. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...