2023-02-02 23:38:39 +00:00
|
|
|
[package]
|
|
|
|
name = "trifid-api"
|
2023-12-24 22:35:19 +00:00
|
|
|
version = "0.3.0-alpha1"
|
2023-11-19 03:51:45 +00:00
|
|
|
authors = ["core <core@e3t.cc>"]
|
2023-02-02 23:38:39 +00:00
|
|
|
edition = "2021"
|
2023-11-19 03:51:45 +00:00
|
|
|
description = "An open-source reimplementation of the Defined Networking API server"
|
|
|
|
documentation = "https://trifid.e3t.cc/docs/trifid-api/intro"
|
|
|
|
homepage = "https://trifid.e3t.cc"
|
|
|
|
repository = "https://git.e3t.cc/core/trifid"
|
|
|
|
license = "GPL-3"
|
2023-02-02 23:38:39 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-11-19 03:51:45 +00:00
|
|
|
actix-web = "4"
|
|
|
|
actix-cors = "0.6"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
toml = "0.8"
|
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.10"
|
2023-11-25 20:08:57 +00:00
|
|
|
diesel = { version = "2", features = ["serde_json"] }
|
2023-11-19 03:51:45 +00:00
|
|
|
diesel-async = { version = "0.4", features = ["postgres", "bb8", "async-connection-wrapper"] }
|
|
|
|
diesel_migrations = "2"
|
2023-11-19 15:49:08 +00:00
|
|
|
bb8 = "0.8"
|
2023-11-19 16:31:30 +00:00
|
|
|
rand = "0.8"
|
2023-11-21 16:26:25 +00:00
|
|
|
mail-send = "0.4"
|
2023-12-15 20:16:59 +00:00
|
|
|
totp-rs = { version = "5.4", features = ["gen_secret", "otpauth"] }
|
|
|
|
trifid-pki = { version = "0.1", path = "../trifid-pki", features = ["serde_derive"] }
|
|
|
|
chacha20poly1305 = "0.10"
|
|
|
|
hex = "0.4"
|
2023-12-17 02:14:12 +00:00
|
|
|
thiserror = "1"
|
2023-12-25 23:45:02 +00:00
|
|
|
chrono = "0.4"
|
2023-12-26 04:23:57 +00:00
|
|
|
dnapi-rs = { version = "0.2", path = "../dnapi-rs" }
|
|
|
|
nebula-config = { version = "0.1", path = "../nebula-config" }
|
2023-12-27 03:06:48 +00:00
|
|
|
ipnet = "2.9"
|
|
|
|
serde_yaml = "0.9"
|