Skip to content

Commit

Permalink
update crates
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Jan 6, 2024
1 parent 10ea1d7 commit f8b48de
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 70 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fltk-webview"
version = "0.3.0"
version = "0.3.1"
authors = ["MoAlyousef <[email protected]>", "Adia Robbie <[email protected]>"]
edition = "2021"
description = "Webview for embedded fltk windows"
Expand All @@ -14,7 +14,7 @@ license = "MIT"
[dependencies]
# fltk = { version = "1.4", features = ["fltk-bundled"] }
fltk = "1.4"
fltk-webview-sys = { version = "0.2.11", path = "fltk-webview-sys" }
fltk-webview-sys = { version = "0.3.0", path = "fltk-webview-sys" }

# for the examples
[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion fltk-webview-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fltk-webview-sys"
version = "0.2.11"
version = "0.3.0"
authors = ["MoAlyousef <[email protected]>", "Adia Robbie <[email protected]>"]
edition = "2018"
description = "Webview for embedded fltk windows"
Expand Down
6 changes: 0 additions & 6 deletions fltk-webview-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::env;
use std::path::PathBuf;
use std::process::Command;

fn main() {
compile_webview();
Expand Down Expand Up @@ -126,11 +125,6 @@ fn compile_webview() {
}
}
} else if target.contains("apple") {
// Command::new("git")
// .args(&["apply", "webview.patch"])
// .current_dir(&manifest_dir)
// .status()
// .expect("Git is needed to retrieve the fltk & webview source files!");
build.flag("-DWEBVIEW_COCOA");
build.flag("-std=c++11");
println!("cargo:rustc-link-lib=framework=Cocoa");
Expand Down
61 changes: 0 additions & 61 deletions fltk-webview-sys/webview.patch

This file was deleted.

0 comments on commit f8b48de

Please sign in to comment.