Browse Source

Add explicit microrm-macros version to dependency.

Kestrel 2 years ago
parent
commit
92bf043c19
4 changed files with 8 additions and 8 deletions
  1. 2 2
      Cargo.lock
  2. 1 1
      microrm-macros/Cargo.toml
  3. 3 3
      microrm-macros/src/lib.rs
  4. 2 2
      microrm/Cargo.toml

+ 2 - 2
Cargo.lock

@@ -88,7 +88,7 @@ checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b"
 
 [[package]]
 name = "microrm"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "base64",
  "microrm-macros",
@@ -101,7 +101,7 @@ dependencies = [
 
 [[package]]
 name = "microrm-macros"
-version = "0.1.1"
+version = "0.1.2"
 dependencies = [
  "convert_case",
  "proc-macro2",

+ 1 - 1
microrm-macros/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "microrm-macros"
-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

+ 3 - 3
microrm-macros/src/lib.rs

@@ -284,7 +284,7 @@ fn do_make_index(tokens: TokenStream, microrm_ref: proc_macro2::TokenStream) ->
 ///
 /// Suppose the following `Entity` definition is used:
 ///
-/// ```rust
+/// ```ignore
 /// #[derive(Entity,Serialize,Deserialize)]
 /// struct SystemUser {
 ///     username: String,
@@ -293,12 +293,12 @@ fn do_make_index(tokens: TokenStream, microrm_ref: proc_macro2::TokenStream) ->
 /// ```
 ///
 /// We can now use `make_index!` to define an index on the username field:
-/// ```rust
+/// ```ignore
 /// make_index!(SystemUsernameIndex, SystemUserColumns::Username)
 /// ```
 ///
 /// This index can be made unique by adding a `!` prior to the type name, as:
-/// ```rust
+/// ```ignore
 /// make_index!(!SystemUsernameUniqueIndex, SystemUserColumns::Username)
 /// ```
 #[proc_macro]

+ 2 - 2
microrm/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "microrm"
-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
@@ -13,4 +13,4 @@ serde = { version = "1.0", features = ["derive"] }
 serde_bytes = { version = "0.11.6" }
 serde_json = { version = "1.0" }
 
-microrm-macros = { path = "../microrm-macros" }
+microrm-macros = { path = "../microrm-macros", version = "0.1.2" }