Skip to content

Instantly share code, notes, and snippets.

@mtkennerly
mtkennerly / Cargo.toml
Created March 19, 2024 03:45
Iced: Container shadows are too big with `tiny-skia` and custom theme
[package]
name = "repro"
version = "0.1.0"
edition = "2021"
[dependencies]
iced = { version = "0.12.1", features = ["advanced"] }
@mtkennerly
mtkennerly / Cargo.toml
Last active March 10, 2024 10:39
Iced 0.12.1 issue with Undoable widget
[package]
name = "iced-undoable"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
iced = { version = "0.12.1", features = ["advanced"] }
@mtkennerly
mtkennerly / console
Last active March 17, 2023 02:29
steamlocate without steamy-vdf - test 1
$ for file in /c/Program\ Files\ \(x86\)/Steam/steamapps/*.acf; do app=$(basename "$file" | sed -E "s/appmanifest_([[:digit:]]+).acf/\1/"); echo "-- $app"; cargo run --example appmanifest -- $app; done
-- 1001800
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target\debug\examples\appmanifest.exe 1001800`
Found app - SteamApp {
app_id: 1001800,
path: "C:\\Program Files (x86)\\Steam\\steamapps\\common\\KUNAI",
name: Some(
"KUNAI",
),
@mtkennerly
mtkennerly / Cargo.toml
Created November 11, 2022 12:40
Iced 0.5.2 ignores some commands in Command::batch if they finish too fast
[package]
name = "repro"
version = "0.1.0"
authors = ["mtkennerly <mtkennerly@gmail.com>"]
edition = "2021"
[dependencies]
iced = "0.5.2"
# iced = { version = "0.5.2", features = ["default_system_font", "glow"] }
# iced = { git = "https://github.com/hecrj/iced" }
@mtkennerly
mtkennerly / Cargo.toml
Last active August 17, 2022 20:52
Rust unzipped file having different content
[package]
name = "zip-repro"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
zip = "0.6.2"
@mtkennerly
mtkennerly / Cargo.toml
Created August 3, 2022 00:58
Iced 0.4.2 issue with container width+max_width
[package]
name = "repro-width-and-max"
version = "0.1.0"
edition = "2021"
[dependencies]
iced = "0.4.2"
# iced = { git = "https://github.com/iced-rs/iced.git", rev = "c44267b85f7aaa2997e3caf1323b837d95818c22" }
@mtkennerly
mtkennerly / Cargo.toml
Created August 3, 2022 00:52
Iced issue with container width+max_width
[package]
name = "repro-width-and-max"
version = "0.1.0"
edition = "2021"
[dependencies]
# iced = "0.4.2"
iced = { git = "https://github.com/iced-rs/iced.git", rev = "c44267b85f7aaa2997e3caf1323b837d95818c22" }
@mtkennerly
mtkennerly / Cargo.toml
Created July 19, 2022 06:28
Iced cdd3802 scrollable height + max_height
[package]
name = "repro-max-height"
version = "0.1.0"
edition = "2021"
[dependencies]
# iced = "0.3.0"
# iced = "0.4.0"
iced = { git = "https://github.com/iced-rs/iced.git", rev = "cdd3802" }
@mtkennerly
mtkennerly / Cargo.toml
Created July 18, 2022 15:43
Iced 0.4.0 ignores `max_height`
[package]
name = "repro-max-height"
version = "0.1.0"
edition = "2021"
[dependencies]
iced = "0.4.0"
@mtkennerly
mtkennerly / Cargo.toml
Created July 18, 2020 00:48
Iced Container border not being shown
[package]
name = "repro"
version = "0.1.0"
authors = ["mtkennerly <mtkennerly@gmail.com>"]
edition = "2018"
[dependencies]
# iced = "0.1.1"
iced = { version = "0.1.1", rev = "4030326a352c365a282980aa2a37d549f4b659ae", git = "https://github.com/hecrj/iced" }