Skip to content

Commit 678d8f1

Browse files
committed
Create the project.
0 parents  commit 678d8f1

31 files changed

+536
-0
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# See: https://doc.rust-lang.org/cargo/reference/config.html
2+
# See: https://docs.shipyard.rs/configuration/git-fetch-with-cli.html
3+
4+
[net]
5+
git-fetch-with-cli = true

.config/mise.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# See: https://mise.jdx.dev/environments/
2+
3+
[env]
4+
_.file = '.env'

.gitattributes

Whitespace-only changes.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @artob

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
pull_request:
6+
branches: [ "master" ]
7+
env:
8+
CARGO_TERM_COLOR: always
9+
jobs:
10+
build-ubuntu:
11+
name: Build on Ubuntu
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Build
17+
run: cargo build --verbose
18+
- name: Build examples
19+
run: cargo build --verbose --examples
20+
- name: Run tests
21+
run: cargo test --verbose
22+
build-windows:
23+
name: Build on Windows
24+
runs-on: windows-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
- name: Build
29+
run: cargo build --verbose
30+
- name: Build examples
31+
run: cargo build --verbose --examples
32+
- name: Run tests
33+
run: cargo test --verbose

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# macOS
2+
.DS_Store
3+
4+
# Environment variables
5+
.env
6+
7+
# Jetbrains
8+
.idea/
9+
10+
# Visual Studio Code
11+
.vscode/
12+
13+
# Editor backup files
14+
*~
15+
16+
# Rust artifacts
17+
/Cargo.lock
18+
/rust-toolchain
19+
/target

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Arto Bendiken <[email protected]>

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## 0.0.1 - 2025-04-18

CREDITS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Credits

Cargo.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See: https://doc.rust-lang.org/cargo/reference/manifest.html
2+
3+
[workspace]
4+
members = ["lib/*"]
5+
default-members = ["lib/*"]
6+
resolver = "2"
7+
8+
[workspace.package]
9+
version = "0.0.1"
10+
authors = ["Arto Bendiken"]
11+
edition = "2021"
12+
rust-version = "1.81"
13+
description = "Getenv.rs"
14+
#documentation = "https://docs.rs/getenv/"
15+
readme = true
16+
homepage = "https://github.com/dryrust/getenv.rs"
17+
repository = "https://github.com/dryrust/getenv.rs"
18+
license = "Unlicense"
19+
keywords = ["env", "environment"]
20+
categories = ["command-line-interface", "config"]
21+
publish = true
22+
23+
[workspace.dependencies]
24+
getenv = { path = "lib/getenv" }
25+
26+
[patch.crates-io]
27+
getenv = { path = "lib/getenv" }

0 commit comments

Comments
 (0)