Skip to content

Commit e29c122

Browse files
committed
doc: update doc
1 parent e0a2f9a commit e29c122

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
2-
name = "env_config"
2+
name = "dotenv_config"
33
version = "0.1.0"
44
edition = "2021"
55
authors = [
66
"Hengfei Yang <hengfei.yang@gmail.com>",
77
]
88
description = "parse `env` to config struct for Rust"
9-
homepage = "https://github.com/zinclabs/env-config/"
10-
repository = "https://github.com/zinclabs/env-config/"
11-
documentation = "https://docs.rs/env_config"
9+
homepage = "https://github.com/zinclabs/dotenv-config/"
10+
repository = "https://github.com/zinclabs/dotenv-config/"
11+
documentation = "https://docs.rs/dotenv_config"
1212
keywords = ["environment", "env", "dotenv", "settings", "config"]
1313
readme = "README.md"
1414
license = "MIT"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Env Config
1+
# Dot Env Config
22

33
use `.env` as config file and parse environments to config struct.
44

@@ -7,7 +7,7 @@ use `.env` as config file and parse environments to config struct.
77
### derive EnvConfig
88

99
```rust
10-
use env_config::EnvConfig;
10+
use dotenv_config::EnvConfig;
1111

1212
#[derive(Debug, EnvConfig)]
1313
struct Config {

examples/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use env_config::EnvConfig;
1+
use dotenv_config::EnvConfig;
22

33
#[derive(Debug, EnvConfig)]
44
struct Config {

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* limitations under the License.
1414
*/
1515

16-
//! env_config provides a way to read configuration from environment variables.
16+
//! dotenv_config provides a way to read configuration from environment variables.
1717
//!
1818
//!
1919
//! use `.env` as config file and parse environments to config struct.
@@ -23,7 +23,7 @@
2323
//! ### derive EnvConfig
2424
//!
2525
//! ```rust
26-
//! use env_config::EnvConfig;
26+
//! use dotenv_config::EnvConfig;
2727
//!
2828
//! #[derive(Debug, EnvConfig)]
2929
//! struct Config {
@@ -66,7 +66,7 @@
6666
//! ```
6767
//!
6868
//! If you have some problems please go to github create a issue.
69-
//! https://github.com/zinclabs/env_config
69+
//! https://github.com/zinclabs/dotenv-config
7070
//!
7171
extern crate proc_macro;
7272

0 commit comments

Comments
 (0)