-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(multi-module): splitted to modules
- Loading branch information
Showing
11 changed files
with
59 additions
and
30 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 |
---|---|---|
|
@@ -19,25 +19,10 @@ | |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
[workspace] | ||
members = [ | ||
"server", | ||
"cli", | ||
] | ||
|
||
[package] | ||
name = "fakehub" | ||
version = "0.0.0" | ||
edition = "2021" | ||
license = "MIT" | ||
description = """ | ||
GitHub API Server Stub. Fully functional fake version of a GitHub API that | ||
supports all the features and works locally, with no connection to GitHub at | ||
all. | ||
""" | ||
authors = ["Aliaksei Bialíauski <[email protected]>", "Ivanchuk Ivan <[email protected]>"] | ||
|
||
[dependencies] | ||
anyhow = "1.0.86" | ||
serde = { version = "1.0.203", features = ["derive"] } | ||
serde_json = "1.0.117" | ||
tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros", "fs"] } | ||
axum = "0.7.5" | ||
log = { version = "0.4.21", features = [] } | ||
env_logger = "0.11.3" | ||
tempdir = "0.3.7" | ||
resolver = "1" |
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,11 @@ | ||
[package] | ||
name = "cli" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "fakehub-cli" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
server = { path = "../server" } |
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,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
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,24 @@ | ||
[package] | ||
name = "fakehub" | ||
version = "0.0.0" | ||
edition = "2021" | ||
license = "MIT" | ||
description = """ | ||
GitHub API Server Stub. Fully functional fake version of a GitHub API that | ||
supports all the features and works locally, with no connection to GitHub at | ||
all. | ||
""" | ||
authors = ["Aliaksei Bialíauski <[email protected]>", "Ivanchuk Ivan <[email protected]>"] | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
anyhow = "1.0.86" | ||
serde = { version = "1.0.203", features = ["derive"] } | ||
serde_json = "1.0.117" | ||
tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros", "fs"] } | ||
axum = "0.7.5" | ||
log = { version = "0.4.21", features = [] } | ||
env_logger = "0.11.3" | ||
tempdir = "0.3.7" |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.