core
: Add postgres
feature to diesel
This commit is contained in:
parent
03aab44ba4
commit
ad2383c56b
4 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="SqlDialectMappings">
|
<component name="SqlDialectMappings">
|
||||||
<file url="file://$PROJECT_DIR$/acrate-core/migrations/2024-11-14-031744_Add webfinger table/up.sql" dialect="GenericSQL" />
|
<file url="file://$PROJECT_DIR$/acrate-core/migrations/2024-11-14-031744_meta/up.sql" dialect="GenericSQL" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
diesel = "2.2.4"
|
diesel = { version = "2.2.4", features = ["postgres"] }
|
||||||
diesel_migrations = "2.2.0"
|
diesel_migrations = "2.2.0"
|
||||||
acrate-hostmeta = { path = "../acrate-hostmeta" }
|
acrate-hostmeta = { path = "../acrate-hostmeta" }
|
||||||
acrate-nodeinfo = { path = "../acrate-nodeinfo" }
|
acrate-nodeinfo = { path = "../acrate-nodeinfo" }
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//! Core crate of the `acrate` project.
|
//! Core crate of the `acrate` project.
|
||||||
|
|
||||||
|
mod meta;
|
||||||
|
|
||||||
pub use acrate_nodeinfo as nodeinfo;
|
pub use acrate_nodeinfo as nodeinfo;
|
||||||
pub use acrate_hostmeta as hostmeta;
|
pub use acrate_hostmeta as hostmeta;
|
||||||
|
|
0
acrate-core/src/meta.rs
Normal file
0
acrate-core/src/meta.rs
Normal file
Loading…
Reference in a new issue