You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.5 KiB

  1. # For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
  2. [package]
  3. name = "rs_machine_input_chirho"
  4. version = "0.1.0"
  5. edition = "2021"
  6. authors = ["Love Jesus <[email protected]>"]
  7. description = "A command-line tool to synchronize computer resource information with a remote database"
  8. readme = "README.md"
  9. homepage = "https://gitea-aleluya.prd.pw/loveJesus/rs_machine_input_chirho.git"
  10. repository = "https://gitea-aleluya.prd.pw/loveJesus/rs_machine_input_chirho.git"
  11. license = "MIT"
  12. keywords = ["system-info", "synchronization", "database"]
  13. categories = ["command-line-utilities", "system"]
  14. [dependencies]
  15. chrono = { version="0.4.38", features=["serde"] }
  16. rocket = { version="0.5.1" , features = ["json", ] }
  17. sqlx = { version="~0.7" , features = ["chrono", "runtime-tokio", "sqlite"] }
  18. serde = { version="~1.0", features = ["derive"] }
  19. serde_json = "~1.0"
  20. dotenvy = "0.15.7"
  21. clap = { version="4.5.13" , features=["derive"]}
  22. reqwest = { version="0.12.5", features = ["json", "blocking"] }
  23. hostname = "0.4.0"
  24. users = "0.11.0"
  25. tokio = { version = "1.39.2", features = ["full"] }
  26. [dependencies.rocket_db_pools]
  27. version = "0.1.0"
  28. features = ["sqlx_sqlite"]
  29. [default.databases.sqlite_database_chirho]
  30. url = "sqlite:db_chirho.sqlite"
  31. [target.'cfg(target_os = "linux")'.dependencies]
  32. sys-info = "0.9"
  33. [target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies]
  34. sysinfo = "0.23"
  35. [[bin]]
  36. name = "rs_machine_input_chirho"
  37. path = "src/main.rs"