39 lines
905 B
TOML
39 lines
905 B
TOML
[package]
|
|
name = "relm4-components"
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/relm4_components/"
|
|
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
description.workspace = true
|
|
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
# enable unstable features in the documentation
|
|
rustc-args = ["--cfg", "docsrs"]
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
|
|
[dependencies]
|
|
once_cell = "1.18"
|
|
relm4 = { version = "0.6.2", path = "../relm4", default-features = false, features = ["macros"] }
|
|
reqwest = { version = "0.11.18", optional = true }
|
|
tracker = "0.2.1"
|
|
|
|
[features]
|
|
default = []
|
|
dox = ["relm4/dox", "web"]
|
|
web = ["reqwest"]
|
|
|
|
[[example]]
|
|
name = "web_image"
|
|
required-features = ["web"]
|