-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from aldanor/feature/1.2.0
- Loading branch information
Showing
12 changed files
with
28 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ | |
|
||
[package] | ||
name = "fixed-macro" | ||
version = "1.1.1" # !V | ||
version = "1.2.0" # !V | ||
authors = ["Ivan Smirnov <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/aldanor/fixed-macro" | ||
documentation = "https://docs.rs/fixed-macro" | ||
|
@@ -23,8 +23,8 @@ members = [".", "impl", "types"] | |
|
||
[dependencies] | ||
fixed = "1" | ||
fixed-macro-impl = { version = "1.1.1", path = "impl" } # !V | ||
fixed-macro-types = { version = "1.1.1", path = "types" } # !V | ||
fixed-macro-impl = { version = "1.2.0", path = "impl" } # !V | ||
fixed-macro-types = { version = "1.2.0", path = "types" } # !V | ||
|
||
[dev-dependencies] | ||
trybuild = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fixed-macro-impl" | ||
version = "1.1.1" # !V | ||
version = "1.2.0" # !V | ||
authors = ["Ivan Smirnov <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
error: unexpected end of input, expected identifier | ||
--> $DIR/literal-and-semi.rs:2:5 | ||
--> tests/compile-fail/literal-and-semi.rs:2:5 | ||
| | ||
2 | fixed_macro::fixed!(123.45:); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
= note: this error originates in the macro `fixed_macro::fixed` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
error: unexpected end of input, expected literal | ||
--> $DIR/no-input.rs:2:5 | ||
--> tests/compile-fail/no-input.rs:2:5 | ||
| | ||
2 | fixed_macro::fixed!(); | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
= note: this error originates in the macro `fixed_macro::fixed` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
error: expected `:` | ||
--> $DIR/only-literal.rs:2:5 | ||
--> tests/compile-fail/only-literal.rs:2:5 | ||
| | ||
2 | fixed_macro::fixed!(123.45); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
= note: this error originates in the macro `fixed_macro::fixed` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
error: unexpected end of input, expected literal | ||
--> $DIR/single-minus.rs:2:5 | ||
--> tests/compile-fail/single-minus.rs:2:5 | ||
| | ||
2 | fixed_macro::fixed!(-); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
= note: this error originates in the macro `fixed_macro::fixed` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fixed-macro-types" | ||
version = "1.1.1" # !V | ||
version = "1.2.0" # !V | ||
authors = ["Ivan Smirnov <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -10,7 +10,7 @@ description = "Macro aliases used in the `fixed-macro` crate." | |
|
||
[dependencies] | ||
fixed = "1" | ||
fixed-macro-impl = { version = "1.1.1", path = "../impl" } # !V | ||
fixed-macro-impl = { version = "1.2.0", path = "../impl" } # !V | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |