Skip to content

Commit

Permalink
chore: add license field in cargo toml, sort
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Mar 9, 2024
1 parent 3311da0 commit 8b163ec
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,53 @@
[package]
name = "splot"
version = "0.1.0"
authors = ["Felix Zwettler <[email protected]>"]
build = "build.rs"
edition = "2021"
license = "GPL-3.0-or-later"
name = "splot"
rust-version = "1.65"
build = "build.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version = "0.1.0"

[features]
default = []
demo = []

[dependencies]
anyhow = "1"
log = "0.4"
async-trait = "0.1"
futures = "0.3"
once_cell = "1"
serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence
image = { version = "0.24", features = ["png"] }
instant = { version = "0.1", features=["wasm-bindgen"] }
eframe = { version = "0.24", features = [
"default_fonts",
"wgpu",
"persistence",
] }
egui = "0.24"
egui_extras = { version = "0.24", features = ["all_loaders"] }
egui_plot = "0.24"
egui_extras = {version = "0.24", features = ["all_loaders"] }
eframe = { version = "0.24", features = ["default_fonts", "wgpu", "persistence"] }
futures = "0.3"
image = { version = "0.24", features = ["png"] }
instant = { version = "0.1", features = ["wasm-bindgen"] }
log = "0.4"
once_cell = "1"
serde = { version = "1", features = [
# You only need this if you want app persistence
"derive",
] }

# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
poll-promise = { version = "0.3", features = ["smol"] }
pretty_env_logger = "0.5"
serialport = "4.3"
poll-promise = { version = "0.3", features = ["smol"] }

# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
console_log = "1"
js-sys = "0.3.66"
poll-promise = { version = "0.3", features = ["web"] }
wasm-bindgen = "0.2.89"
wasm-bindgen-futures = "0.4.39"
poll-promise = { version = "0.3", features = ["web"] }

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "=0.3.64"
features = [
"Window",
"Navigator",
Expand All @@ -56,6 +61,7 @@ features = [
"ParityType",
"FlowControlType",
]
version = "=0.3.64"

[build-dependencies]
anyhow = "1"
Expand Down

0 comments on commit 8b163ec

Please sign in to comment.