Skip to content

Commit

Permalink
update deps: now works on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Dec 29, 2023
1 parent 2882279 commit 9f0c4ec
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dioxus-markdown"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
12 changes: 4 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@
};
inherit (pkgs) lib;

rustToolchain = pkgs.rust-bin.selectLatestNightlyWith(
toolchain: toolchain.default.override
{
# Set the build targets supported by the toolchain,
# wasm32-unknown-unknown is required for trunk.
targets = [ "wasm32-unknown-unknown" ];
}
);
rustToolchain = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
};

craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain;

# discard the directories inside examples to build the library less often
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use rust_web_markdown::{
render_markdown,
CowStr,
ComponentCreationError
};

use std::collections::BTreeMap;
Expand All @@ -15,6 +14,7 @@ pub use rust_web_markdown::{
HtmlElement,
Context,
ElementAttributes,
ComponentCreationError,
};

use dioxus::prelude::*;
Expand Down

0 comments on commit 9f0c4ec

Please sign in to comment.