Closed yatesco closed 1 year ago
I ran into the same issue.
https://github.com/prisma/tiberius/blob/main/src/client/auth.rs#L61 https://github.com/prisma/tiberius/blob/main/Cargo.toml#L56
Looks like winauth
feature is needed in windows.
Here's how I fixed it based on this:
[target.'cfg(unix)'.dependencies]
tiberius = { version = "0.12", default-features = false, features = ["tds73", "sql-browser-tokio", "integrated-auth-gssapi", "time"] }
[target.'cfg(windows)'.dependencies]
tiberius = { version = "0.12", default-features = false, features = ["tds73", "sql-browser-tokio", "winauth", "time"] }
(closing thanks to @willbush's comment https://github.com/prisma/tiberius/issues/293#issuecomment-1585196262)
Hi there. I'm using Tiberius:
to cross compile from macOS to Windows:
and getting the following error:
I'm not really clear on why
Integrated
cannot be used on Windows (particularly as this is exactly the use case I'm trying to implement!), so I thought I'd stop and ask for help :-).