bluetech / pcsc-rust

Rust bindings to PC/SC for smart card communication
https://docs.rs/pcsc
MIT License
112 stars 24 forks source link

Don't force the native macOS framework #52

Closed ForsakenHarmony closed 1 month ago

ForsakenHarmony commented 2 months ago

Please provide a way to override which dynlib / framework pcsc-sys links to.

I'm trying to work with desfire cards and the native frameworks seems to still have an issue that makes it impossible which was fixed in 2010 in pcsc-lite: https://github.com/LudovicRousseau/PCSC/blob/d688f7ed515f62d0edaffd1b3cc9cdbe459ddae5/ChangeLog#L739C1-L741C11

bluetech commented 2 months ago

Does non-builtin pcsc-lite actually work on macOS? It doesn't conflict with the built-in framework/daemon?

ForsakenHarmony commented 1 week ago

you can kill the built-in daemon and run your own