rewrite of cdb_ui in dioxus rust. goal is to integrate into a single rust codebase
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "cdb_client"
|
|
version = "0.1.0"
|
|
authors = ["JMARyA <jmarya@hydrar.de>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
dioxus = { version = "0.6.0", features = ["router"] }
|
|
web-sys = { version = "0.3", features = ["HtmlVideoElement", "MediaDevices", "MediaStream", "MediaStreamConstraints", "Navigator", "HtmlCanvasElement", "CanvasRenderingContext2d", "MediaStreamTrack", "ImageData"] }
|
|
wasm-bindgen = "0.2"
|
|
log = "0.4.27"
|
|
wasm-bindgen-futures = "0.4.50"
|
|
image = "0.24"
|
|
uuid = { version = "1.16.0", features = ["js", "v4"] }
|
|
gloo-timers = { version = "0.3.0", features = ["futures"] }
|
|
base64 = "0.22.1"
|
|
bardecoder = "0.5.0"
|
|
serde_json = "1.0.140"
|
|
dioxus-sdk = { version = "0.6.0", features = ["storage"] }
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
reqwest = { version = "0.12.15", features = ["json"] }
|
|
|
|
[features]
|
|
default = ["web"]
|
|
web = ["dioxus/web"]
|
|
desktop = ["dioxus/desktop"]
|
|
mobile = ["dioxus/mobile"]
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
|
|
[profile.server-dev]
|
|
inherits = "dev"
|
|
|
|
[profile.android-dev]
|
|
inherits = "dev"
|