68c7aad179
The code is divided in three crates: - plume-common, for the ActivityPub module, and some common utils - plume-models, for the models and database-related code - plume, the app itself This new organization will allow to test it more easily, but also to create other tools that only reuse a little part of the code (for instance a Wordpress import tool, that would just use the plume-models crate)
45 lines
1.0 KiB
TOML
45 lines
1.0 KiB
TOML
[package]
|
|
authors = ["Bat' <baptiste@gelez.xyz>"]
|
|
name = "plume"
|
|
version = "0.1.0"
|
|
[dependencies]
|
|
activitypub = "0.1.1"
|
|
colored = "1.6"
|
|
dotenv = "*"
|
|
failure = "0.1"
|
|
gettext-rs = "0.4"
|
|
heck = "0.3.0"
|
|
rpassword = "2.0"
|
|
serde_json = "1.0"
|
|
webfinger = "0.1"
|
|
|
|
[dependencies.diesel]
|
|
features = ["postgres", "r2d2", "chrono"]
|
|
version = "*"
|
|
|
|
[dependencies.plume-models]
|
|
path = "plume-models"
|
|
|
|
[dependencies.plume-common]
|
|
path = "plume-common"
|
|
|
|
[dependencies.rocket]
|
|
git = "https://github.com/SergioBenitez/Rocket"
|
|
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"
|
|
|
|
[dependencies.rocket_codegen]
|
|
git = "https://github.com/SergioBenitez/Rocket"
|
|
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"
|
|
|
|
[dependencies.rocket_contrib]
|
|
features = ["tera_templates", "json"]
|
|
git = "https://github.com/SergioBenitez/Rocket"
|
|
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"
|
|
|
|
[dependencies.rocket_i18n]
|
|
git = "https://github.com/BaptisteGelez/rocket_i18n"
|
|
rev = "5b4225d5bed5769482dc926a7e6d6b79f1217be6"
|
|
|
|
[workspace]
|
|
members = ['plume-models', 'plume-common']
|