A Matrix homeserver written in Rust https://conduit.rs
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.
 
 
 
 

49 lines
2.4 KiB

  1. [package]
  2. name = "conduit"
  3. description = "A Matrix homeserver written in Rust"
  4. license = "AGPL-3.0-only"
  5. authors = ["timokoesters <timo@koesters.xyz>"]
  6. homepage = "https://conduit.rs"
  7. repository = "https://git.koesters.xyz/timo/conduit"
  8. readme = "README.md"
  9. version = "0.1.0"
  10. edition = "2018"
  11. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  12. [dependencies]
  13. # TODO: This can become optional as soon as proper configs are supported
  14. #rocket = { git = "https://github.com/SergioBenitez/Rocket.git", rev = "8d779caa22c63b15a6c3ceb75d8f6d4971b2eb67", features = ["tls"] } # Used to handle requests
  15. rocket = { git = "https://github.com/timokoesters/Rocket.git", branch = "empty_parameters", features = ["tls"] }
  16. #ruma = { git = "https://github.com/ruma/ruma", features = ["rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks"], rev = "987d48666cf166cf12100b5dbc61b5e3385c4014" } # Used for matrix spec type definitions and helpers
  17. ruma = { git = "https://github.com/timokoesters/ruma", features = ["rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks"], branch = "timo-old-fixes" } # Used for matrix spec type definitions and helpers
  18. #ruma = { path = "../ruma/ruma", features = ["rand", "client-api", "federation-api", "unstable-pre-spec", "unstable-synapse-quirks"] }
  19. tokio = "0.2.22" # Used for long polling
  20. sled = "0.32.0" # Used for storing data permanently
  21. log = "0.4.8" # Used for emitting log entries
  22. http = "0.2.1" # Used for rocket<->ruma conversions
  23. directories = "2.0.2" # Used to find data directory for default db path
  24. js_int = "0.1.5" # Used for number types for ruma
  25. serde_json = { version = "1.0.53", features = ["raw_value"] } # Used for ruma wrapper
  26. serde = "1.0.111" # Used for pdu definition
  27. rand = "0.7.3" # Used for secure identifiers
  28. rust-argon2 = "0.8.2" # Used to hash passwords
  29. reqwest = "0.10.6" # Used to send requests
  30. thiserror = "1.0.19" # Used for conduit::Error type
  31. image = { version = "0.23.4", default-features = false, features = ["jpeg", "png", "gif"] } # Used to generate thumbnails for images
  32. base64 = "0.12.3" # Used to encode server public key
  33. [features]
  34. default = ["conduit_bin"]
  35. conduit_bin = [] # TODO: add rocket to this when it is optional
  36. [[bin]]
  37. name = "conduit"
  38. path = "src/main.rs"
  39. required-features = ["conduit_bin"]
  40. [lib]
  41. name = "conduit"
  42. path = "src/lib.rs"