Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 76e5e99

Browse files
committed
fix: change lib/main result names
1 parent 5db7ed2 commit 76e5e99

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ deploy:
2424
api_key:
2525
secure: GdRtivT9PCEPgl4Yn1u+eEnXSn73t7bWnb/8oXMr53UMKw3tHTgvESXzb42J1U93cMGiAmtFYiOYBDnmXrXK2QMeFBjuzoXu/Gb8zZOvOCkYyA8FLTx17tlC2WBFSm21zSOpSWY6vtlPsnjALbFPvXSu1P09RQI+BZJTXBWU3XEVQY14zqhnOPP3UEUv4PrLKLmM60+/2F09WfpSd0hhjznDfwq8FknZpJbnZIa55bWM0ZQpR9YRCYbhrC7F1o7yEh1EiDRS8WJuNi8Ws6hB4yQwKgXOKQyFSUk5r8777c69gH6YiSRNwar3bzbliWsRpnFqrpbv5KsChS3I7vtdE7aljxS9rgLhGAfL+sXYJJnaHqfXEr4MneoQesbAt30Hhk/qsoNps1939g1SUEC5SMU9ThYgrSGEeNE7EplUhsI5loOJFJhPhGj0S4crylaWJ2jGefZlzR7mCGNRqEWtVBXb7QdKSlooAPKXHF4a9kijHLS8z8cQ3uuH8rvpBd9ffTDhsJZUlCSr8PMf3/hldC2XGFD8gQQV4SBvY6oxHLtyfNWbIGfRKpu1cBbiHc93UFOZ1be7ti2FzRBQ3+X09WfsUMxY44G8hL6xLooPcS9c7yY1L0Ixc3k/GeGYarb03kUmADeZZxUNOLwmBC6kSOrOWDCX28raJQnE5O6ksQY=
2626
file:
27-
- "target/release/howtocards_backend"
28-
- "target/release/howtocards_backend.d"
29-
- "target/release/howtocards_backend.rlib"
27+
- "target/release/howtocards_server"
28+
- "target/release/libhowtocards.a"
29+
- "target/release/libhowtocards.d"
30+
- "target/release/libhowtocards.dylib"
31+
- "target/release/libhowtocards.rlib"
3032
skip_cleanup: true
3133
on:
3234
repo: howtocards/backend

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name = "howtocards_backend"
33
version = "0.1.0"
44
authors = ["Sergey Sova <[email protected]>"]
55

6+
[[bin]]
7+
name = "howtocards_server"
8+
path = "./src/main.rs"
9+
10+
[lib]
11+
name = "howtocards"
12+
crate-type = ["dylib", "rlib", "staticlib"]
13+
614
[dependencies]
715
actix-web = "0.6"
816
serde = "1.0.66"

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
extern crate failure;
2-
extern crate howtocards_backend;
2+
extern crate howtocards;
33

44
fn main() -> Result<(), failure::Error> {
5-
howtocards_backend::create_server()?;
5+
howtocards::create_server()?;
66
// .bind("127.0.0.1:9000")
77
// .unwrap()
88
// .run();

0 commit comments

Comments
 (0)