Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request fxbox#95 from ferjm/auth-services
Browse files Browse the repository at this point in the history
/services authentication. r= fabrice
  • Loading branch information
ferjm committed Mar 1, 2016
2 parents c28bb63 + 3af0c63 commit 2841747
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 54 deletions.
74 changes: 36 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ version = "0.1.0"
authors = ["fabrice <[email protected]>"]
build = "build.rs"

[features]
default = ["authentication"]
authentication = []

[dependencies]
clippy = "0.0.44"
docopt = "0.6.78"
docopt_macros = "0.6.80"
env_logger = "0.3.2"
foxbox_users = { git = "https://github.com/fxbox/users.git", rev = "d00552c" }
foxbox_users = { git = "https://github.com/fxbox/users.git", rev = "80bf99f" }
get_if_addrs = "0.3.1"
hyper = "0.7.2"
multicast_dns = { git = "https://github.com/fxbox/multicast-dns.git", rev = "0f211f0" }
Expand All @@ -24,7 +28,7 @@ serde = "0.6.13"
serde_json = "0.6.0"
serde_macros = "0.6.14"
staticfile = "0.1.0"
unicase = "1.2.1"
unicase = "1.3.0"
uuid = "0.1.18"
ws = { git = "https://github.com/housleyjk/ws-rs.git", rev = "d154fc5" }

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ Alternatively you can build the app without running it via:
$ cargo build
```

## Build time options
### Disable authentication
You may want to disable endpoints authentication to ease your development process. You can do that by removing `authentication` from the `default` feature in the `Cargo.toml` file.

```conf
[features]
default = []
authentication = []
```

## Rust tests

Expand Down
Loading

0 comments on commit 2841747

Please sign in to comment.