-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
300 additions
and
131 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 |
---|---|---|
@@ -1,29 +1,12 @@ | ||
[package] | ||
name = "ezlog_space" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[workspace] | ||
members = ["ezlogcli", "ezlog-core", "examples/android_preview", "examples/nest_log"] | ||
members = ["ezlogcli", "ezlog-core", "examples/android_preview", "examples/nest_log", "examples/hello_world"] | ||
resolver = "2" | ||
|
||
# https://github.com/johnthagen/min-sized-rust | ||
[profile.release] | ||
opt-level = "z" # Optimize for size. | ||
lto = true # Enable Link Time Optimization | ||
codegen-units = 1 # Reduce number of codegen units to increase optimizations. | ||
# panic = 'abort' # Abort on panic | ||
# strip = true # Strip symbols from binary* | ||
|
||
[dependencies] | ||
ezlog = {path = "ezlog-core", features = ["decode"]} | ||
log = "0.4.17" | ||
time = { version = "0.3", default-features = false, features = ["formatting"] } | ||
|
||
[dev-dependencies] | ||
dirs = "5.0" | ||
rand = "0.8" | ||
|
||
[[example]] | ||
name = "hello_world" | ||
path = "examples/hello_world.rs" | ||
crate-type = ["bin"] | ||
# strip = true # Strip symbols from binary* |
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,14 @@ | ||
[package] | ||
name = "hello_world" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ezlog = { path = "../../ezlog-core", features = ["log", "decode"]} | ||
log = "0.4" | ||
env_logger = "0" | ||
dirs = "5.0" | ||
time = { version = "0.3", default-features = false, features = ["macros"] } | ||
rand = "0.8" |
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,12 +1,12 @@ | ||
[package] | ||
name = "simple_logger" | ||
name = "nest_log" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ezlog = { path = "../../ezlog-core", features = ["log"]} | ||
log = "0.4.0" | ||
env_logger = "0.10.0" | ||
log = "0.4" | ||
env_logger = "0" | ||
dirs = "5.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
Oops, something went wrong.