Skip to content

Commit ebce948

Browse files
committed
🎉 first commit
0 parents  commit ebce948

File tree

6 files changed

+116
-0
lines changed

6 files changed

+116
-0
lines changed

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/target
2+
Cargo.lock
3+
4+
# These are backup files generated by rustfmt
5+
**/*.rs.bk
6+
7+
# Created by https://www.toptal.com/developers/gitignore/api/macos
8+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos
9+
10+
### macOS ###
11+
# General
12+
.DS_Store
13+
.AppleDouble
14+
.LSOverride
15+
16+
# Icon must end with two \r
17+
Icon
18+
19+
20+
# Thumbnails
21+
._*
22+
23+
# Files that might appear in the root of a volume
24+
.DocumentRevisions-V100
25+
.fseventsd
26+
.Spotlight-V100
27+
.TemporaryItems
28+
.Trashes
29+
.VolumeIcon.icns
30+
.com.apple.timemachine.donotpresent
31+
32+
# Directories potentially created on remote AFP share
33+
.AppleDB
34+
.AppleDesktop
35+
Network Trash Folder
36+
Temporary Items
37+
.apdisk
38+
39+
### macOS Patch ###
40+
# iCloud generated files
41+
*.icloud
42+
43+
# End of https://www.toptal.com/developers/gitignore/api/macos
44+
45+
# IntelliJ
46+
.idea
47+
*.iml

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[workspace]
2+
members = ["rustyenv-core"]
3+
resolver = "2"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Kazuno Fukuda and contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# rustyenv
2+
3+
`rustyenv` is in development.

rustyenv-core/Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "rustyenv"
3+
version = "0.0.1"
4+
edition = "2021"
5+
authors = ["Kazuno Fukuda <[email protected]>"]
6+
description = ""
7+
categories = ["config"]
8+
keywords = ["dotenv"]
9+
homepage = "https://github.com/rustyenv-rs/rustyenv"
10+
repository = "https://github.com/rustyenv-rs/rustyenv"
11+
readme = "../README.md"
12+
license = "MIT"
13+
rust-version = "1.74.0"
14+
15+
[dependencies]

rustyenv-core/src/lib.rs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/// Indicates that the `rustyenv` project is currently in development.
2+
///
3+
/// # Examples
4+
///
5+
/// ```
6+
/// use rustyenv::develop;
7+
///
8+
/// assert!(develop().is_ok());
9+
/// ```
10+
///
11+
/// # Returns
12+
///
13+
/// Returns `Ok(())` if the function executes successfully.
14+
pub fn develop() -> Result<(), ()> {
15+
println!("`rustyenv` is in development.");
16+
Ok(())
17+
}
18+
19+
#[cfg(test)]
20+
mod tests {
21+
use super::*;
22+
23+
#[test]
24+
fn it_works() {
25+
assert!(develop().is_ok());
26+
}
27+
}

0 commit comments

Comments
 (0)