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 838 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
40
  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 (`src/cli/` in the source tree).
  8. mod cleaning;
  9. mod parsing;
  10. mod tsv;
  11. mod util;
  12. mod io;
  13. mod ids;
  14. mod gender;
  15. mod layout;
  16. mod graph;
  17. mod marc;
  18. mod openlib;
  19. mod amazon;
  20. mod goodreads;
  21. mod arrow;
  22. mod interactions;
  23. mod cli;
  24. mod prelude;
  25. use mimalloc::MiMalloc;
  26. #[global_allocator]
  27. static GLOBAL: MiMalloc = MiMalloc;
  28. use anyhow::Result;
  29. use clap::Parser;
  30. use cli::CLI;
  31. fn main() -> Result<()> {
  32. let opt = CLI::parse();
  33. opt.exec()
  34. }
Tip!

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

Comments

Loading...