kanidm/Cargo.toml

235 lines
6.6 KiB
TOML
Raw Normal View History

[profile.release]
debug = true
lto = "thin"
[workspace]
resolver = "2"
members = [
2023-03-01 04:10:52 +01:00
"proto",
"tools/cli",
"tools/iam_migrations/freeipa",
2023-06-13 06:26:50 +02:00
"tools/iam_migrations/ldap",
2023-03-01 04:10:52 +01:00
"tools/orca",
"unix_integration",
"unix_integration/nss_kanidm",
"unix_integration/pam_kanidm",
"server/web_ui",
"server/daemon",
"server/lib",
"server/lib-macros",
"server/core",
"server/testkit",
"server/testkit-macros",
"libs/client",
"libs/crypto",
"libs/file_permissions",
"libs/profiles",
"libs/sketching",
"libs/users",
]
2022-10-01 08:08:51 +02:00
[workspace.package]
version = "1.1.0-rc.14-dev"
2022-10-01 08:08:51 +02:00
authors = [
"William Brown <william@blackhats.net.au>",
"James Hodgkinson <james@terminaloutcomes.com>",
]
2023-02-01 03:50:20 +01:00
rust-version = "1.66"
2022-10-01 08:08:51 +02:00
edition = "2021"
license = "MPL-2.0"
homepage = "https://github.com/kanidm/kanidm/"
repository = "https://github.com/kanidm/kanidm/"
[patch.crates-io]
## As Kanidm maintains a number of libraries, sometimes during development we need to override them
## with local or git versions. This patch table allows quick uncommenting to achieve that.
# compact_jwt = { path = "../compact_jwt" }
# concread = { path = "../concread" }
# idlset = { path = "../idlset" }
# ldap3_client = { path = "../ldap3/client" }
# ldap3_proto = { path = "../ldap3/proto" }
# ldap3_client = { git = "https://github.com/kanidm/ldap3.git" }
# ldap3_proto = { git = "https://github.com/kanidm/ldap3.git" }
# scim_proto = { path = "../scim/proto" }
# scim_proto = { git = "https://github.com/kanidm/scim.git" }
base64urlsafedata = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "429662e34d6e760af8cff68760567c6b56dbb2d5" }
webauthn-authenticator-rs = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "429662e34d6e760af8cff68760567c6b56dbb2d5" }
webauthn-rs = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "429662e34d6e760af8cff68760567c6b56dbb2d5" }
webauthn-rs-core = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "429662e34d6e760af8cff68760567c6b56dbb2d5" }
webauthn-rs-proto = { git = "https://github.com/kanidm/webauthn-rs.git", rev = "429662e34d6e760af8cff68760567c6b56dbb2d5" }
# base64urlsafedata = { path = "../webauthn-rs/base64urlsafedata" }
# webauthn-authenticator-rs = { path = "../webauthn-rs/webauthn-authenticator-rs" }
# webauthn-rs = { path = "../webauthn-rs/webauthn-rs" }
# webauthn-rs-core = { path = "../webauthn-rs/webauthn-rs-core" }
# webauthn-rs-proto = { path = "../webauthn-rs/webauthn-rs-proto" }
2022-09-25 03:21:30 +02:00
[workspace.dependencies]
kanidmd_core = { path = "./server/core" }
kanidmd_lib = { path = "./server/lib" }
kanidmd_lib_macros = { path = "./server/lib-macros" }
kanidmd_testkit = { path = "./server/testkit" }
kanidm_build_profiles = { path = "./libs/profiles", version = "1.1.0-rc.14-dev" }
kanidm_client = { path = "./libs/client", version = "1.1.0-rc.14-dev" }
kanidm_lib_crypto = { path = "./libs/crypto" }
kanidm_lib_file_permissions = { path = "./libs/file_permissions" }
kanidm_proto = { path = "./proto", version = "1.1.0-rc.14-dev" }
kanidm_unix_int = { path = "./unix_integration" }
kanidm_utils_users = { path = "./libs/users" }
serde_with = "3.3.0"
argon2 = { version = "0.5.2", features = ["alloc"] }
async-recursion = "1.0.5"
async-trait = "^0.1.73"
axum = { version = "0.6.20", features = [
"form",
"headers",
"http2",
"http2",
"json",
"macros",
"multipart",
"original-uri",
"query",
"tracing",
] }
Converting from tide to axum (#1797) * Starting to chase down testing * commenting out unused/inactive endpoints, adding more tests * clippyism * making clippy happy v2 * testing when things are not right * moar checkpoint * splitting up testkit things a bit * moving https -> tide * mad lad be crabbin * spawning like a frog * something something different spawning * woot it works ish * more server things * adding version header to requests * adding kopid_middleware * well that was supposed to be an hour... four later * more nonsense * carrying on with the conversion * first pass through the conversion is DONE! * less pub more better * session storage works better, fixed some paths * axum-csp version thing * try a typedheader * better openssl config things * updating lockfile * http2 * actually sending JSON when we say we will! * just about to do something dumb * flargl * more yak shaving * So many clippy-isms, fixing up a query handler bleep bloop * So many clippy-isms, fixing up a query handler bleep bloop * fmt * all tests pass including basic web logins and nav * so much clippyism * stripping out old comments * fmt * commenty things * stripping out tide * updates * de-tiding things * fmt * adding optional header matching ,thanks @cuberoot74088 * oauth2 stuff to match #1807 but in axum * CLIPPY IS FINALLY SATED * moving scim from /v1/scim to /scim * one day clippy will make sense * cleanups * removing sketching middleware * cleanup, strip a broken test endpoint (routemap), more clippy * docs fmt * pulling axum-csp from the wrong cargo.toml * docs fmt * fmt fixes
2023-07-05 14:26:39 +02:00
axum-csp = { version = "0.0.5" }
2022-10-01 08:08:51 +02:00
base32 = "^0.4.0"
base64 = "^0.21.4"
base64urlsafedata = "0.1.3"
bytes = "^1.5.0"
clap = { version = "^4.4.6", features = ["derive", "env"] }
clap_complete = "^4.4.3"
2022-12-21 00:53:57 +01:00
# Forced by saffron/cron
chrono = "^0.4.31"
2023-08-28 04:07:12 +02:00
compact_jwt = { version = "^0.2.10", default-features = false }
concread = "^0.4.3"
2022-12-21 00:53:57 +01:00
cron = "0.12.0"
2022-10-01 08:08:51 +02:00
crossbeam = "0.8.1"
criterion = "^0.5.1"
csv = "1.2.2"
dialoguer = "0.10.4"
dyn-clone = "^1.0.14"
fernet = "^0.2.1"
filetime = "^0.2.22"
fs2 = "^0.4.3"
futures = "^0.3.28"
futures-concurrency = "^3.1.0"
futures-util = { version = "^0.3.21", features = ["sink"] }
2023-09-09 06:34:52 +02:00
gix = { version = "0.53.1", default-features = false }
gloo = "^0.8.1"
hashbrown = { version = "0.14.1", features = ["serde", "inline-more", "ahash"] }
hex = "^0.4.3"
http = "0.2.9"
Converting from tide to axum (#1797) * Starting to chase down testing * commenting out unused/inactive endpoints, adding more tests * clippyism * making clippy happy v2 * testing when things are not right * moar checkpoint * splitting up testkit things a bit * moving https -> tide * mad lad be crabbin * spawning like a frog * something something different spawning * woot it works ish * more server things * adding version header to requests * adding kopid_middleware * well that was supposed to be an hour... four later * more nonsense * carrying on with the conversion * first pass through the conversion is DONE! * less pub more better * session storage works better, fixed some paths * axum-csp version thing * try a typedheader * better openssl config things * updating lockfile * http2 * actually sending JSON when we say we will! * just about to do something dumb * flargl * more yak shaving * So many clippy-isms, fixing up a query handler bleep bloop * So many clippy-isms, fixing up a query handler bleep bloop * fmt * all tests pass including basic web logins and nav * so much clippyism * stripping out old comments * fmt * commenty things * stripping out tide * updates * de-tiding things * fmt * adding optional header matching ,thanks @cuberoot74088 * oauth2 stuff to match #1807 but in axum * CLIPPY IS FINALLY SATED * moving scim from /v1/scim to /scim * one day clippy will make sense * cleanups * removing sketching middleware * cleanup, strip a broken test endpoint (routemap), more clippy * docs fmt * pulling axum-csp from the wrong cargo.toml * docs fmt * fmt fixes
2023-07-05 14:26:39 +02:00
hyper = { version = "0.14.27", features = ["full"] }
hyper-tls = "0.5.0"
2022-10-01 08:08:51 +02:00
idlset = "^0.2.4"
image = { version = "0.24.7", default-features = false, features = [
"gif",
"jpeg",
"webp",
] }
enum-iterator = "1.4.0"
js-sys = "^0.3.63"
2022-10-01 08:08:51 +02:00
# REMOVE this
lazy_static = "^1.4.0"
ldap3_client = "^0.3.5"
ldap3_proto = { version = "^0.3.5", features = ["serde"] }
2022-11-09 22:43:22 +01:00
libc = "^0.2.148"
2022-10-01 08:08:51 +02:00
libnss = "^0.4.0"
libsqlite3-sys = "^0.25.0"
lodepng = "3.7.2"
2022-10-01 08:08:51 +02:00
lru = "^0.8.0"
mathru = "^0.13.0"
notify-debouncer-full = { version = "0.1" }
num_enum = "^0.5.11"
oauth2_ext = { version = "^4.1.0", package = "oauth2", default-features = false }
openssl-sys = "^0.9"
openssl = "^0.10.57"
paste = "^1.0.14"
pkg-config = "^0.3.27"
proc-macro2 = "1.0.67"
2022-10-01 08:08:51 +02:00
qrcode = "^0.12.0"
2022-10-24 01:50:31 +02:00
quote = "1"
2022-10-01 08:08:51 +02:00
rand = "^0.8.5"
regex = "1.9.6"
reqwest = { version = "0.11.20", default-features = false, features = [
"cookies",
"json",
"gzip",
"native-tls",
"native-tls-alpn",
] }
rpassword = "^7.2.0"
rusqlite = { version = "^0.28.0", features = ["array", "bundled"] }
2023-01-25 07:09:54 +01:00
scim_proto = "^0.2.1"
sd-notify = "^0.4.1"
selinux = "^0.4.2"
serde = "^1.0.188"
2022-10-01 08:08:51 +02:00
serde_cbor = { version = "0.12.0-dev", package = "serde_cbor_2" }
serde_json = "^1.0.107"
serde-wasm-bindgen = "0.5"
2022-10-01 08:08:51 +02:00
shellexpand = "^2.1.2"
2023-03-01 04:10:52 +01:00
sketching = { path = "./libs/sketching" }
2022-10-01 08:08:51 +02:00
smartstring = "^1.0.1"
smolset = "^1.3.1"
sshkeys = "^0.3.1"
svg = "0.13.1"
syn = { version = "2.0.32", features = ["full"] }
tempfile = "3.8.0"
2023-03-01 04:10:52 +01:00
testkit-macros = { path = "./server/testkit-macros" }
time = { version = "^0.3.21", features = ["formatting", "local-offset"] }
2022-10-01 08:08:51 +02:00
tikv-jemallocator = "0.5"
tokio = "^1.32.0"
2022-10-01 08:08:51 +02:00
tokio-openssl = "^0.6.3"
tokio-util = "^0.7.9"
2022-10-01 08:08:51 +02:00
toml = "^0.5.11"
tracing = { version = "^0.1.37", features = [
"max_level_trace",
"release_max_level_debug",
] }
# tracing = { version = "^0.1.37" }
tracing-subscriber = { version = "^0.3.17", features = ["env-filter"] }
2023-08-01 07:12:35 +02:00
tracing-forest = "^0.1.6"
2022-10-01 08:08:51 +02:00
tss-esapi = "^7.3.0"
url = "^2.4.1"
urlencoding = "2.1.3"
users = "^0.11.0"
uuid = "^1.4.1"
2022-10-01 08:08:51 +02:00
wasm-bindgen = "^0.2.86"
2022-10-01 08:08:51 +02:00
wasm-bindgen-futures = "^0.4.30"
wasm-bindgen-test = "0.3.35"
2022-09-25 03:21:30 +02:00
webauthn-authenticator-rs = { version = "0.5.0-dev", features = [
"softpasskey",
"softtoken",
"mozilla",
] }
webauthn-rs = { version = "0.5.0-dev", features = ["preview-features"] }
webauthn-rs-core = "0.5.0-dev"
webauthn-rs-proto = "0.5.0-dev"
web-sys = "^0.3.62"
whoami = "^1.4.1"
walkdir = "2"
2022-10-01 08:08:51 +02:00
2023-01-08 03:34:30 +01:00
yew = "^0.20.0"
yew-router = "^0.17.0"
zxcvbn = "^2.2.2"
2022-08-01 07:52:01 +02:00
2023-03-30 03:41:52 +02:00
nonempty = "0.8.1"