mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-21 15:44:20 +00:00
Update metadata and bump version to 0.3.1
This commit is contained in:
parent
1d1da69351
commit
ffa218b39b
8 changed files with 14 additions and 21 deletions
|
@ -1,2 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Icon=/home/steffo/Workspaces/Steffo99/micronfig/icon.png
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,3 +12,5 @@ Cargo.lock
|
||||||
|
|
||||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||||
*.pdb
|
*.pdb
|
||||||
|
|
||||||
|
.directory
|
||||||
|
|
BIN
.media/icon-128x128_round.png
Normal file
BIN
.media/icon-128x128_round.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
21
README.md
21
README.md
|
@ -1,22 +1,15 @@
|
||||||
# ![](icon.png) micronfig
|
<div align="center">
|
||||||
|
|
||||||
Tiny crate for simple configuration management.
|
![](.media/icon-128x128_round.png)
|
||||||
|
|
||||||
```rust
|
# micronfig
|
||||||
micronfig::config! {
|
|
||||||
DATABASE_URI,
|
Configuration helper for Rust
|
||||||
APPLICATION_NAME: String,
|
|
||||||
MAX_CONCURRENT_USERS: String > u64,
|
</div>
|
||||||
SHOWN_ALERT?,
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
[![Crates.io](https://img.shields.io/crates/v/micronfig)](https://crates.io/crates/micronfig)
|
[![Crates.io](https://img.shields.io/crates/v/micronfig)](https://crates.io/crates/micronfig)
|
||||||
|
|
||||||
[![Documentation](https://img.shields.io/docsrs/micronfig)](https://docs.rs/micronfig/latest/micronfig/)
|
[![Documentation](https://img.shields.io/docsrs/micronfig)](https://docs.rs/micronfig/latest/micronfig/)
|
||||||
|
|
||||||
## Acknowledgements
|
|
||||||
|
|
||||||
Icon made with [Font Awesome](https://fontawesome.com/) ([CC-BY-4.0](https://fontawesome.com/license/free)) and [Emblematic](https://github.com/Steffo99/emblematic/)
|
|
||||||
|
|
BIN
icon.png
BIN
icon.png
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB |
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "micronfig"
|
name = "micronfig"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Macro-based configuration management"
|
description = "Macro-based configuration management"
|
||||||
|
@ -19,7 +19,7 @@ envfiles = []
|
||||||
envdot = ["regex"]
|
envdot = ["regex"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
micronfig_macros = { version = "0.3.0", path = "../micronfig_macros" }
|
micronfig_macros = { version = "0.3.1", path = "../micronfig_macros" }
|
||||||
regex = { version = "1.10.2", optional = true }
|
regex = { version = "1.10.2", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
//! By default, all of them are enabled.
|
//! By default, all of them are enabled.
|
||||||
//!
|
//!
|
||||||
|
|
||||||
#![doc(html_logo_url = "https://raw.githubusercontent.com/Steffo99/micronfig/main/icon.png")]
|
#![doc(html_logo_url = "https://raw.githubusercontent.com/Steffo99/micronfig/main/.media/icon-128x128_round.png")]
|
||||||
|
|
||||||
/// The macro described at the crate's root.
|
/// The macro described at the crate's root.
|
||||||
pub use micronfig_macros::config;
|
pub use micronfig_macros::config;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "micronfig_macros"
|
name = "micronfig_macros"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Macros for micronfig"
|
description = "Macros for micronfig"
|
||||||
|
@ -17,7 +17,7 @@ syn = "2.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
micronfig = { version = "0.3.0", path = "../micronfig" }
|
micronfig = { version = "0.3.1", path = "../micronfig" }
|
||||||
trybuild = "1.0.87"
|
trybuild = "1.0.87"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
Loading…
Reference in a new issue