Moved core to a separate crate
This commit is contained in:
parent
3e2849929d
commit
2e28fdc276
|
@ -30,6 +30,10 @@ checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
|
|||
[[package]]
|
||||
name = "magnetar"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "magnetar_core"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -3,8 +3,8 @@ name = "magnetar"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
url = { version = "2.3", features = ["serde"] }
|
||||
[workspace]
|
||||
members = [
|
||||
".",
|
||||
"core"
|
||||
]
|
|
@ -0,0 +1,13 @@
|
|||
[package]
|
||||
name = "magnetar_core"
|
||||
version = "0.1.0"
|
||||
license = "APGL"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["rlib"]
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
url = { version = "2.3", features = ["serde"] }
|
|
@ -1,6 +1,3 @@
|
|||
#[forbid(unsafe_code)]
|
||||
mod web_model;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue