common: Only depend on konst when needed
This commit is contained in:
parent
6fdaff6aa5
commit
f9ef276d41
@ -21,7 +21,7 @@ default = ["client", "server"]
|
|||||||
client = []
|
client = []
|
||||||
server = []
|
server = []
|
||||||
|
|
||||||
api = ["dep:http"]
|
api = ["dep:http", "dep:konst"]
|
||||||
canonical-json = []
|
canonical-json = []
|
||||||
events = []
|
events = []
|
||||||
js = ["dep:js-sys", "getrandom?/js", "uuid?/js"]
|
js = ["dep:js-sys", "getrandom?/js", "uuid?/js"]
|
||||||
@ -82,7 +82,7 @@ http = { workspace = true, optional = true }
|
|||||||
indexmap = { version = "2.0.0", features = ["serde"] }
|
indexmap = { version = "2.0.0", features = ["serde"] }
|
||||||
js_int = { workspace = true, features = ["serde"] }
|
js_int = { workspace = true, features = ["serde"] }
|
||||||
js_option = "0.1.0"
|
js_option = "0.1.0"
|
||||||
konst = { version = "0.3.5", features = ["alloc"] }
|
konst = { version = "0.3.5", features = ["alloc"], optional = true }
|
||||||
percent-encoding = "2.1.0"
|
percent-encoding = "2.1.0"
|
||||||
phf = { version = "0.11.1", features = ["macros"], optional = true }
|
phf = { version = "0.11.1", features = ["macros"], optional = true }
|
||||||
pulldown-cmark = { version = "0.9.1", default-features = false, optional = true }
|
pulldown-cmark = { version = "0.9.1", default-features = false, optional = true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user