Преглед на файлове

Complete Cargo metadata and updates to README.

Jing Yang преди 4 години
родител
ревизия
4263354adc
променени са 2 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 3 0
      Cargo.toml
  2. 2 2
      README.md

+ 3 - 0
Cargo.toml

@@ -6,6 +6,9 @@ authors = ["Jing Yang <ditsing@gmail.com>"]
 edition = "2018"
 edition = "2018"
 license = "MIT"
 license = "MIT"
 keywords = ["raft", "consensus-protocol"]
 keywords = ["raft", "consensus-protocol"]
+readme = "README.md"
+repository = "https://github.com/ditsing/ruaft"
+homepage = "https://github.com/ditsing/ruaft"
 
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 

+ 2 - 2
README.md

@@ -16,12 +16,12 @@ The implementation is thoroughly tested. I copied (and translated) the tests fro
 indexed by a search engine, I will not name the source. The testing framework from the same source is also translated
 indexed by a search engine, I will not name the source. The testing framework from the same source is also translated
 from the original Go version. The code can be found at the [`labrpc`](https://github.com/ditsing/labrpc) repo.
 from the original Go version. The code can be found at the [`labrpc`](https://github.com/ditsing/labrpc) repo.
 
 
-## Application: KV Server
+## KV Server
 To test the snapshot functionality, I wrote a KV server that supports `get()`, `put()` and `append()`. The complexity
 To test the snapshot functionality, I wrote a KV server that supports `get()`, `put()` and `append()`. The complexity
 of the KV server is so high that it has its own set of tests. Integration tests in `tests/snapshot_tests.rs` are all
 of the KV server is so high that it has its own set of tests. Integration tests in `tests/snapshot_tests.rs` are all
 based on the KV server. The KV server is inspired by the equivalent Go version.
 based on the KV server. The KV server is inspired by the equivalent Go version.
 
 
-## Threads
+## Daemons
 Ruaft uses both threads and async thread pools. There are 4 'daemon threads':
 Ruaft uses both threads and async thread pools. There are 4 'daemon threads':
 
 
 1. Election timer: watches the election timer, starts and cancels elections. Correctly implementing a versioned timer
 1. Election timer: watches the election timer, starts and cancels elections. Correctly implementing a versioned timer