-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add logging functions, `info()`, `warn()`, and `note()`. * Update README, changelog and docs for 0.7.0.
- Loading branch information
1 parent
f8a7fd0
commit 7f86db0
Showing
7 changed files
with
140 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
[package] | ||
name = "cala" | ||
version = "0.6.0" | ||
version = "0.7.0" | ||
authors = ["Jeron Aldaron Lau <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
@@ -36,9 +36,12 @@ stick = {version = "0.7", optional = true} # joystick / controller | |
# barg = {version = "0.2", optional = true} # video | ||
window = {version = "0.3", optional = true} | ||
fonterator = {version = "0.6", optional = true, default-features = false, features = ["normal-font"]} | ||
rvg = {version = "0.0.2", optional = true, features = ["footile"]} | ||
rvg = {version = "0.0.3", optional = true, features = ["footile"]} | ||
chrono = {version = "0.4", optional = true} # clock | ||
|
||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
stdweb = "0.4" | ||
|
||
[build-dependencies] | ||
res = {version = "0.5", optional = true} # video | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "logger" | ||
version = "0.1.0" | ||
authors = ["Jeron Aldaron Lau <[email protected]>"] | ||
edition = "2018" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
cala = { path = "../../" } |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
use cala; | ||
|
||
fn main() { | ||
cala::info!("Info message"); | ||
cala::warn!("Warn message"); | ||
cala::note!("Note message"); | ||
} |
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