splinter 0.5.24

Splinter is a privacy-focused platform for distributed applications that provides a blockchain-inspired networking environment for communication and transactions between organizations.
Documentation
# Copyright 2018-2021 Cargill Incorporated
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

[package]
name = "splinter"
version = "0.5.24"
authors = ["Cargill Incorporated"]
edition = "2018"
license = "Apache-2.0"
readme = "../README.md"
description = """\
    Splinter is a privacy-focused platform for distributed applications that \
    provides a blockchain-inspired networking environment for communication \
    and transactions between organizations.
"""
repository = "https://github.com/cargill/splinter"

[dependencies]
actix = { version = "0.8", optional = true, default-features = false }
actix-0-10 = { package = "actix", version = "0.10", optional = true, default-features = false }
actix-http = { version = "0.2", optional = true, features = ["flate2-zlib"] }
actix-service-1-0 = { package = "actix-service", version = "1.0", optional = true }
actix-web = { version = "1.0", optional = true, default-features = false, features = ["flate2-zlib"] }
actix-web-actors = { version = "1.0", optional = true }
actix-web-3 = { package = "actix-web", version = "3", optional = true, features = ["openssl"] }
atomicwrites = "0.2"
awc = { version = "0.2", optional = true }
base64 = { version = "0.12", optional = true }
bcrypt = {version = "0.10", optional = true}
byteorder = "1"
chrono = {version = "0.4", optional = true}
crossbeam-channel = "0.3"
cylinder = "0.2.1"
diesel = { version = "1.0", features = ["r2d2", "serde_json"], optional = true }
diesel_migrations = { version = "1.4", optional = true }
futures = { version = "0.1", optional = true }
futures-0-3 = { package = "futures", version = "0.3", optional = true }
glob = { version = "0.3", optional = true }
hyper = { version = "0.12", optional = true }
jsonwebtoken = { version = "6.0", optional = true }
influxdb = { version = "0.4.0", features = ["derive"], optional = true }
log = "0.3.0"
metrics = {version = "0.17", features = ["std"], optional = true}
mio = { version = "0.6", default-features = false }
mio-extras = "2"
oauth2 = { version = "3.0", optional = true }
openssl = "0.10"
percent-encoding = { version = "2.0", optional = true }
protobuf = "2.23"
rand = "0.7"
reqwest = { version = "0.10", optional = true, features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
serde_yaml = "0.8"
tokio = { version = "0.1.22", optional = true }
tokio-0-2 = { package = "tokio", version = "0.2", optional = true }
tungstenite = { version = "0.10", optional = true }
url = "1.7.1"
uuid = { version = "0.8", features = ["v4", "v5"] }

[dev-dependencies]
reqwest = { version = "0.10", features = ["blocking", "json"] }
serial_test = "0.3"
tempdir = "0.3"

[build-dependencies]
protoc-rust = "2.14"
glob = "0.2"

[features]
default = []

stable = [
    "admin-service",
    "authorization",
    "authorization-handler-allow-keys",
    "authorization-handler-rbac",
    "biome",
    "biome-credentials",
    "biome-key-management",
    "biome-profile",
    "circuit-template",
    "challenge-authorization",
    "cylinder-jwt",
    "default",
    "events",
    "memory",
    "node-id-store",
    "oauth",
    "postgres",
    "registry",
    "registry-remote",
    "rest-api",
    "rest-api-actix",
    "rest-api-cors",
    "sqlite",
    "store-factory",
    "tap",
    "trust-authorization",
]

experimental = [
    # The experimental feature extends stable:
    "stable",
    # The following features are experimental:
    "admin-service-client",
    "admin-service-event-client",
    "admin-service-event-client-actix-web-client",
    "admin-service-event-subscriber-glob",
    "authorization-handler-maintenance",
    "biome-client",
    "biome-client-reqwest",
    "biome-notifications",
    "client-reqwest",
    "https-bind",
    "registry-client",
    "registry-client-reqwest",
    "rest-api-actix-web-3",
    "service-network",
    "ws-transport",
]

# used for turning benchmark tests on
benchmark = []

admin-service = []
admin-service-client = ["admin-service"]
admin-service-event-client = ["admin-service-client" ]
admin-service-event-client-actix-web-client = [
    "admin-service-event-client",
    "events"
]
admin-service-event-subscriber-glob = ["admin-service"]
authorization-handler-allow-keys = ["authorization"]
authorization-handler-maintenance = ["authorization"]
authorization = ["rest-api"]
authorization-handler-rbac = ["authorization"]
biome = []
biome-client = ["biome"]
biome-client-reqwest = ["biome", "reqwest"]
biome-credentials = ["bcrypt", "biome"]
biome-key-management = ["biome"]
biome-notifications = ["biome"]
biome-profile = ["biome"]
challenge-authorization = []
circuit-template = ["admin-service", "glob"]
client-reqwest = ["reqwest"]
cylinder-jwt = ["cylinder/jwt", "rest-api"]
events = ["actix-http", "futures", "hyper", "tokio", "awc"]
https-bind = ["actix-web/ssl"]
memory = ["sqlite"]
node-id-store = []
oauth = ["biome", "base64", "oauth2", "reqwest", "rest-api"]
postgres = ["diesel/postgres", "diesel_migrations"]
registry = []
registry-client = ["registry"]
registry-client-reqwest = ["registry-client", "reqwest"]
registry-remote = ["reqwest", "registry"]
rest-api = [
    "actix",
    "actix-http",
    "actix-web",
    "actix-web-actors",
    "futures",
    "jsonwebtoken",
    "percent-encoding",
]
rest-api-actix = ["actix", "actix-http", "actix-web", "actix-web-actors"]
rest-api-actix-web-3 = ["actix-web-3", "futures-0-3", "actix-0-10", "actix-service-1-0", "https-bind"]
rest-api-cors = []
service-network = []
sqlite = ["diesel/sqlite", "diesel_migrations"]
store-factory = []
tap = ["chrono", "futures-0-3", "influxdb", "metrics", "tokio-0-2"]
trust-authorization = []
ws-transport = ["tungstenite"]

[package.metadata.docs.rs]
features = [
    "stable",
    "experimental"
  ]