Browse Source

Rename to Oslo

master
Dylan Baker 1 year ago
parent
commit
c084a358ba

+ 1
- 1
.gitignore View File

@@ -1,3 +1,3 @@
1 1
 /target
2
-/microblog-lib/target
2
+/oslo-lib/target
3 3
 .env

+ 1
- 1
.gitlab-ci.yml View File

@@ -5,4 +5,4 @@ build:
5 5
     - cargo build --release
6 6
   artifacts:
7 7
     paths:
8
-      - target/release/microblog
8
+      - target/release/oslo

+ 32
- 32
Cargo.lock View File

@@ -928,38 +928,6 @@ version = "2.3.3"
928 928
 source = "registry+https://github.com/rust-lang/crates.io-index"
929 929
 checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
930 930
 
931
-[[package]]
932
-name = "microblog"
933
-version = "0.1.0"
934
-dependencies = [
935
- "async-std",
936
- "chrono",
937
- "dotenv",
938
- "microblog-lib",
939
- "serde 1.0.115",
940
- "serde_json",
941
- "tera",
942
- "tide 0.13.0",
943
- "tide-tera",
944
- "uuid",
945
-]
946
-
947
-[[package]]
948
-name = "microblog-lib"
949
-version = "0.1.0"
950
-dependencies = [
951
- "async-std",
952
- "chrono",
953
- "dotenv",
954
- "pulldown-cmark",
955
- "serde 1.0.115",
956
- "serde_json",
957
- "tera",
958
- "tide 0.13.0",
959
- "tide-tera",
960
- "uuid",
961
-]
962
-
963 931
 [[package]]
964 932
 name = "miniz_oxide"
965 933
 version = "0.4.0"
@@ -1022,6 +990,38 @@ version = "0.3.0"
1022 990
 source = "registry+https://github.com/rust-lang/crates.io-index"
1023 991
 checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
1024 992
 
993
+[[package]]
994
+name = "oslo"
995
+version = "0.1.0"
996
+dependencies = [
997
+ "async-std",
998
+ "chrono",
999
+ "dotenv",
1000
+ "oslo-lib",
1001
+ "serde 1.0.115",
1002
+ "serde_json",
1003
+ "tera",
1004
+ "tide 0.13.0",
1005
+ "tide-tera",
1006
+ "uuid",
1007
+]
1008
+
1009
+[[package]]
1010
+name = "oslo-lib"
1011
+version = "0.1.0"
1012
+dependencies = [
1013
+ "async-std",
1014
+ "chrono",
1015
+ "dotenv",
1016
+ "pulldown-cmark",
1017
+ "serde 1.0.115",
1018
+ "serde_json",
1019
+ "tera",
1020
+ "tide 0.13.0",
1021
+ "tide-tera",
1022
+ "uuid",
1023
+]
1024
+
1025 1025
 [[package]]
1026 1026
 name = "parking"
1027 1027
 version = "1.0.6"

+ 2
- 2
Cargo.toml View File

@@ -1,5 +1,5 @@
1 1
 [package]
2
-name = "microblog"
2
+name = "oslo"
3 3
 version = "0.1.0"
4 4
 authors = ["Dylan Baker <dylan@simulacrum.party>"]
5 5
 edition = "2018"
@@ -18,4 +18,4 @@ tera = "1.5.0"
18 18
 tide = "0.13.0"
19 19
 tide-tera = "0.1.1"
20 20
 uuid = { version = "0.4", features = ["serde", "v4"] }
21
-microblog-lib = { path = "microblog-lib" }
21
+oslo-lib = { path = "oslo-lib" }

microblog-lib/Cargo.lock → oslo-lib/Cargo.lock View File

@@ -972,7 +972,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
972 972
 checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
973 973
 
974 974
 [[package]]
975
-name = "microblog-lib"
975
+name = "oslo-lib"
976 976
 version = "0.1.0"
977 977
 dependencies = [
978 978
  "async-std",

microblog-lib/Cargo.toml → oslo-lib/Cargo.toml View File

@@ -1,5 +1,5 @@
1 1
 [package]
2
-name = "microblog-lib"
2
+name = "oslo-lib"
3 3
 version = "0.1.0"
4 4
 authors = ["Dylan Baker <dylan@simulacrum.party>"]
5 5
 edition = "2018"

microblog-lib/src/fs.rs → oslo-lib/src/fs.rs View File


microblog-lib/src/lib.rs → oslo-lib/src/lib.rs View File


microblog-lib/src/middleware.rs → oslo-lib/src/middleware.rs View File


microblog-lib/src/post.rs → oslo-lib/src/post.rs View File


microblog-lib/src/routes.rs → oslo-lib/src/routes.rs View File


microblog-lib/src/util.rs → oslo-lib/src/util.rs View File


+ 1
- 1
src/main.rs View File

@@ -1,4 +1,4 @@
1
-use microblog_lib::build_app;
1
+use oslo_lib::build_app;
2 2
 use tide::Result;
3 3
 
4 4
 #[async_std::main]

+ 2
- 2
tests/auth.rs View File

@@ -1,13 +1,13 @@
1 1
 mod tests {
2 2
     use async_std::task::block_on;
3
-    use microblog_lib::{State};
3
+    use oslo_lib::{State};
4 4
     use tide::{
5 5
         http::{Method, Request, Response, StatusCode, Url},
6 6
         Result, Server,
7 7
     };
8 8
 
9 9
     async fn build_app() -> Server<State> {
10
-        microblog_lib::build_app().await.unwrap()
10
+        oslo_lib::build_app().await.unwrap()
11 11
     }
12 12
 
13 13
     fn url(path: &str) -> Url {

Loading…
Cancel
Save