~repos /tide-jsx

#rust#proc-macro#jsx

git clone https://pyrossh.dev/repos/tide-jsx.git

Tide + JSX


90721bf9 Gal Schlezinger

6 years ago
change readme
Files changed (3) hide show
  1. README.md +2 -0
  2. render/Cargo.toml +1 -1
  3. render_macros/src/lib.rs +1 -1
README.md CHANGED
@@ -13,6 +13,8 @@ The `Renderable` trait contains a simple function that returns `String`. This is
13
13
  ## Usage
14
14
 
15
15
  ```rust
16
+ #![feature(proc_macro_hygiene)]
17
+
16
18
  // A simple HTML 5 doctype declaration
17
19
  use render::html::HTML5Doctype;
18
20
  use render::{
render/Cargo.toml CHANGED
@@ -13,7 +13,7 @@ licesne = "MIT"
13
13
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14
14
 
15
15
  [dependencies]
16
- render_macros = { path = "../render_macros" }
16
+ render_macros = { path = "../render_macros", version = "0.1" }
17
17
 
18
18
  [dev-dependencies]
19
19
  pretty_assertions = "0.6"
render_macros/src/lib.rs CHANGED
@@ -1,4 +1,4 @@
1
- #![feature(proc_macro_diagnostic, proc_macro_hygiene)]
1
+ #![feature(proc_macro_diagnostic)]
2
2
 
3
3
  extern crate proc_macro;
4
4