Add database-support feature
This change adds a feature to cover database support with both merkle
state and diesel-receipt-store.
It also adds the transact postgres and sqlite features under the
respective scabbard features.
@@ -76,6 +76,7 @@ experimental = [
# The experimental feature extends stable:
"stable",
# The following features are experimental:
+ "database-support",
"receipt-store",
"https",
]
@@ -83,11 +84,12 @@ experimental = [
authorization = ["splinter/authorization"]
client = []
client-reqwest = ["client", "reqwest"]
+database-support = ["transact/state-merkle-sql", "receipt-store"]
receipt-store = ["diesel", "sawtooth/lmdb"]
events = ["splinter/events"]
https = []
lmdb = []
-postgres = ["diesel/postgres", "diesel_migrations", "sawtooth/postgres"]
+postgres = ["diesel/postgres", "diesel_migrations", "sawtooth/postgres", "transact/postgres"]
rest-api = ["futures", "splinter/rest-api"]
rest-api-actix = ["actix-web", "splinter/rest-api-actix"]
-sqlite = ["diesel/sqlite", "diesel_migrations", "sawtooth/sqlite"]
+sqlite = ["diesel/sqlite", "diesel_migrations", "sawtooth/sqlite", "transact/sqlite"]
