Add initial project layout and dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
commit
57fbd666a8
@ -0,0 +1,2 @@
|
|||||||
|
/target
|
||||||
|
Cargo.lock
|
@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DiscordProjectSettings">
|
||||||
|
<option name="show" value="ASK" />
|
||||||
|
<option name="description" value="" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="CPP_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/mediarepo-api.iml" filepath="$PROJECT_DIR$/.idea/mediarepo-api.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,20 @@
|
|||||||
|
[package]
|
||||||
|
name = "mediarepo-api"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2018"
|
||||||
|
license = "gpl-3"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
tracing = "0.1.29"
|
||||||
|
thiserror = "1.0.30"
|
||||||
|
rmp-ipc = {version = "0.7.2", optional=true}
|
||||||
|
tauri = {version = "1.0.0-beta.8", optional=true}
|
||||||
|
|
||||||
|
[dependencies.serde]
|
||||||
|
version = "1.0.130"
|
||||||
|
features = ["serde_derive"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
tauri-plugin = ["tauri", "rmp-ipc"]
|
@ -0,0 +1,16 @@
|
|||||||
|
<h1 align="center">
|
||||||
|
mediarepo-api
|
||||||
|
</h1>
|
||||||
|
<h3 align="center" color="red">
|
||||||
|
This project is a work in progress
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
- - -
|
||||||
|
|
||||||
|
This repository contains common mediarepo API types to implement the API both serverside
|
||||||
|
and clientside. It also contains a tauri plugin (feature "tauri-plugin") to hook it
|
||||||
|
into the tauri application lifecycle.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
GPL-3
|
@ -0,0 +1,4 @@
|
|||||||
|
pub mod types;
|
||||||
|
|
||||||
|
#[cfg(feature = "tauri-plugin")]
|
||||||
|
pub mod tauri_plugin;
|
Loading…
Reference in New Issue