Setting bard to have a server mode.
This is so that the database using code that doesn't compile to WASM can be used by the dioxus frontend.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "bard"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
edition = "2024"
|
||||
description = "Dioxus components that will display a Tavern blogging system Blog."
|
||||
repository = "/CyberMages/tavern"
|
||||
@ -10,4 +10,8 @@ readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
tavern = { version = "0.2.4", path = "../tavern", registry = "cybermages" }
|
||||
tavern = { version = "0.2.4", path = "../tavern", registry = "cybermages", optional = true}
|
||||
|
||||
[features]
|
||||
default = ["tavern"]
|
||||
server = ["tavern/database"]
|
||||
|
||||
Reference in New Issue
Block a user